An object with the specified identifier was not found.

Asked by hex123

When I tried to add an image or list images, I always got this error,

root@myhostname:/var/log# glance --os_username=adminUser --os_password=supersecret --os_tenant=openstackDemo --os_region_name=RegionOne --os_auth_url=http://127.0.0.1:5000/v2.0 index
Failed to show index. Got error:
An object with the specified identifier was not found.
Details: 404 Not Found

The resource could not be found.

Can you anyone suggest me how to debug/fix this problem? The error message is not useful since it doesn't spell out the identifier?

/var/log/glance# glance --version
glance 2012.1.3-dev

Linux myhostname 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Thanks,

Question information

Language:
English Edit question
Status:
Solved
For:
Glance Edit question
Assignee:
No assignee Edit question
Solved by:
hex123
Solved:
Last query:
Last reply:
Revision history for this message
hex123 (qcjiang) said :
#1

after creating correct endpoints. problem was solved.

Revision history for this message
Chandra Pandey (pandey-chandra) said :
#2

Hi,

I have the same glance version (glance 2012.1.3-dev) and have the same 404 error.
Figured it was an endpoint problem. What endpoint for glance have you provided in keystone?

Thanks,
Chandra

Revision history for this message
Chandra Pandey (pandey-chandra) said :
#3

Fixed after correcting the endpoints.