SQL migration 017 fails with non-empty database

Bug #1130424 reported by Dean Troyer
16
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
High
Dean Troyer

Bug Description

manage-keystone db_sync fails with what amounts to a column name error.

SQL migration 017 renames the user_project_membership table to user_project_metadata but the code incorrectly uses project_id in the user_project_membership table rather than the correct tenant_id. This only fails with a non-empty table.

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

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

Changed in keystone:
assignee: nobody → Dean Troyer (dtroyer)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/22380
Committed: http://github.com/openstack/keystone/commit/49a672afc0ddae065c65acab55a1190a95bafae4
Submitter: Jenkins
Branch: master

commit 49a672afc0ddae065c65acab55a1190a95bafae4
Author: Dean Troyer <email address hidden>
Date: Tue Feb 19 17:58:44 2013 -0600

    Correct SQL migration 017 column name

    The user_project_membership still uses tenant_id and not project_id
    as a column name, the migration code uses project_id for both tables.

    Fixed bug 1130424

    Change-Id: Id7c9f78235ad87103ecf469bea312e6291c0a327

Changed in keystone:
status: In Progress → Fix Committed
Dolph Mathews (dolph)
Changed in keystone:
importance: Undecided → High
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → grizzly-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: grizzly-rc1 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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