2019-07-20T03:31:58Z DEBUG Logging to /var/log/ipaclient-uninstall.log 2019-07-20T03:31:58Z DEBUG ipa-client-install was invoked with arguments [] and options: {'no_dns_sshfp': False, 'force': False, 'verbose': False, 'ip_addresses': None, 'configure_firefox': False, 'realm_name': None, 'force_ntpd': False, 'on_master': True, 'no_nisdomain': False, 'ssh_trust_dns': False, 'principal': None, 'keytab': None, 'no_ntp': False, 'domain_name': None, 'request_cert': False, 'fixed_primary': False, 'no_ac': False, 'no_sudo': False, 'ca_cert_files': None, 'all_ip_addresses': False, 'kinit_attempts': None, 'ntp_servers': None, 'enable_dns_updates': False, 'no_sshd': False, 'no_sssd': False, 'no_krb5_offline_passwords': False, 'servers': None, 'no_ssh': False, 'force_join': False, 'firefox_dir': None, 'unattended': True, 'quiet': False, 'nisdomain': None, 'prompt_password': False, 'host_name': None, 'permit': False, 'automount_location': None, 'preserve_sssd': False, 'mkhomedir': False, 'log_file': None, 'uninstall': True} 2019-07-20T03:31:58Z DEBUG IPA version 4.6.4-10.3.49 2019-07-20T03:31:58Z DEBUG Loading Index file from '/var/lib/ipa-client/sysrestore/sysrestore.index' 2019-07-20T03:31:58Z DEBUG Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index' 2019-07-20T03:31:58Z DEBUG Loading Index file from '/var/lib/ipa-client/sysrestore/sysrestore.index' 2019-07-20T03:31:58Z DEBUG Loading StateFile from '/var/lib/ipa-client/sysrestore/sysrestore.state' 2019-07-20T03:31:58Z DEBUG Starting external process 2019-07-20T03:31:58Z DEBUG args=ipa-client-automount --uninstall --debug 2019-07-20T03:32:00Z DEBUG Process finished, return code=1 2019-07-20T03:32:00Z DEBUG stdout= 2019-07-20T03:32:00Z DEBUG stderr=IPA client is not configured on this system 2019-07-20T03:32:00Z ERROR Unconfigured automount client failed: Command 'ipa-client-automount --uninstall --debug' returned non-zero exit status 1 2019-07-20T03:32:00Z DEBUG Loading Index file from '/var/lib/ipa-client/sysrestore/sysrestore.index' 2019-07-20T03:32:00Z DEBUG Loading StateFile from '/var/lib/ipa-client/sysrestore/sysrestore.state' 2019-07-20T03:32:00Z DEBUG Starting external process 2019-07-20T03:32:00Z DEBUG args=/usr/bin/certutil -d dbm:/etc/ipa/nssdb -L -n Local IPA host -a -f /etc/ipa/nssdb/pwdfile.txt 2019-07-20T03:32:00Z DEBUG Process finished, return code=255 2019-07-20T03:32:00Z DEBUG stdout= 2019-07-20T03:32:00Z DEBUG stderr=certutil: function failed: SEC_ERROR_LEGACY_DATABASE: The certificate/key database is in an old, unsupported format. 2019-07-20T03:32:00Z DEBUG Starting external process 2019-07-20T03:32:00Z DEBUG args=/usr/bin/certutil -d dbm:/etc/pki/nssdb -L -n IPA Machine Certificate - rosa-ipa3.ipa.loc -a -f /etc/pki/nssdb/pwdfile.txt 2019-07-20T03:32:00Z DEBUG Process finished, return code=255 2019-07-20T03:32:00Z DEBUG stdout= 2019-07-20T03:32:00Z DEBUG stderr=certutil: Could not find cert: IPA Machine Certificate - rosa-ipa3.ipa.loc : PR_FILE_NOT_FOUND_ERROR: File not found 2019-07-20T03:32:00Z DEBUG Starting external process 2019-07-20T03:32:00Z DEBUG args=/bin/systemctl stop certmonger.service 2019-07-20T03:32:00Z DEBUG Process finished, return code=0 2019-07-20T03:32:00Z DEBUG stdout= 2019-07-20T03:32:00Z DEBUG stderr= 2019-07-20T03:32:00Z DEBUG Stop of certmonger.service complete 2019-07-20T03:32:00Z DEBUG Starting external process 2019-07-20T03:32:00Z DEBUG args=/bin/systemctl disable certmonger.service 2019-07-20T03:32:00Z DEBUG Process finished, return code=0 2019-07-20T03:32:00Z DEBUG stdout= 2019-07-20T03:32:00Z DEBUG stderr=Removed /etc/systemd/system/multi-user.target.wants/certmonger.service. 2019-07-20T03:32:00Z INFO Removing Kerberos service principals from /etc/krb5.keytab 2019-07-20T03:32:00Z DEBUG Starting external process 2019-07-20T03:32:00Z DEBUG args=/usr/sbin/ipa-rmkeytab -k /etc/krb5.keytab -r IPA.LOC 2019-07-20T03:32:00Z DEBUG Process finished, return code=0 2019-07-20T03:32:00Z DEBUG stdout= 2019-07-20T03:32:00Z DEBUG stderr=Removing principal host/rosa-ipa3.ipa.loc@IPA.LOC 2019-07-20T03:32:00Z INFO Disabling client Kerberos and LDAP configurations 2019-07-20T03:32:00Z DEBUG Starting external process 2019-07-20T03:32:00Z DEBUG args=/usr/sbin/authconfig --disablekrb5 --disablesssdauth --disablemkhomedir --update --disableldap 2019-07-20T03:32:00Z DEBUG Process execution failed 2019-07-20T03:32:00Z DEBUG File "/usr/lib/python2.7/site-packages/ipapython/admintool.py", line 178, in execute return_value = self.run() File "/usr/lib/python2.7/site-packages/ipapython/install/cli.py", line 319, in run return cfgr.run() File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 364, in run return self.execute() File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 389, in execute for rval in self._executor(): 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 463, in _handle_execute_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 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 658, in _configure next(executor) 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 463, in _handle_execute_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 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 73, in _uninstall for unused in self._uninstaller(self.parent): File "/usr/lib/python2.7/site-packages/ipaclient/install/client.py", line 3639, in main uninstall(self) File "/usr/lib/python2.7/site-packages/ipaclient/install/client.py", line 3144, in uninstall rval=CLIENT_INSTALL_ERROR) 2019-07-20T03:32:00Z DEBUG The ipa-client-install command failed, exception: ScriptError: Failed to remove krb5/LDAP configuration: [Errno 2] No such file or directory 2019-07-20T03:32:00Z ERROR Failed to remove krb5/LDAP configuration: [Errno 2] No such file or directory 2019-07-20T03:32:00Z ERROR The ipa-client-install command failed. See /var/log/ipaclient-uninstall.log for more information