← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1184966] Re: "is_public=None" can't return all flavors

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-2

-- 
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/1184966

Title:
  "is_public=None" can't return all flavors

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  In the latest code, when we call nova.flavors.list() in novaclient
  with is_public=None, nova side will throw a ValueError: "Invalid
  is_public filter None".  In the file
  "nova/nova/api/openstack/compute/flavors.py", there is a function
  named " _parse_is_public", I think we should change the sentence "elif
  is_public == 'none':" to "elif is_public == 'None':", so that it can
  work normally.

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