Description of problem: Warning message is displayed while updating ipa-client package during ipa-upgrade process.
Version-Release number of selected component (if applicable): ipa-server-4.4.90-201703020903.el7.x86_64 (copr build)
How reproducible: This happened while upgrading IPA server.
Steps to Reproduce:
Actual results: After step3, following warning message is displayed:
Installing : ipa-client-4.4.90-201703020903.el7.x86_64 43/90 warning: %post(ipa-client-4.4.90-201703020903.el7.x86_64) scriptlet failed, exit status 1 Non-fatal POSTIN scriptlet failure in rpm package ipa-client-4.4.90-201703020903.el7.x86_64 Updating : ipa-server-dns-4.4.90-201703020903.el7.noarch 44/90
Expected results: No warning/ errors message should be observed during upgrade process.
Additional info:
Is there any error message in /var/log/ipaupgrade.log?
/var/log/ipaupgrade.log
The following bit was changed in the %post client part of spec file:
%post client
- python2 -c 'from ipapython.certdb import update_ipa_nssdb; update_ipa_nssdb()' >/var/log/ipaupgrade.log 2>&1 + python2 -c 'from ipaclient.install.client import update_ipa_nssdb; update_ipa_nssdb()' >/var/log/ipaupgrade.log 2>&1
This was a temporary issue with the nightly copr build caused by the spec file that hasn't been up to date. It executed a piece of python code that attempted to import update_ipa_nssdb from ipapython.certdb, which has already been moved to ipaclient.install.client, so it failed.
update_ipa_nssdb
ipapython.certdb
ipaclient.install.client
This doesn't affect current nightly copr build and the issue can't be reproduced with ipa-client-4.5.90-201703162305.el7.x86_64.
Metadata Update from @tkrizek: - Issue close_status updated to: worksforme - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.