[Openstack] [Rally] Failed run command "rally show images"

Li, Chen chen.li at intel.com
Wed Mar 12 05:07:37 UTC 2014


Hi list,

I have followed guide

https://wiki.openstack.org/wiki/Rally/installation

and

https://wiki.openstack.org/wiki/Rally/HowTo

Everything works file until I run command:

rally show images

I enabled debug in /etc/rally/rally.conf, and get:

2014-03-12 12:56:30.459 18999 DEBUG glanceclient.common.http [-] curl -i -X GET -H 'X-Auth-Token: ......=' -H 'Content-Type: application/json' -H 'User-Agent: python-glanceclient' http://host-glance:9292/v1/v1/images/detail?limit=20 log_curl_request /usr/lib/python2.6/site-packages/glanceclient/common/http.py:118

2014-03-12 12:56:30.662 18999 DEBUG glanceclient.common.http [-]
HTTP/1.1 404 Not Found
date: Wed, 12 Mar 2014 04:56:30 GMT
content-length: 52
content-type: text/plain; charset=UTF-8
x-openstack-request-id: req-6b39f8f1-6e32-429c-b04e-137e7fd6c563

404 Not Found
The resource could not be found.
log_http_response /usr/lib/python2.6/site-packages/glanceclient/common/http.py:128
2014-03-12 12:56:30.663 18999 ERROR glanceclient.common.http [-] Request returned failure status.
2014-03-12 12:56:30.663 18999 CRITICAL rally [-] 404 Not Found
The resource could not be found.
(HTTP 404)

If I run command:

glance --debug image-list

curl -i -X GET -H 'X-Auth-Token: ......=' -H 'Content-Type: application/json' -H 'User-Agent: python-glanceclient' http://host-glance:9292/v1/images/detail?sort_key=name&sort_dir=asc&limit=20
......

Compare with the two command, I noticed the URL for glance is different.

For rally show images, it is

http://host-glance:9292/v1/v1/images/

For glance image-lisy

http://host-glance:9292/v1/images/

we get an extra /v1.

Anyone know why this happened ????

Thanks.
-chen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140312/ed3bde94/attachment.html>


More information about the Openstack mailing list