Done. https://bugs.launchpad.net/glance/+bug/962998
Thanks ...Juerg > -----Original Message----- > From: Eoghan Glynn [mailto:[email protected]] > Sent: Friday, March 23, 2012 12:16 PM > To: Haefliger, Juerg > Cc: [email protected] > Subject: Re: [Openstack] Specify an owner when adding an image in > Glance > > > Hi Juerg, > > That's because 'owner' is not supported as an explicit parameter to > 'glance add'. > > So as a result the CLI treats it a generic image property, and passes > this to the API service via the header: > > x-image-meta-property-owner: 2 > > The 'x-image-meta-property-' prefix is used to distinguish additional > image properties, separate to the first class image attributes. > > Please raise a bug against the glance CLI so that 'owner' is supported > as an explicit field for the add command (as it currently is for the > update command). > > Cheers, > Eoghan > > > Is there a particular reason why an owner can't be specified when > > adding an image? I.e., the following: > > > > $ glance add name=testing owner=99 < testing > > > > results in: > > > > URI: http://jabba:9292/v1/images/22 > > Id: 22 > > Public: No > > Name: testing > > Status: active > > Size: 36614 > > Disk format: None > > Container format: None > > Minimum Ram Required (MB): 0 > > Minimum Disk Required (GB): 0 > > Owner: 2 > > Property 'owner': 99 > > > > whereas I expect it to be: > > > > URI: http://jabba:9292/v1/images/22 > > Id: 22 > > Public: No > > Name: testing > > Status: active > > Size: 36614 > > Disk format: None > > Container format: None > > Minimum Ram Required (MB): 0 > > Minimum Disk Required (GB): 0 > > Owner: 99 > > > > > > Regards > > ...Juerg > > > > > > _______________________________________________ > > Mailing list: https://launchpad.net/~openstack > > Post to : [email protected] > > Unsubscribe : https://launchpad.net/~openstack > > More help : https://help.launchpad.net/ListHelp > > _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

