there is useless 'u' in the error info of "glance member-update"

Bug #1534048 reported by hgangwx
8
This bug affects 1 person
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-59:/opt/stack/devstack# glance member-update d362e24d-3d77-42ea-96ae-d1a1721e7d41 ebbcdabd911340efa9a3430488c43304 active
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-59:/opt/stack/devstack#

[Configration]
reproduceable bug, no need

[logs]
reproduceable bug, no need

[Root cause anlyze or debug inf]
reproduceable bug

[Attachment]
None

linwei,wu (wlwwu)
Changed in python-glanceclient:
assignee: nobody → linwei,wu (wlwwu)
linwei,wu (wlwwu)
affects: python-glanceclient → glance
Revision history for this message
Cyril Roelandt (cyril-roelandt) wrote :

With python-glanceclient 3.5.0:

$ glance member-update d362e24d-3d77-42ea-96ae-d1a1721e7d41 ebbcdabd911340efa9a3430488c43304 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.

Changed in glance:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.