there is useless 'u' in the error info of "glance image-update"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
Undecided
|
Jaspreet Singh Rawel |
Bug Description
[Summary]
there is useless 'u' in the error info of "glance image-update"
[Topo]
devstack all-in-one node
[Description and expect result]
no useless 'u' in the error info of "glance image-update"
[Reproduceable or not]
reproduceable
[Recreate Steps]
1) there is useless 'u' in the error info of "glance image-update":
root@45-
false d362e24d-
Unable to set 'visibility' to 'false'. Reason: u'false' is not one
of [u'public', u'private']
Failed validating u'enum' in schema[
{u'
u'enum': [u'public', u'private'],
u'type': u'string'}
On instance[
u'false'
root@45-
[Configration]
reproduceable bug, no need
[logs]
reproduceable bug, no need
[Root cause anlyze or debug inf]
reproduceable bug
[Attachment]
None
Changed in python-glanceclient: | |
assignee: | nobody → linwei,wu (wlwwu) |
Changed in python-glanceclient: | |
assignee: | linwei,wu (wlwwu) → Jaspreet Singh Rawel (jaspreetsinghrawel) |
Changed in python-glanceclient: | |
status: | Confirmed → Fix Released |
root@controller :/home/ ubuntu# glance image-update --visibility false a109d73c- 331f-4b30- b2f0-36cda78755 60
Unable to set 'visibility' to 'false'. Reason: u'false' is not one of [u'public', u'private']
Failed validating u'enum' in schema[ u'properties' ][u'visibility' ]: description' : u'Scope of image accessibility',
{u'
u'enum': [u'public', u'private'],
u'type': u'string'}
On instance[ u'visibility' ]: :/home/ ubuntu#
u'false'
root@controller