An object with the specified identifier was not found.

Asked by hex123 on 2012-09-30

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:
2012-09-30
Last query:
2012-09-30
Last reply:
hex123 (qcjiang) said : #1

after creating correct endpoints. problem was solved.

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

Fixed after correcting the endpoints.