Red Hat Bugzilla – Bug 1445432
uninstall ipa client automount failed with RuntimeWarning
Last modified: 2017-08-01 05:50:15 EDT
Cloned from upstream: https://pagure.io/freeipa/issue/6861 When trying to uninstall automount client setting on the ipa-client its failing with RuntimeWarning. :: [ BEGIN ] :: uninstall ipa client automount :: actually running 'ipa-client-automount --uninstall -U' /usr/lib/python2.7/site-packages/ipaplatform/base/services.py:195: RuntimeWarning: RedHatService('sssd', api=None) is deprecated. super(SystemdService, self).__init__(service_name, api=api) Restoring configuration Unable to restore SSSD configuration: 'Env' object has no attribute 'realm' :: [ PASS ] :: uninstall ipa client automount (Expected 0, got 0) :: [ BEGIN ] :: Restarting automount to fetch updated configuration :: actually running 'service autofs restart' Redirecting to /bin/systemctl restart autofs.service :: [ PASS ] :: Restarting automount to fetch updated configuration (Expected 0, got 0) :: [ BEGIN ] :: Removed automount key :: actually running 'ipa automountkey-del direct_map_21468 auto.direct --key=/direct_map_21468/' ipa: ERROR: Major (851968): Unspecified GSS failure. Minor code may provide more information, Minor (39756044): Credential cache is empty :: [ FAIL ] :: Removed automount key (Expected 0, got 1) :: [ BEGIN ] :: Removed automount location :: actually running 'ipa automountlocation-del direct_map_21468' ipa: ERROR: Major (851968): Unspecified GSS failure. Minor code may provide more information, Minor (39756044): Credential cache is empty :: [ FAIL ] :: Removed automount location (Expected 0, got 1) 'c91287af-23c1-43d2-bcf3-efc151d69096' autofs-functional-test-offline-direct-map result: FAIL
Upstream ticket: https://pagure.io/freeipa/issue/6861
Fixed upstream master: https://pagure.io/freeipa/c/b4e447fa6fc7d659ae6a3b6285d4ddda0baa0be4 ipa-4-5: https://pagure.io/freeipa/c/ff513d6b20ee0a2ca90b06b8c114386f1e5751d9
:: [ BEGIN ] :: uninstall ipa client automount :: actually running 'ipa-client-automount --uninstall -U' Restoring configuration :: [ PASS ] :: uninstall ipa client automount (Expected 0, got 0) :: [ BEGIN ] :: Restarting automount to fetch updated configuration :: actually running 'service autofs restart' Redirecting to /bin/systemctl restart autofs.service :: [ PASS ] :: Restarting automount to fetch updated configuration (Expected 0, got 0) :: [ BEGIN ] :: Removed automount key :: actually running 'ipa automountkey-del direct_map_30267 auto.direct --key=/direct_map_30267/' ------------------------------------------ Deleted automount key "/direct_map_30267/" ------------------------------------------ :: [ PASS ] :: Removed automount key (Expected 0, got 0) :: [ BEGIN ] :: Removed automount location :: actually running 'ipa automountlocation-del direct_map_30267' --------------------------------------------- Deleted automount location "direct_map_30267" --------------------------------------------- :: [ PASS ] :: Removed automount location (Expected 0, got 0)
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/RHBA-2017:2304