Can not use Rest API to visit ceilometer API in dev environment

Asked by xingzhou

I'm using Dev environment to run ceilometer, I just started ceilometer-api and keystone in the workspace in Eclipse, and when I tried to use the following request to visit Ceilometer, it returns 401 authentication required error:

curl -i -X GET -H "X-Auth-Token:<token>" http://9.119.148.18:8777/v1/resources

while when I use the same token in the following request to glance to list images, it worked well:

curl -i -X GET -H "X-Auth-Token:<token>" http://9.119.148.18:9292/v1/images

is there any special requirements for Ceilometer on the token? thanks for the helps

Question information

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

solve this question in order to submit it in openstack question track