← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1201266] Re: 'is_public' filter should be handled when nova calls glance via V2

 

Reviewed:  https://review.openstack.org/296998
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=4e7624ed65626bd34fa354eb50bc7228f0dd0e26
Submitter: Jenkins
Branch:    master

commit 4e7624ed65626bd34fa354eb50bc7228f0dd0e26
Author: Mehdi Abaakouk <sileht@xxxxxxxxxx>
Date:   Thu Mar 24 11:23:17 2016 +0100

    image: don't use is_public with glance V2 API
    
    Glance v2 API has replaced "is_public" argument with "visibility", and,
    unlike "is_public" the default value of "visibility" returns all images,
    which is what we want to get when no value has been provided.
    
    This patch makes sure that we only send a default value for "is_public"
    when it's not defined when working with API v1.
    
    Closes-bug: #1201266
    Co-Authored-By: Gorka Eguileor <geguileo@xxxxxxxxxx>
    Change-Id: I9ca13567744dbe5895012429679e013b859dbb03


** Changed in: cinder
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1201266

Title:
  'is_public' filter should be handled when nova calls glance via V2

Status in Cinder:
  Fix Released
Status in OpenStack Compute (nova):
  Invalid

Bug description:
  During an image- list call via Nova, it appends an 'is_public:None' to
  the filters, to ensure that private images are not filtered out. In
  glance V2 Api, this value should be parsed to something useful, say
  returning True and preserving the default behaviour of returning all
  public images ( As is done in V1). Currently image-list to V2 via Nova
  returns an empty list.

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