← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1406235] Re: Metadef property API doesn't include readonly flag

 

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1406235

Title:
  Metadef property API doesn't include readonly flag

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released

Bug description:
  Spec: https://review.openstack.org/#/c/98554/14/specs/juno/metadata-
  schema-catalog.rst

  According to metadata definition spec, properties can include readonly
  flag (field), but in current implementation this information is not
  returned by the API v2.

  Example seed which defines readonly flag is located at  etc/metadefs/compute-host-capabilities.json and following properties are setup as non-readonly:
  - cpu_info:topology:cores
  - cpu_info:topology:threads
  - cpu_info:topology:sockets

  To reproduce this issue simply send GET request to Glance API v2 and
  query for OS::Compute::HostCapabilities namespace. Properties which
  defines readonly flag (shown above) has no information about it
  displayed in result.

  Sample URL:
  http://localhost:9292/v2/metadefs/namespaces/OS::Compute::HostCapabilities

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


References