← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1517870] [NEW] nova client should let user know which API version it is using

 

Public bug reported:

jichen@devstack1:/opt/stack/nova$ git log
commit 4474dce9e6b847a7691fc3f01d0c594061570d73


jichen@devstack1:~$ nova --version
2.34.0
jichen@devstack1:~$ nova version-list
+------+-----------+----------------------+-------------+---------+
| Id   | Status    | Updated              | Min Version | Version |
+------+-----------+----------------------+-------------+---------+
| v2.0 | SUPPORTED | 2011-01-21T11:33:21Z |             |         |
| v2.1 | CURRENT   | 2013-07-23T11:33:21Z | 2.1         | 2.12    |
+------+-----------+----------------------+-------------+---------+

but actually, nova is using v2.6 now

DEBUG (session:198) REQ: curl -g -i -X GET
http://192.168.122.239:8774/v2.1/d1c5aa58af6c426492c642eb649017be/servers/detail
-H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X
-OpenStack-Nova-API-Version: 2.6" -H "X-Auth-Token:
{SHA1}ca664ccd64053b7de69fa7c0a2bee6ad32fda77f"

we should let user know it

** Affects: python-novaclient
     Importance: Undecided
     Assignee: jichenjc (jichenjc)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => jichenjc (jichenjc)

** Project changed: nova => python-novaclient

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1517870

Title:
  nova client should let user know which API version it is using

Status in python-novaclient:
  New

Bug description:
  jichen@devstack1:/opt/stack/nova$ git log
  commit 4474dce9e6b847a7691fc3f01d0c594061570d73

  
  jichen@devstack1:~$ nova --version
  2.34.0
  jichen@devstack1:~$ nova version-list
  +------+-----------+----------------------+-------------+---------+
  | Id   | Status    | Updated              | Min Version | Version |
  +------+-----------+----------------------+-------------+---------+
  | v2.0 | SUPPORTED | 2011-01-21T11:33:21Z |             |         |
  | v2.1 | CURRENT   | 2013-07-23T11:33:21Z | 2.1         | 2.12    |
  +------+-----------+----------------------+-------------+---------+

  but actually, nova is using v2.6 now

  DEBUG (session:198) REQ: curl -g -i -X GET
  http://192.168.122.239:8774/v2.1/d1c5aa58af6c426492c642eb649017be/servers/detail
  -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X
  -OpenStack-Nova-API-Version: 2.6" -H "X-Auth-Token:
  {SHA1}ca664ccd64053b7de69fa7c0a2bee6ad32fda77f"

  we should let user know it

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-novaclient/+bug/1517870/+subscriptions