Image Member index not tracked in sqlalchemy models
Bug #1154777 reported by
Mark Washenberger
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
High
|
Mark Washenberger | ||
Grizzly |
Fix Released
|
High
|
Mark Washenberger |
Bug Description
Migration 008 creates an index on the image members table
Index(
But the Image member model class does not reflect this
class ImageMember(BASE, ModelBase):
"""Represents an image members in the datastore"""
__tablename__ = 'image_members'
__table_args__ = (UniqueConstrai
Changed in glance: | |
assignee: | nobody → Mark Washenberger (markwash) |
status: | New → In Progress |
Changed in glance: | |
importance: | Undecided → High |
milestone: | none → grizzly-rc1 |
Changed in glance: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/24351 github. com/openstack/ glance/ commit/ eff956b6c8e453b 8371ac049c21bad 792d27e7ac
Committed: http://
Submitter: Jenkins
Branch: master
commit eff956b6c8e453b 8371ac049c21bad 792d27e7ac
Author: Mark J. Washenberger <email address hidden>
Date: Wed Mar 13 11:50:43 2013 -0700
Declare index on ImageMember model
This index was added in migration 008. However, it was not on the model,
which meant any autocreated db would not have it.
Fixes bug 1154777
Change-Id: I34590ffebaf547 be9a12e5a85216c da145d9e8db