← Back to team overview

yahoo-eng-team team mailing list archive

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

 

You have been subscribed to a public bug:

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.

** Affects: glance
     Importance: Undecided
         Status: New

-- 
error message of "1 is not a supported API version. Example values are 1 or 2." is not precise
https://bugs.launchpad.net/bugs/1536130
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance.


References