can't update image property with dict value
Bug #1654212 reported by
suzhengwei
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Fail to update an image's property with dict value which has more than one key-values.
Cli like this:
#glance image-update --property property_
But it works only one key-value pair.
I'm not sure it is a problem. How to update an image's property with dict value which has more than one key-values pairs?
glanceclient version:2.0.0
description: | updated |
Changed in python-glanceclient: | |
status: | New → Invalid |
description: | updated |
description: | updated |
Changed in python-glanceclient: | |
status: | Invalid → New |
To post a comment you must log in.
The issue is with your shell usage.
When you write:
glance image-update --property property_ xxx={key1: value, key2:value2} $id
$id is an extra argument, and "key2:value2}" is actually the image id.
You should write:
glance image-update --property property_ xxx="{key1: value, key2:value2}" $id
This bug seems invalid to me.