When upgrading from Kilo to Mitaka using actions, charm missed db sync for nova-controller
Bug #1611096 reported by
Rafael David Tinoco
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-cloud-controller (Juju Charms Collection) |
Fix Released
|
Critical
|
David Ames |
Bug Description
When upgrading from Kilo to Mitaka using the following approach:
I got the following errors on nova-controller:
http://
And you can see the table wasn't updated:
http://
And it was fixed by running:
"nova manage db-sync" as root in nova-cloud-
affects: | nova-compute (Juju Charms Collection) → nova-cloud-controller (Juju Charms Collection) |
tags: | added: backport-potential |
summary: |
- When upgrading from Kilo to Mitaka, charm missed db sync for nova- - controller (possibly) + When upgrading from Kilo to Mitaka using actions, charm missed db sync + for nova-controller |
Changed in nova-cloud-controller (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The upgrade to mitaka requires the creation of the new database nova_api.
For the blanket upgrade approach db_joined is called after the upgrade to guarantee the creation of the DB: /github. com/openstack/ charm-nova- cloud-controlle r/blob/ master/ hooks/nova_ cc_hooks. py#L257
https:/
But when using action managed upgrades, config_changed is called but db_joined is not: /github. com/openstack/ charm-nova- cloud-controlle r/blob/ master/ actions/ openstack_ upgrade. py#L48
https:/
This fails to create the required new db.