ipa-server-install --uninstall failing
ipa-server-install --uninstall
The actual failure is when pkidestroy for KRA is run
/usr/sbin/pkidestroy -i pki-tomcat -s KRA
INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'server-del', 'replica1.ipa.test', '--force', '--ignore-topology-disconnect', '--ignore-last-of-role'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd120:transport.py:513 RUN ['ipa', 'server-del', 'replica1.ipa.test', '--force', '--ignore-topology-disconnect', '--ignore-last-of-role'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd120:transport.py:557 ipa: WARNING: Forcing removal of replica1.ipa.test DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd120:transport.py:557 ipa: WARNING: Ignoring topology connectivity errors. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd120:transport.py:557 ipa: WARNING: Ignoring these warnings and proceeding with removal DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd120:transport.py:557 Removing replica1.ipa.test from replication topology, please wait... DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd120:transport.py:557 -------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd120:transport.py:557 Deleted IPA server "replica1.ipa.test" DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd120:transport.py:557 -------------------------------------- DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd120:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.replica1.IPAOpenSSHTransport:transport.py:391 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd129:transport.py:513 RUN ['kinit', 'admin'] DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd129:transport.py:557 Password for admin@IPA.TEST: DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd129:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.replica1.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'domainlevel-get'] DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd130:transport.py:513 RUN ['ipa', 'domainlevel-get'] DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd130:transport.py:557 ipa: ERROR: Service 'HTTP@replica1.ipa.test' not found in Kerberos database DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd130:transport.py:217 Exit code: 1 INFO ipatests.pytest_ipa.integration.host.Host.replica1.IPAOpenSSHTransport:transport.py:391 RUN ['ipa-server-install', '--uninstall', '-U', '--ignore-topology-disconnect', '--ignore-last-of-role'] DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd131:transport.py:513 RUN ['ipa-server-install', '--uninstall', '-U', '--ignore-topology-disconnect', '--ignore-last-of-role'] DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd131:transport.py:557 Re-starting IPA failed, continuing uninstall DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd131:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd131:transport.py:557 WARNING: Failed to connect to Directory Server to find information about DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd131:transport.py:557 replication agreements. Uninstallation will continue despite the possible DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd131:transport.py:557 existing replication agreements. DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd131:transport.py:557 DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd131:transport.py:557 If this server is the last instance of CA, DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd131:transport.py:557 KRA, or DNSSEC master, uninstallation may result in data loss. DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd131:transport.py:557 Unconfiguring KRA DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd131:transport.py:557 failed to uninstall KRA instance CalledProcessError(Command ['/usr/sbin/pkidestroy', '-i', 'pki-tomcat', '-s', 'KRA'] returned non-zero exit status 1: 'WARNING: Unable to get CA list from security domain: 500 Server Error: 500 for url: https://replica1.ipa.test:443/ca/rest/securityDomain/domainInfo\nERROR: unable to access security domain. Continuing .. \'NoneType\' object has no attribute \'text\' \nWARNING: this \'KRA\' entry may not be registered with security domain \'IPA\'!\nERROR: updateDomainXML FAILED to delete this \'KRA\' entry from security domain \'IPA\': \'[\'Error: Not authenticated\']\'\nJob for pki-tomcatd@pki-tomcat.service failed because a timeout was exceeded.\nSee "systemctl status pki-tomcatd@pki-tomcat.service" and "journalctl -xe" for details.\nERROR: CalledProcessError: Command \'[\'systemctl\', \'start\', \'pki-tomcatd@pki-tomcat.service\']\' returned non-zero exit status 1.\n File "/usr/lib/python3.8/site-packages/pki/server/pkidestroy.py", line 261, in main\n scriptlet.destroy(deployer)\n File "/usr/lib/python3.8/site-packages/pki/server/deployment/scriptlets/finalization.py", line 90, in destroy\n instance.start()\n File "/usr/lib/python3.8/site-packages/pki/server/__init__.py", line 260, in start\n subprocess.check_call(cmd)\n File "/usr/lib64/python3.8/subprocess.py", line 364, in check_call\n raise CalledProcessError(retcode, cmd)\n\n') DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd131:transport.py:557 Shutting down all IPA services DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd131:transport.py:557 Unconfiguring CA DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd131:transport.py:557 org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd131:transport.py:557 The ipa-server-install command failed. See /var/log/ipaserver-uninstall.log for more information DEBUG ipatests.pytest_ipa.integration.host.Host.replica1.cmd131:transport.py:217 Exit code: 1 ERROR ipatests.pytest_ipa.integration.host.Host.replica1.cmd131:host.py:199 stderr: Re-starting IPA failed, continuing uninstall failed to uninstall KRA instance CalledProcessError(Command ['/usr/sbin/pkidestroy', '-i', 'pki-tomcat', '-s', 'KRA'] returned non-zero exit status 1: 'WARNING: Unable to get CA list from security domain: 500 Server Error: 500 for url: https://replica1.ipa.test:443/ca/rest/securityDomain/domainInfo\nERROR: unable to access security domain. Continuing .. \'NoneType\' object has no attribute \'text\' \nWARNING: this \'KRA\' entry may not be registered with security domain \'IPA\'!\nERROR: updateDomainXML FAILED to delete this \'KRA\' entry from security domain \'IPA\': \'[\'Error: Not authenticated\']\'\nJob for pki-tomcatd@pki-tomcat.service failed because a timeout was exceeded.\nSee "systemctl status pki-tomcatd@pki-tomcat.service" and "journalctl -xe" for details.\nERROR: CalledProcessError: Command \'[\'systemctl\', \'start\', \'pki-tomcatd@pki-tomcat.service\']\' returned non-zero exit status 1.\n File "/usr/lib/python3.8/site-packages/pki/server/pkidestroy.py", line 261, in main\n scriptlet.destroy(deployer)\n File "/usr/lib/python3.8/site-packages/pki/server/deployment/scriptlets/finalization.py", line 90, in destroy\n instance.start()\n File "/usr/lib/python3.8/site-packages/pki/server/__init__.py", line 260, in start\n subprocess.check_call(cmd)\n File "/usr/lib64/python3.8/subprocess.py", line 364, in check_call\n raise CalledProcessError(retcode, cmd)\n\n') org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. The ipa-server-install command failed. See /var/log/ipaserver-uninstall.log for more information
[ipatests.pytest_ipa.integration.host.Host.master.cmd115] tar: /var/log/dirsrv/slapd-IPA-TEST/errors: file changed as we read it [ipatests.pytest_ipa.integration.host.Host.master.cmd115] tar: /var/log/ipareplica-ca-install.log: Warning: Cannot stat: No such file or directory [ipatests.pytest_ipa.integration.host.Host.master.cmd115] tar: /var/log/ipaserver-adtrust-install.log: Warning: Cannot stat: No such file or directory [ipatests.pytest_ipa.integration.host.Host.master.cmd115] Exit code: 1 ipa: WARNING: Could not collect all requested logs [ipatests.pytest_ipa.integration.host.Host.replica1.cmd131] Shutting down all IPA services [ipatests.pytest_ipa.integration.host.Host.replica1.cmd131] Unconfiguring CA [ipatests.pytest_ipa.integration.host.Host.replica1.cmd131] org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. [ipatests.pytest_ipa.integration.host.Host.replica1.cmd131] The ipa-server-install command failed. See /var/log/ipaserver-uninstall.log for more information [ipatests.pytest_ipa.integration.host.Host.replica1.cmd131] Exit code: 1 ipa: ERROR: stderr: Re-starting IPA failed, continuing uninstall failed to uninstall KRA instance CalledProcessError(Command ['/usr/sbin/pkidestroy', '-i', 'pki-tomcat', '-s', 'KRA'] returned non-zero exit status 1: 'WARNING: Unable to get CA list from security domain: 500 Server Error: 500 for url: https://replica1.ipa.test:443/ca/rest/securityDomain/domainInfo\nERROR: unable to access security domain. Continuing .. \'NoneType\' object has no attribute \'text\' \nWARNING: this \'KRA\' entry may not be registered with security domain \'IPA\'!\nERROR: updateDomainXML FAILED to delete this \'KRA\' entry from security domain \'IPA\': \'[\'Error: Not authenticated\']\'\nJob for pki-tomcatd@pki-tomcat.service failed because a timeout was exceeded.\nSee "systemctl status pki-tomcatd@pki-tomcat.service" and "journalctl -xe" for details.\nERROR: CalledProcessError: Command \'[\'systemctl\', \'start\', \'pki-tomcatd@pki-tomcat.service\']\' returned non-zero exit status 1.\n File "/usr/lib/python3.8/site-packages/pki/server/pkidestroy.py", line 261, in main\n scriptlet.destroy(deployer)\n File "/usr/lib/python3.8/site-packages/pki/server/deployment/scriptlets/finalization.py", line 90, in destroy\n instance.start()\n File "/usr/lib/python3.8/site-packages/pki/server/__init__.py", line 260, in start\n subprocess.check_call(cmd)\n File "/usr/lib64/python3.8/subprocess.py", line 364, in check_call\n raise CalledProcessError(retcode, cmd)\n\n') org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. The ipa-server-install command failed. See /var/log/ipaserver-uninstall.log for more information
PR Log
This is a duplicate of https://pagure.io/freeipa/issue/8506 Nightly failure in ipa-server-install --uninstall: org.freedesktop.DBus.Error.NoReply
Metadata Update from @frenaud: - Issue close_status updated to: duplicate - Issue status updated to: Closed (was: Open)