yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03364
[Bug 1183535] Re: In glance v2 api it squashes properties with same name as core properties
** Changed in: glance
Status: In Progress => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1183535
Title:
In glance v2 api it squashes properties with same name as core
properties
Status in OpenStack Image Registry and Delivery Service (Glance):
Invalid
Status in Python client library for Glance:
In Progress
Bug description:
Stuart Mclaren brought forth this example:
here the property 'size' exists both in the 'core' namespace and the
'property' namespace:
$ glance --os-password XXX --os-username glance --os-tenant-name service --os-auth-url http://localhost:5000/v2.0 image-show 2a62cba7-5a70-4727-95d2-c0f89bd025ef | grep -e Prop -e size -e '\-\-\-'
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| Property 'size' | 1234567890 |
| size | 754 |
+------------------+--------------------------------------+
v2 does not support 'namespacing':
$ glance --os-password XXX --os-username glance --os-tenant-name service --os-auth-url http://localhost:5000/v2.0 --os-image-api-version 2 image-show 2a62cba7-5a70-4727-95d2-c0f89bd025ef | grep -e Prop -e size -e '\-\-\-'
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| size | 754 |
+------------------+--------------------------------------+
Using the v2 api there is no way to access 'size' from the 'property'
namespace (ie 1234567890).
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1183535/+subscriptions