#6729 Warning message is displayed while updating ipa-client package during ipa-upgrade process.
Closed: worksforme 7 years ago Opened 7 years ago by ndehadrai.

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:

  1. Upgrade IPA server configurred on RHEL 7.3.z ito RHEL 7.4 (copr build)
    ipa-server-4.4.90-201703020903.el7.x86_64. ( #yum -y update 'ipa*' sssd).
  2. Upgrade process completes.
  3. Notice console output for the upgrade process.

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:

  1. IPA-upgrade process completes successfully.
  2. Similar behavior is observed during upgrade from RHEL 7.3 to RHEL 7.4 (copr build)

Is there any error message in /var/log/ipaupgrade.log?

The following bit was changed in the %post client part of spec file:

-        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.

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)

7 years ago

Login to comment on this ticket.

Metadata