improve simple db to use is_image_available

Bug #1077256 reported by Nikhil Komawar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Wishlist
Nikhil Komawar
Grizzly
Fix Released
Wishlist
Nikhil Komawar

Bug Description

currently image_get itself uses the logic to behave as is_image_visible. It is essential for us to make simple db behave and look like sqlalchemy as much as possible (where is_image_visible is used)

Brian Waldon (bcwaldon)
Changed in glance:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

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

Changed in glance:
assignee: nobody → nikhil komawar (nikhil-komawar)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/16119
Committed: http://github.com/openstack/glance/commit/4c86cf4b6517880b1c59d477612e061ec151ac95
Submitter: Jenkins
Branch: master

commit 4c86cf4b6517880b1c59d477612e061ec151ac95
Author: Nikhil Komawar <email address hidden>
Date: Wed Nov 14 19:32:07 2012 +0000

    Fix simple db image_get to look like sqlalchemy

    image_get in simple db was repeating logic that exists in helper
    is_image_visible method. Also, sqlalchemy implements the same way, so
    now this method behaves in both dbs.

    Fixes bug 1077256

    Change-Id: I5285027a24157750d7c322990aa4074e2b1087c7

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