openstack-poc team mailing list archive
-
openstack-poc team
-
Mailing list archive
-
Message #00415
[Bug 965563] Re: Usability issue: is_public=yes sets Public: No
** Changed in: glance
Milestone: essex-rc2 => 2012.1
--
You received this bug notification because you are a member of OpenStack
Common Drivers, which is the registrant for openstack-common.
https://bugs.launchpad.net/bugs/965563
Title:
Usability issue: is_public=yes sets Public: No
Status in OpenStack Image Registry and Delivery Service (Glance):
Fix Released
Status in openstack-common:
New
Bug description:
There is a usability with Glance around the use of booleans. The
is_public metadata for an image is displayed via "glance show" in
Yes/No terms. i.e.
Id: 7b1ee878-131b-4c1e-bd14-dc8cb0e48ace
Public: Yes
Protected: No
Name: oneiric-11.10-2
Status: active
Size: 10486808576
However the bool_from_string function (common/utils.py) doesn't define
'yes' as true.
This results in the flag is_public=yes actually setting Public: No in
the image.
I suggest that 'yes' is added to the list of values considered true.
There is a proposed change for it here -
https://review.openstack.org/#change,5712 that would go into common,
then we could propogate it out to glance proper.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/965563/+subscriptions