Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionNikhil Dehadrai
2019-07-11 10:49:32 UTC
Description of problem:
IPA upgrade fails for latest ipa package when setup in multi master mode
Version-Release number of selected component (if applicable):
389-ds-base-1.4.1.3-2.module+el8.1.0+3395+60a28832.x86_64
ipa-server-4.7.90.pre1-3.module+el8.1.0+3389+a3c612fa.x86_64
How reproducible:
Always
Steps to Reproduce:
1. Setup IPA Master and IPa -replica at RHEL 80 (in my case ipa-server-4.7.1-11.module+el8+2842+7481110c.x86_64)
2. Setup repo for RHEL 81beta to IPA-Master
3. Upgrade the IPA-Master using command
# yum -y update or
# dnf -y update
Actual results:
Ipa-server upgrade FAILs
2019-07-11T10:43:26Z ERROR IPA server upgrade failed: Inspect /var/log/ipaupgrade.log and run command ipa-server-upgrade manually.
2019-07-11T10:43:26Z DEBUG File "/usr/lib/python3.6/site-packages/ipapython/admintool.py", line 179, in execute
return_value = self.run()
File "/usr/lib/python3.6/site-packages/ipaserver/install/ipa_server_upgrade.py", line 54, in run
server.upgrade()
File "/usr/lib/python3.6/site-packages/ipaserver/install/server/upgrade.py", line 2212, in upgrade
data_upgrade.create_instance()
File "/usr/lib/python3.6/site-packages/ipaserver/install/upgradeinstance.py", line 133, in create_instance
runtime=90)
File "/usr/lib/python3.6/site-packages/ipaserver/install/service.py", line 603, in start_creation
run_step(full_msg, method)
File "/usr/lib/python3.6/site-packages/ipaserver/install/service.py", line 589, in run_step
method()
File "/usr/lib/python3.6/site-packages/ipaserver/install/upgradeinstance.py", line 103, in __start
srv.start(self.serverid, ldapi=True)
File "/usr/lib/python3.6/site-packages/ipaplatform/redhat/services.py", line 137, in start
instance_name, capture_output=capture_output, wait=wait)
File "/usr/lib/python3.6/site-packages/ipaplatform/base/services.py", line 307, in start
skip_output=not capture_output)
File "/usr/lib/python3.6/site-packages/ipapython/ipautil.py", line 580, in run
p.returncode, arg_string, output_log, error_log
2019-07-11T10:43:26Z DEBUG The ipa-server-upgrade command failed, exception: CalledProcessError: CalledProcessError(Command ['/bin/systemctl', 'start', 'dirsrv'] returned non-zero exit status 1: 'Job for dirsrv failed because the control process exited with error code.\nSee "systemctl status dirsrv" and "journalctl -xe" for details.\n')
2019-07-11T10:43:26Z ERROR Unexpected error - see /var/log/ipaupgrade.log for details:
CalledProcessError: CalledProcessError(Command ['/bin/systemctl', 'start', 'dirsrv'] returned non-zero exit status 1: 'Job for dirsrv failed because the control process exited with error code.\nSee "systemctl status dirsrv" and "journalctl -xe" for details.\n')
2019-07-11T10:43:26Z ERROR The ipa-server-upgrade command failed. See /var/log/ipaupgrade.log for more information
Expected results:
IPA server upgrade should be successful
Additional info:
When the same command is run only on single master (IPA-Master), the server upgrade is successful
Build tested: 389-ds-base-1.4.1.3-5.module+el8.1.0+3776+ece1ae4c.x86_64
I can confirm that dirsrv schema contains '*-oid' strings instead of numeric oids.
Nikhil, can you confirm that ipa upgrade tests work for you now?
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2019:3401
Description of problem: IPA upgrade fails for latest ipa package when setup in multi master mode Version-Release number of selected component (if applicable): 389-ds-base-1.4.1.3-2.module+el8.1.0+3395+60a28832.x86_64 ipa-server-4.7.90.pre1-3.module+el8.1.0+3389+a3c612fa.x86_64 How reproducible: Always Steps to Reproduce: 1. Setup IPA Master and IPa -replica at RHEL 80 (in my case ipa-server-4.7.1-11.module+el8+2842+7481110c.x86_64) 2. Setup repo for RHEL 81beta to IPA-Master 3. Upgrade the IPA-Master using command # yum -y update or # dnf -y update Actual results: Ipa-server upgrade FAILs 2019-07-11T10:43:26Z ERROR IPA server upgrade failed: Inspect /var/log/ipaupgrade.log and run command ipa-server-upgrade manually. 2019-07-11T10:43:26Z DEBUG File "/usr/lib/python3.6/site-packages/ipapython/admintool.py", line 179, in execute return_value = self.run() File "/usr/lib/python3.6/site-packages/ipaserver/install/ipa_server_upgrade.py", line 54, in run server.upgrade() File "/usr/lib/python3.6/site-packages/ipaserver/install/server/upgrade.py", line 2212, in upgrade data_upgrade.create_instance() File "/usr/lib/python3.6/site-packages/ipaserver/install/upgradeinstance.py", line 133, in create_instance runtime=90) File "/usr/lib/python3.6/site-packages/ipaserver/install/service.py", line 603, in start_creation run_step(full_msg, method) File "/usr/lib/python3.6/site-packages/ipaserver/install/service.py", line 589, in run_step method() File "/usr/lib/python3.6/site-packages/ipaserver/install/upgradeinstance.py", line 103, in __start srv.start(self.serverid, ldapi=True) File "/usr/lib/python3.6/site-packages/ipaplatform/redhat/services.py", line 137, in start instance_name, capture_output=capture_output, wait=wait) File "/usr/lib/python3.6/site-packages/ipaplatform/base/services.py", line 307, in start skip_output=not capture_output) File "/usr/lib/python3.6/site-packages/ipapython/ipautil.py", line 580, in run p.returncode, arg_string, output_log, error_log 2019-07-11T10:43:26Z DEBUG The ipa-server-upgrade command failed, exception: CalledProcessError: CalledProcessError(Command ['/bin/systemctl', 'start', 'dirsrv'] returned non-zero exit status 1: 'Job for dirsrv failed because the control process exited with error code.\nSee "systemctl status dirsrv" and "journalctl -xe" for details.\n') 2019-07-11T10:43:26Z ERROR Unexpected error - see /var/log/ipaupgrade.log for details: CalledProcessError: CalledProcessError(Command ['/bin/systemctl', 'start', 'dirsrv'] returned non-zero exit status 1: 'Job for dirsrv failed because the control process exited with error code.\nSee "systemctl status dirsrv" and "journalctl -xe" for details.\n') 2019-07-11T10:43:26Z ERROR The ipa-server-upgrade command failed. See /var/log/ipaupgrade.log for more information Expected results: IPA server upgrade should be successful Additional info: When the same command is run only on single master (IPA-Master), the server upgrade is successful