← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1154777] Re: Image Member index not tracked in sqlalchemy models

 

** Changed in: glance/grizzly
   Importance: Undecided => High

** Changed in: glance/grizzly
       Status: New => Fix Released

** Changed in: glance/grizzly
    Milestone: None => 2013.1

** Changed in: glance/grizzly
     Assignee: (unassigned) => Mark Washenberger (markwash)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1154777

Title:
  Image Member index not tracked in sqlalchemy models

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released
Status in Glance grizzly series:
  Fix Released

Bug description:
  Migration 008 creates an index on the image members table

      Index('ix_image_members_image_id_member', image_members.c.image_id,
            image_members.c.member)

  
  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__ = (UniqueConstraint('image_id', 'member'), {})

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1154777/+subscriptions