#7221 Replica installation at domain-level 0 fails against upgraded ipa-server
Closed: fixed 6 years ago Opened 6 years ago by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1500218

Description of problem:
Replica installation at domain-level 0 fails against upgraded ipa-server from
RHEL 70 to RHEL 7.4 update2

Version-Release number of selected component (if applicable):
ipa-server-4.5.0-21.el7_4.2.2.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Setup IPA server at RHEL 70
2. Upgrade this IPA master linearly to RHEL 7.4update2
( In my case upgrade path is: RHEL70 > RHEL71z > RHEL72z > RHEl73z >
RHEL74-0day > Rhel74up1 > RhEl74up2)
3. Configure new Replica against this upgraded server at domain-level 0.

Actual results:
After step3, Replica installation fails and keeps prompting for admin password

Run connection check to master
admin@TESTRELM.TEST@<master>.testrelm.test's password:



# ipa-replica-install.log
2017-10-10T08:01:57Z DEBUG Process finished, return code=2
2017-10-10T08:01:57Z DEBUG   File
"/usr/lib/python2.7/site-packages/ipapython/admintool.py", line 172, in execute
    return_value = self.run()
  File "/usr/lib/python2.7/site-packages/ipapython/install/cli.py", line 333,
in run
    cfgr.run()
  File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 366,
in run
    self.validate()
  File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 375,
in validate
    for _nothing in self._validator():
  File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 434,
in __runner
    exc_handler(exc_info)
  File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 458,
in _handle_validate_exception
    self._handle_exception(exc_info)
  File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 453,
in _handle_exception
    six.reraise(*exc_info)
  File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 424,
in __runner
    step()
  File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 421,
in <lambda>
    step = lambda: next(self.__gen)
  File "/usr/lib/python2.7/site-packages/ipapython/install/util.py", line 81,
in run_generator_with_yield_from
    six.reraise(*exc_info)
  File "/usr/lib/python2.7/site-packages/ipapython/install/util.py", line 59,
in run_generator_with_yield_from
    value = gen.send(prev_value)
  File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 636,
in _configure
    next(validator)
  File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 434,
in __runner
    exc_handler(exc_info)
  File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 458,
in _handle_validate_exception
    self._handle_exception(exc_info)
  File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 521,
in _handle_exception
    self.__parent._handle_exception(exc_info)
  File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 453,
in _handle_exception
    six.reraise(*exc_info)
  File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 518,
in _handle_exception
    super(ComponentBase, self)._handle_exception(exc_info)
  File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 453,
in _handle_exception
    six.reraise(*exc_info)
  File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 424,
in __runner
    step()
  File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 421,
in <lambda>
    step = lambda: next(self.__gen)
  File "/usr/lib/python2.7/site-packages/ipapython/install/util.py", line 81,
in run_generator_with_yield_from
    six.reraise(*exc_info)
  File "/usr/lib/python2.7/site-packages/ipapython/install/util.py", line 59,
in run_generator_with_yield_from
    value = gen.send(prev_value)
  File "/usr/lib/python2.7/site-packages/ipapython/install/common.py", line 63,
in _install
    for _nothing in self._installer(self.parent):
  File "/usr/lib/python2.7/site-packages/ipaserver/install/server/__init__.py",
line 615, in main
    replica_install_check(self)
  File
"/usr/lib/python2.7/site-packages/ipaserver/install/server/replicainstall.py",
line 391, in decorated
    raise ScriptError()

2017-10-10T08:01:57Z DEBUG The ipa-replica-install command failed, exception:
ScriptError:
2017-10-10T08:01:57Z ERROR The ipa-replica-install command failed. See
/var/log/ipareplica-install.log for more information


Workaround:
When the same ipa-master is set to domain-level 1 and then the same replica
replica failing in above step3 is configured, then replica-installation is
successful.


Expected results:
Installation of new replica at domain-level 0 should be successful

Additional info:
The installation of new replica is successful when ipa-server is installed at
RHEL 7.4up2 with domain-level 0.

Metadata Update from @pvoborni:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1500218

6 years ago

Metadata Update from @frenaud:
- Issue assigned to frenaud

6 years ago

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/1195

6 years ago

master:

  • 7b149b3 Fix ipa-replica-conncheck when called with --principal

ipa-4-6:

  • cd09db2 Fix ipa-replica-conncheck when called with --principal

ipa-4-5:

  • 1c0c74d Fix ipa-replica-conncheck when called with --principal

Metadata Update from @tkrizek:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata