Unable to specify the image owner when adding an image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Eoghan Glynn |
Bug Description
The 'glance add' command doesn't support specifying the image owner on the commandline. See the below email trail for more details:
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-
The 'x-image-
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://
> 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://
> 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
Changed in glance: | |
assignee: | nobody → Juerg Haefliger (juergh) |
Changed in glance: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in glance: | |
milestone: | none → essex-rc2 |
Changed in glance: | |
milestone: | essex-rc2 → 2012.1 |
Fix proposed to branch: master /review. openstack. org/5727
Review: https:/