Upgrade-tempest fail on target. It tries to recreate flavors that already exists.

Bug #1178028 reported by Adalberto Medeiros
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grenade
Fix Released
Undecided
Adalberto Medeiros

Bug Description

When running the target upgrades for devstack from Grizzly to Havana, the upgrade-tempest script produces the following error:
    + [[ -z '' ]]
    + nova flavor-create m1.nano 42 64 0 1
    ERROR: Instance Type with ID 42 already exists. (HTTP 409) (Request-ID: req-5bd3950b-8066-47bc-8f48-ddf510d1ec29)
    + die 276 'Failure in upgrade-tempest'
    + local exitcode=1
    + set +o xtrace
    [ERROR] ./grenade.sh:276 Failure in upgrade-tempest

It seems it tries to recreate the flavors that were already created in the database during the base steps.

Changed in grenade:
assignee: nobody → Adalberto Medeiros (adalbas)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to grenade (master)

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

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

Reviewed: https://review.openstack.org/28693
Committed: http://github.com/openstack-dev/grenade/commit/4750c7de4edd8d111af34b3b0e5f2d8813ce1b1f
Submitter: Jenkins
Branch: master

commit 4750c7de4edd8d111af34b3b0e5f2d8813ce1b1f
Author: Adalberto Medeiros <email address hidden>
Date: Thu May 9 14:07:21 2013 -0300

    Ensure default flavor is set when upgrading tempest

    Add DEFAULT_INSTANCE_TYPE to upgrade tempest to ensure this is
    set. This avoids recreation of existing flavors when upgrading
    tempest.

    Change-Id: If2e872132939faa4b8afc8dc9b7d7d9aeb026c96
    Fix: Bug 1178028

Changed in grenade:
status: In Progress → Fix Committed
Sean Dague (sdague)
Changed in grenade:
status: Fix Committed → Fix Released
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.