After upgrading from 7.3 to 7.4 ipa-server-upgrade script fails with the error : " wait_for_open_ports: localhost [8080, 8443] timeout 300"
Issue
After upgrading from 7.3 to 7.4 ipa-server-upgrade script fails with the error : " wait_for_open_ports: localhost [8080, 8443] timeout 300".
We see the following errors in /var/log/ipaupgrade.log
2017-08-15T17:49:12Z DEBUG Process finished, return code=0
2017-08-15T17:49:12Z DEBUG stdout=
2017-08-15T17:49:12Z DEBUG stderr=
2017-08-15T17:49:12Z DEBUG Starting external process
2017-08-15T17:49:12Z DEBUG args=/bin/systemctl is-active pki-tomcatd@pki-tomcat.service
2017-08-15T17:49:12Z DEBUG Process finished, return code=0
2017-08-15T17:49:12Z DEBUG stdout=active
2017-08-15T17:49:12Z DEBUG stderr=
2017-08-15T17:49:12Z DEBUG wait_for_open_ports: localhost [8080, 8443] timeout 300
2017-08-15T17:54:12Z ERROR IPA server upgrade failed: Inspect /var/log/ipaupgrade.log and run command ipa-server-upgrade manually.
2017-08-15T17:54:12Z DEBUG File "/usr/lib/python2.7/site-packages/ipapython/admintool.py", line 172, in execute
return_value = self.run()
File "/usr/lib/python2.7/site-packages/ipaserver/install/ipa_server_upgrade.py", line 46, in run
server.upgrade()
File "/usr/lib/python2.7/site-packages/ipaserver/install/server/upgrade.py", line 1913, in upgrade
upgrade_configuration()
File "/usr/lib/python2.7/site-packages/ipaserver/install/server/upgrade.py", line 1646, in upgrade_configuration
upgrade_pki(ca, fstore)
File "/usr/lib64/python2.7/contextlib.py", line 24, in __exit__
self.gen.next()
File "/usr/lib/python2.7/site-packages/ipaserver/install/installutils.py", line 1134, in stopped_service
service_obj.start(instance_name)
File "/usr/lib/python2.7/site-packages/ipaplatform/redhat/services.py", line 211, in start
instance_name, capture_output=capture_output, wait=wait)
File "/usr/lib/python2.7/site-packages/ipaplatform/base/services.py", line 300, in start
self.wait_for_open_ports(self.service_instance(instance_name))
File "/usr/lib/python2.7/site-packages/ipaplatform/base/services.py", line 270, in wait_for_open_ports
self.api.env.startup_timeout)
File "/usr/lib/python2.7/site-packages/ipapython/ipautil.py", line 1227, in wait_for_open_ports
raise socket.timeout("Timeout exceeded")
Environment
ipa-server-4.5.0-21.el7.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.