← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1536130] Re: error message of "1 is not a supported API version. Example values are 1 or 2." is not precise

 

No more inputs on this bug, marking this as won't fix. Please feel free
to reopen.

** Changed in: glance
       Status: Incomplete => Won't Fix

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

Title:
  error message of "1 is not a supported API version. Example values are
  1 or 2." is not precise

Status in Glance:
  Won't Fix

Bug description:
  when i add a new api cli command in glance, i get the error message:
  "1" is not a supported API version. Example values are "1" or "2".
  the reason is i import a wrong module in glanceclient/v1/client.py,
  so the return error message is not correct.

  it can be recurrent by modifing "from glanceclient.v1.images import ImageManager" to 
  "from glanceclient.v1.imagesxxx import ImageManager" in glanceclient/v1/client.py, then you
  execute "glance image-list", you will found it.

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


References