[Bug 996233] [NEW] nova and python-novaclient disagree on volumes API URLs

Paul Collins paul.collins at canonical.com
Mon May 7 22:49:45 UTC 2012


Public bug reported:

I noticed the following (Ubuntu 12.04 LTS on the Nova cluster, Ubuntu
12.04 LTS on my machine):

$ nova volume-list
ERROR: n/a (HTTP 404)

Based on the output of "nova --debug volume-list", it looks like python-
novaclient is expecting to be able to do "GET
/v1.1/pjdc_project/volumes/detail".  When I manually constuct a request
as follows, using "GET /v1.1/pjdc_project/os-volumes/detail", a
sensible-looking chunk of JSON is returned:

$ nc XXX.XXX.XXX.XXX YYYY                                                          
GET /v1.1/pjdc_project/os-volumes/detail HTTP/1.1
Host: XXX.XXX.XXX.XXX:YYYY
x-auth-project-id: pjdc_project
x-auth-token: ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
accept-encoding: gzip, deflate
accept: application/json
user-agent: python-novaclient

HTTP/1.1 200 OK
X-Compute-Request-Id: req-WWWWWWWW-WWWW-WWWW-WWWW-WWWWWWWWWWWW
Content-Type: application/json
Content-Length: 345
Date: Mon, 07 May 2012 22:32:58 GMT

{"volumes": [{"status": "in-use", "displayDescription": null,
"availabilityZone": "nova", "displayName": null, "attachments":
[{"device": "/dev/vdc", "serverId": "VVVVVVVV-VVVV-VVVV-VVVV-
VVVVVVVVVVVV", "id": 51, "volumeId": 51}], "volumeType": null,
"snapshotId": null, "size": 25, "id": 51, "createdAt": "2012-05-04
03:25:04", "metadata": {}}]}

It would be helpful if this disconnect could be resolved and a fix
targeted to Precise.

** Affects: nova
     Importance: Undecided
         Status: New

** Affects: nova (Ubuntu)
     Importance: Undecided
         Status: New

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


** Tags: canonistack

** Also affects: nova (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: python-novaclient (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/996233

Title:
  nova and python-novaclient disagree on  volumes API URLs

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



More information about the Ubuntu-server-bugs mailing list