← Back to team overview

openstack-poc team mailing list archive

[Bug 965563] Re: Usability issue: is_public=yes sets Public: No


** Also affects: openstack-common
   Importance: Undecided
       Status: New

You received this bug notification because you are a member of OpenStack
Common Drivers, which is the registrant for openstack-common.

  Usability issue: is_public=yes sets Public: No

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Committed
Status in openstack-common:

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: