[Rdo-list] Issue with cinder?
Dennis Jacobfeuerborn
dennisml at conversis.de
Tue May 7 16:15:28 UTC 2013
Hi,
I'm having trouble getting cinder to work with the rdo packages.
When I run "cinder list" I get "ERROR: Malformed request url"
REQ: curl -i
http://10.16.171.3:8776/v1/11b39f6529ea4eb6a527de82122ba6f6/volumes/detail
-X GET -H "X-Auth-Project-Id: demo" -H "User-Agent: python-cinderclient"
-H "Accept: application/json" -H "X-Auth-Token: MIIIcQYJ...5nBwM="
RESP: [400] {'date': 'Tue, 07 May 2013 16:09:47 GMT', 'content-length':
'65', 'content-type': 'application/json; charset=UTF-8',
'x-compute-request-id': 'req-255a4d4d-3d0d-42dd-85af-772be8fff677'}
RESP BODY: {"badRequest": {"message": "Malformed request url", "code": 400}}
(I shortened the auth token in the request output above)
In the cinder-api debug log I get this:
2013-05-07 17:49:31 DEBUG [routes.middleware] Match dict: {'action':
u'detail', 'controller': <cinder.api.openstack.wsgi.Resource object at
0x3de40d0>, 'project_id': u'11b39f6529ea4eb6a527de82122ba6f6'}
2013-05-07 17:49:31 INFO [cinder.api.openstack.wsgi] GET
http://10.16.171.3:8776/v1/11b39f6529ea4eb6a527de82122ba6f6/volumes/detail
2013-05-07 17:49:31 DEBUG [cinder.api.openstack.wsgi] Unrecognized
Content-Type provided in request
2013-05-07 17:50:07 DEBUG [routes.middleware] Matched GET
/11b39f6529ea4eb6a527de82122ba6f6/volumes/detail
2013-05-07 17:50:07 DEBUG [routes.middleware] Route path:
'/{project_id}/volumes/detail', defaults: {'action': u'detail',
'controller': <cinder.api.openstack.wsgi.Resource object at 0x3de40d0>}
2013-05-07 17:50:07 DEBUG [routes.middleware] Match dict: {'action':
u'detail', 'controller': <cinder.api.openstack.wsgi.Resource object at
0x3de40d0>, 'project_id': u'11b39f6529ea4eb6a527de82122ba6f6'}
2013-05-07 17:50:07 INFO [cinder.api.openstack.wsgi] GET
http://10.16.171.3:8776/v1/11b39f6529ea4eb6a527de82122ba6f6/volumes/detail
2013-05-07 17:50:07 DEBUG [cinder.api.openstack.wsgi] Unrecognized
Content-Type provided in request
Any ideas what is wrong with this request?
Regards,
Dennis
More information about the dev
mailing list