Upgrade from Ocata to Pike breaks nova-api-metadata service due to old nova-cert service entries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Cloud Controller Charm |
Triaged
|
Low
|
Unassigned |
Bug Description
Because nova-cert service was deprecated and finally removed in Pike an later versions of Openstack [1], the nova-cloud-
It was discovered during investigation of metadata issues on a post-upgraded Pike cloud that the nova-api-metadata service running on the neutron-gateway nodes was showing an error:
ServiceTooOld_
This error seems to be a sanity check done in nova-api-metadata that is checking all services for version equal to current version.
In querying the database for services of that version 15 (select * from services where version = '15';) it returns the nova-cert binary services.
Workaround:
openstack compute service list -f csv -c ID -c Binary| \
grep nova-cert| \
cut -d, -f1 | \
xargs -I@ openstack compute service delete @
[1] - https:/
Changed in charm-nova-cloud-controller: | |
status: | New → Triaged |
importance: | Undecided → Medium |
importance: | Medium → Low |
tags: | added: openstack-upgrade |
This may be a semi-red-herring. the service needs to be removed from the database to not confuse operators and monitoring tools, but the reasoning behind it affecting nova-api-metadata on the neutron-gateway nodes are incorrect. It turns out my issue with the ServiceTooOld message is that my cloud-archive on the neutron-gateway is stuck at newton when the charm is set to xenial-pike.