bootable status differs between cinder list and cinder show

Bug #1115629 reported by John Griffith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
John Griffith

Bug Description

Cinder show always lists the bootable value as "false"

Changed in cinder:
milestone: none → grizzly-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Changed in cinder:
assignee: nobody → John Griffith (john-griffith)
status: New → In Progress
Changed in cinder:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

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

commit f32253f7391da22b6d69a4afebda5cdd99bb40d3
Author: John Griffith <email address hidden>
Date: Mon Feb 4 16:18:29 2013 -0700

    Add volume_glance_metadata to volume.api.get

    The dict(rv.iteritems()) agains the volume object from
    volume.api.get does NOT set the volume_glance_metadata k/v.

    This is used to show bootable in the show and list api calls,
    the result was that list properly reflected the bootable status
    of a volume, however show would always describe the flag as False.

    So we simply check if the rv includes the glance_metadata and if
    so go ahead and create the entry in the volume dict.

    Fixes bug: 1115629

    Change-Id: Ia0be08f3d2c85b7fe8390fca264803c96cdce7f7

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: grizzly-3 → 2013.1
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.