rbd store does not return image size from get() or implement get_size()

Bug #1180565 reported by Josh Durgin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Josh Durgin

Bug Description

The store interface was changed to include image size in these places, but the rbd store was not updated to do so.

Revision history for this message
Josh Durgin (jdurgin) wrote :
Changed in glance:
assignee: nobody → Josh Durgin (jdurgin)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/29032
Committed: http://github.com/openstack/glance/commit/ccf064afa08eddeec710854a4afaeb5d865b98d7
Submitter: Jenkins
Branch: master

commit ccf064afa08eddeec710854a4afaeb5d865b98d7
Author: Josh Durgin <email address hidden>
Date: Mon May 13 19:14:29 2013 -0700

    rbd: return image size when asked

    Implement get_size(), and use it for the second part of the return
    value of get().

    Convert the old-style functional tests into tests using the store test
    base class. These test the store api directly, and are more up to date
    than the old functional tests that went through the api. The store tests
    base class already includes tests for get() and get_size().

    Fixes bug 1180565

    Change-Id: I85ca0a0ab3155d1a25607ba9dc210be5719bf85c
    Signed-off-by: Josh Durgin <email address hidden>

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → havana-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: havana-1 → 2013.2
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.