Ask Your Question
1

ceilometer meter-list shows error unauthorized [401] what to do? Help

asked 2014-12-30 03:29:30 -0500

Harsh Mehta gravatar image

updated 2014-12-31 12:13:14 -0500

smaffulli gravatar image

I got an error while i run command ceilometer meter-list I got Unauthorized [401] error I am using Icehouse on ubuntu14.04

Following is the log of ceilometer-api while running the command ceilometer meter-list

2014-12-31 12:23:12.038 978 WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token
2014-12-31 12:23:12.041 978 INFO keystoneclient.middleware.auth_token [-] Invalid user token - rejecting request
2014-12-31 12:23:13.082 978 WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token
2014-12-31 12:23:13.083 978 INFO keystoneclient.middleware.auth_token [-] Invalid user token - rejecting request
edit retag flag offensive close merge delete

Comments

Ceilometer.conf is needed

grep -iE '^#|^$' /etc/ceilometer.conf
9lives gravatar image9lives ( 2014-12-30 04:40:14 -0500 )edit

Please show as output of command with --debug

falconmain gravatar imagefalconmain ( 2014-12-30 08:32:51 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-12-31 23:10:32 -0500

Harsh Mehta gravatar image

Hey i solve it by stting token_format in keystone.conf file.

In keystone.conf file set token_format to UUID.

token_format = UUID

edit flag offensive delete link more
1

answered 2014-12-30 05:53:50 -0500

Please check if mongodb is running. Check service status by

sudo service mongod status

For additional information you can also look into ceilometer logs.

P.S: If you have some extra time kindly look "How to ask a good question"

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-12-30 03:29:30 -0500

Seen: 821 times

Last updated: Dec 31 '14