Systemd restart for openstack-nova-api failed when upgrading undercloud from newton to ocata
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
when upgrading undercloud from newton to ocata, it failed to restart nova-api service, the error log looks similar with bug #1662167, but there is no httpd ERRORs in nova-api.log.
...
2017-12-21 09:22:02,244 INFO: ^[[1;31mError: /Stage[
2017-12-21 09:22:02,244 INFO: journalctl log for openstack-nova-api:
2017-12-21 09:22:02,244 INFO: -- Logs begin at Thu 2017-12-21 07:10:40 UTC, end at Thu 2017-12-21 09:22:02 UTC. --
2017-12-21 09:22:02,244 INFO: Dec 21 09:21:56 undercloud-
2017-12-21 09:22:02,244 INFO: Dec 21 09:21:56 undercloud-
2017-12-21 09:22:02,244 INFO: Dec 21 09:22:02 undercloud-
2017-12-21 09:22:02,245 INFO: Dec 21 09:22:02 undercloud-
2017-12-21 09:22:02,245 INFO: Dec 21 09:22:02 undercloud-
2017-12-21 09:22:02,245 INFO: Dec 21 09:22:02 undercloud-
2017-12-21 09:22:02,245 INFO: ^[[0m
2017-12-21 09:22:02,245 INFO: ^[[1;31mError: /Stage[
2017-12-21 09:22:02,245 INFO: journalctl log for openstack-nova-api:
2017-12-21 09:22:02,245 INFO: -- Logs begin at Thu 2017-12-21 07:10:40 UTC, end at Thu 2017-12-21 09:22:02 UTC. --
2017-12-21 09:22:02,245 INFO: Dec 21 09:21:56 undercloud-
2017-12-21 09:22:02,245 INFO: Dec 21 09:21:56 undercloud-
2017-12-21 09:22:02,246 INFO: Dec 21 09:22:02 undercloud-
2017-12-21 09:22:02,246 INFO: Dec 21 09:22:02 undercloud-
2017-12-21 09:22:02,246 INFO: Dec 21 09:22:02 undercloud-
2017-12-21 09:22:02,246 INFO: Dec 21 09:22:02 undercloud-
...
2017-12-21 09:29:45,323 INFO: Notice: Applied catalog in 653.39 seconds
2017-12-21 09:29:56,938 INFO: + rc=6
2017-12-21 09:29:56,938 INFO: + set -e
2017-12-21 09:29:56,939 INFO: + echo 'puppet apply exited with exit code 6'
2017-12-21 09:29:56,939 INFO: puppet apply exited with exit code 6
2017-12-21 09:29:56,939 INFO: + '[' 6 '!=' 2 -a 6 '!=' 0 ']'
2017-12-21 09:29:56,939 INFO: + exit 6
2017-12-21 09:29:56,939 INFO: [2017-12-21 09:29:56,939] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/
2017-12-21 09:29:56,939 INFO:
2017-12-21 09:29:56,939 INFO: [2017-12-21 09:29:56,939] (os-refresh-config) [ERROR] Aborting...
2017-12-21 09:29:56,949 ERROR:
#######
Undercloud upgrade failed.
Reason: os-refresh-config failed. See log for details.
See the previous output for details about what went wrong. The full install
log can be found at /home/stack/
#######
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
_run_
File "/usr/lib/
_run_
File "/usr/lib/
raise RuntimeError('%s failed. See log for details.' % name)
RuntimeError: os-refresh-config failed. See log for details.
Command 'instack-
[root@undercloud-0 nova]# rpm -qa | grep nova
openstack-
python2-
puppet-
openstack-
openstack-
python-
openstack-
openstack-
openstack-
openstack-
[root@undercloud-0 nova]# yum repolist
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: reflector.
* extras: mirrors.
* updates: mirrors.
1426 packages excluded due to repository priority protections
repo id repo name status
base/7/x86_64 CentOS-7 - Base 9,591
centos-
delorean-ocata delorean-
delorean-
extras/7/x86_64 CentOS-7 - Extras 327
rdo-qemu-ev/x86_64 RDO CentOS-7 - QEMU EV 39
updates/7/x86_64 CentOS-7 - Updates 1,573
Changed in tripleo: | |
milestone: | none → rocky-1 |
importance: | Undecided → Medium |
status: | New → Triaged |
tags: | added: upgrade |
Changed in tripleo: | |
milestone: | rocky-1 → rocky-2 |
Changed in tripleo: | |
milestone: | rocky-2 → rocky-3 |
Changed in tripleo: | |
milestone: | rocky-3 → rocky-rc1 |
Changed in tripleo: | |
milestone: | rocky-rc1 → stein-1 |
Changed in tripleo: | |
milestone: | stein-1 → stein-2 |
Changed in tripleo: | |
milestone: | stein-2 → stein-3 |
Changed in tripleo: | |
milestone: | stein-3 → train-1 |
Changed in tripleo: | |
milestone: | train-1 → train-2 |
Ocata has been EOL for a while