Fix "Not all flavors have been migrated to the API database"
After a successful upgrade to Newton, I ran the tripleo.sh --overcloud-pingtest and it failed with the following: resources.test_flavor: Not all flavors have been migrated to the API database (HTTP 409) The issue is the fact that some tables have migrated to the nova_api db and we need to migrate the data as well. Currently we do: nova-manage db sync nova-manage api_db sync We want to add: nova-manage db online_data_migrations After launching this command the overcloud-pingtest works correctly: tripleo.sh -- Overcloud pingtest SUCCEEDED Change-Id: Id2d5b28b5d4ade7dff6c5e760be0f509b4fe5096 Closes-Bug: #1628450
This commit is contained in:
parent
7c39f66d1c
commit
da53e9c00b
|
@ -61,6 +61,7 @@ if [[ -n $(is_bootstrap_node) ]]; then
|
|||
neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini upgrade head
|
||||
nova-manage db sync
|
||||
nova-manage api_db sync
|
||||
nova-manage db online_data_migrations
|
||||
#TODO(marios):someone from sahara needs to check this:
|
||||
# sahara-db-manage --config-file /etc/sahara/sahara.conf upgrade head
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue