nova-api fails to start during undercloud upgrade because httpd is already listening on port 8774
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Emilien Macchi |
Bug Description
Undercloud upgrade from Newton to Ocata fails because nova-api service fails as httpd is already listening on port 8774:
2017-02-06 12:24:13,525 INFO: Error: /Stage[
2017-02-06 12:24:13,525 INFO: journalctl log for openstack-nova-api:
2017-02-06 12:24:13,525 INFO: -- Logs begin at Tue 2017-01-31 14:13:51 UTC, end at Mon 2017-02-06 12:24:13 UTC. --
2017-02-06 12:24:13,526 INFO: Feb 06 12:24:08 undercloud-
2017-02-06 12:24:13,526 INFO: Feb 06 12:24:08 undercloud-
2017-02-06 12:24:13,526 INFO: Feb 06 12:24:13 undercloud-
2017-02-06 12:24:13,526 INFO: Feb 06 12:24:13 undercloud-
2017-02-06 12:24:13,526 INFO: Feb 06 12:24:13 undercloud-
2017-02-06 12:24:13,526 INFO: Feb 06 12:24:13 undercloud-
2017-02-06 12:24:13,526 INFO:
2017-02-06 12:24:13,527 INFO: Error: /Stage[
2017-02-06 12:24:13,527 INFO: journalctl log for openstack-nova-api:
2017-02-06 12:24:13,527 INFO: -- Logs begin at Tue 2017-01-31 14:13:51 UTC, end at Mon 2017-02-06 12:24:13 UTC. --
2017-02-06 12:24:13,527 INFO: Feb 06 12:24:08 undercloud-
2017-02-06 12:24:13,527 INFO: Feb 06 12:24:08 undercloud-
2017-02-06 12:24:13,527 INFO: Feb 06 12:24:13 undercloud-
2017-02-06 12:24:13,527 INFO: Feb 06 12:24:13 undercloud-
2017-02-06 12:24:13,527 INFO: Feb 06 12:24:13 undercloud-
2017-02-06 12:24:13,528 INFO: Feb 06 12:24:13 undercloud-
2017-02-06 12:24:13,528 INFO:
We can see in /var/log/
2017-02-06 12:24:35.105 25688 ERROR nova File "/usr/lib/
2017-02-06 12:24:35.105 25688 ERROR nova sock.bind(addr)
2017-02-06 12:24:35.105 25688 ERROR nova File "/usr/lib64/
2017-02-06 12:24:35.105 25688 ERROR nova return getattr(
2017-02-06 12:24:35.105 25688 ERROR nova error: [Errno 98] Address already in use
httpd is already binding on port 8774.
Later during the manifest run the 8774 port entry gets removed from /etc/httpd/
2017-02-06 12:25:45,882 INFO: Notice: /Stage[
2017-02-06 12:25:45,889 INFO: Notice: /Stage[
The undercloud upgrade fails in the end and the workaround to get it successfully complete is to rerun openstack undercloud upgrade.
Changed in tripleo: | |
status: | New → Confirmed |
Changed in tripleo: | |
status: | Confirmed → Triaged |
importance: | Undecided → Critical |
milestone: | none → ocata-rc1 |
Does this happen if you stop the services first as described by http:// docs.openstack. org/developer/ tripleo- docs/installati on/updating. html