Fix "Not all flavors have been migrated to the API database"
authorMichele Baldessari <michele@acksyn.org>
Wed, 28 Sep 2016 10:19:10 +0000 (12:19 +0200)
committerMichele Baldessari <michele@acksyn.org>
Wed, 28 Sep 2016 10:20:33 +0000 (12:20 +0200)
commitda53e9c00bd2c1aac2cd2c4118a08ae56e8b7630
treead753432454e6dd538a628027120aef9e3561148
parent7c39f66d1c7a68d46e9cc116e8985b9d1650afb9
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
extraconfig/tasks/major_upgrade_controller_pacemaker_2.sh