OpenStack Image Registry and Delivery Service (Glance)

No route for /v1/images

Asked by Nicolas de BONFILS on 2012-04-13

Hi all,

When I want to list glance images (with CLI or horizon dashboard), glance failed telling that there is no route for the request.
Extract from glance-api.log :
2012-04-14 00:04:25 11259 DEBUG [glance.api.middleware.version_negotiation] Determining version of request: GET /v1/images Accept:
2012-04-14 00:04:25 11259 DEBUG [glance.api.middleware.version_negotiation] Using url versioning
2012-04-14 00:04:25 11259 DEBUG [glance.api.middleware.version_negotiation] Matched version: v1
2012-04-14 00:04:25 11259 DEBUG [glance.api.middleware.version_negotiation] new uri /v1/images
2012-04-14 00:04:25 11259 DEBUG [keystone.middleware.auth_token] Authenticating user token
2012-04-14 00:04:25 11259 DEBUG [keystone.middleware.auth_token] Removing headers from request environment: X-Identity-Status,X-Tenant-Id,X-Tenant-Name,X-User-Id,X-User-Name,X-Roles,X-User,X-Tenant,X-Role
2012-04-14 00:04:25 11259 DEBUG [routes.middleware] No route matched for GET /v1/images
2012-04-14 00:04:25 11259 DEBUG [eventlet.wsgi.server] 192.168.23.5 - - [14/Apr/2012 00:04:25] "GET /v1/images?limit=10 HTTP/1.1" 404 176 0.019211

It works few days ago, I didn't change config since, only recheck code from github with devstack.
I reset 2 times :
- first running devstack again,
- second, all from scratch.
Also reboot the server. No changes.

Anyone got ideas why it failed ?
Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Glance Edit question
Assignee:
No assignee Edit question
Solved by:
Nicolas de BONFILS
Solved:
2012-04-17
Last query:
2012-04-17
Last reply:
2012-04-14
yong sheng gong (gongysh) said : #1

Can you put your keystone.conf, glance-api-paste.ini here?

Hi,

All here : https://gist.github.com/2382627 (in the filename, I add .ini to have syntax coloration)

Thanks

Brian Waldon (bcwaldon) said : #3

Try dropping 'v1' from the end of your service catalog entries for your image service.

HI,

I try and I got a http 300 multiple choice. I also try to put v2, but got the same problem.

After multiple reset, the problem disappear.