Comment 2 for bug 1192390

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/33592
Committed: http://github.com/openstack/cinder/commit/c8f814569d07544734f10f134e146ce981639e07
Submitter: Jenkins
Branch: master

commit c8f814569d07544734f10f134e146ce981639e07
Author: John Griffith <email address hidden>
Date: Tue Jun 18 23:22:48 2013 -0600

    Replace glance_metadata check with bootable column.

    This patch adds a column to indicate if a volume is bootable or not.

    Cinder API V1 was using get.volume_glance_metadata to determine
    if a volume was bootable for translate_view.

    This is fine until you put a heavy load on the system and things
    can fall apart, particularly the backref of the glance meta is no longer
    available and the call blows up. Also this results in a bit of extra
    unnecessary data being passed around with every create and get call.
    This is especially an issue when creating hundreds or thousands of volumes.
    Even better we can now reliably create thousands of volumes.

    Fixes bug: 1192390

    Change-Id: Idd47a0a8069ee905b81c7aae562b82767ad91930