yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44952
[Bug 1536130] [NEW] error message of "1 is not a supported API version. Example values are 1 or 2." is not precise
Public bug reported:
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
** Project changed: openstack-community => glance
--
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:
New
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
Follow ups