You have been subscribed to a public bug:

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).

** Affects: glance
     Importance: Wishlist
     Assignee: Fei Long Wang (flwang)
         Status: In Progress

** Affects: python-glanceclient
     Importance: Undecided
     Assignee: Fei Long Wang (flwang)
         Status: In Progress

-- 
In glance v2 api it squashes properties with same name as core properties
https://bugs.launchpad.net/bugs/1183535
You received this bug notification because you are a member of Yahoo! 
Engineering Team, which is subscribed to Glance.

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to