there is useless 'u' in the error info of "glance member-update"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Undecided
|
linwei,wu |
Bug Description
[Summary]
there is useless 'u' in the error info of "glance member-update"
[Topo]
devstack all-in-one node
[Description and expect result]
no useless 'u' in the error info of "glance member-update"
[Reproduceable or not]
reproduceable
[Recreate Steps]
1) there is useless 'u' in the error info of "glance member-update":
root@45-
usage: glance member-update <IMAGE_ID> <MEMBER_ID> <MEMBER_STATUS>
glance member-update: error: argument <MEMBER_STATUS>: invalid choice: u'active' (choose from 'accepted', 'rejected', 'pending')
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) |
affects: | python-glanceclient → glance |
With python-glanceclient 3.5.0:
$ glance member-update d362e24d- 3d77-42ea- 96ae-d1a1721e7d 41 ebbcdabd911340e fa9a3430488c433 04 active
usage: glance member-update <IMAGE_ID> <MEMBER_ID> <MEMBER_STATUS>
glance member-update: error: argument <MEMBER_STATUS>: invalid choice: 'active' (choose from 'accepted', 'rejected', 'pending')
This was fixed at some point.