python-novaclient is sending wrong URL for volumes and volume-snapshots
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-common |
Invalid
|
Undecided
|
Unassigned |
Bug Description
python-novaclient which is present in the git repository now, (Version v1.1) is sending wrong URL for volumes and volume-snapshots.
log:
FOR VOLUMES EXTENSION:
opuser@
connect: (10.233.52.171, 8774)
send: 'GET /v1.1 HTTP/1.1\r\nHost: 10.233.
reply: 'HTTP/1.1 204 No Content\r\n'
header: Content-Length: 0
header: X-Auth-Token: acd29b669242aeb
header: X-Server-
header: X-Storage-Url:
header: X-Cdn-Managemen
header: Content-Type: text/plain; charset=UTF-8
header: Date: Wed, 25 Apr 2012 19:46:04 GMT
send: 'GET /v1.1/cloudproj
The URI is supposed to be : os-volumes
FOR VOLUME-SNAPSHOTS EXTENSION:
opuser@
connect: (10.233.52.171, 8774)
send: 'GET /v1.1 HTTP/1.1\r\nHost: 10.233.
reply: 'HTTP/1.1 204 No Content\r\n'
header: Content-Length: 0
header: X-Auth-Token: 618a176fb8a5d93
header: X-Server-
header: X-Storage-Url:
header: X-Cdn-Managemen
header: Content-Type: text/plain; charset=UTF-8
header: Date: Wed, 25 Apr 2012 19:59:14 GMT
send: 'GET /v1.1/cloudproj
The URI is supposed to be : os-snapshots
this looks like an endpoints error. Novaclient was switched over to use the new volume-api endpoint which should be listening on port 8776
You need to set up an endpoint for volume using the following url
http:// 10.233. 52.171: 8776/v1/ %(tenant_ id)s