← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1534048] Re: there is useless 'u' in the error info of "glance member-update"

 

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1534048

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

Status in Glance:
  Invalid

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1534048/+subscriptions