Upgrade from queens to rocky uninstalls nova-compute
Bug #1802400 reported by
Liam Young
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Ceilometer Agent Charm |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Upgrading a nova-compute node from Queens to Rocky has resulted in the nova-compute package (among others) being purged from the system. This seems to be down to the ceilometer-agent charm running:
apt-get --assume-yes purge python-memcache python-ceilometer
Changed in charm-ceilometer-agent: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
What appears to be happening is that our testing sets the openstack-origin of nova-compute to the new release and then immediately sets the openstack-origin of ceilometer-agent to the new release too and then waits. However, it seems juju does not guarente the order that those two config-changed events fire. So in the case of this bug ceilometer-agent config-changed fired first and caused havoc.
Short term:
Document: Upgrade ceilometer-agent after nova-compute has finished in your deployment
Medium Term:
Make ceilometer-agent upgrades less destructive if they are triggered out of order.
Longer term:
Remove openstack-origin from ceilometer-agent and have upgrades triggered from the principle.