M/N upgrades - Not all flavors have been migrated to the API database

Bug #1628450 reported by Michele Baldessari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Michele Baldessari

Bug Description

After a successful upgrade to Newton, I ran the tripleo.sh --overcloud-pingtest and it failed with the following:
| test_flavor | eed81449-3a26-4d01-bf36-b6f80fdd4aa0 | Conflict: resources.test_flavor: Not all flavors have been migrated to the API database (HTTP 409) (Request-ID: req-6008900c-c8c2-4dc9-a0de-a04591cdc229) │ CREATE_FAILED | 2016-09-28T10:07:21Z |

I believe 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 likely want to add:
    nova-manage db online_data_migrations

After launching this command the overcloud-pingtest worked correctly:
#################
tripleo.sh -- Overcloud pingtest SUCCEEDED
#################

Tags: upgrade
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/378504

Changed in tripleo:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/378504
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=da53e9c00bd2c1aac2cd2c4118a08ae56e8b7630
Submitter: Jenkins
Branch: master

commit da53e9c00bd2c1aac2cd2c4118a08ae56e8b7630
Author: Michele Baldessari <email address hidden>
Date: Wed Sep 28 12:19:10 2016 +0200

    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

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.0.0.0rc2

This issue was fixed in the openstack/tripleo-heat-templates 5.0.0.0rc2 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.