Ceilometer client giving error "Endpoint not found"

Asked by lalit

Hi all,

I installed Ceilometer client on OpenStack folsom release. Now when I run following command

ceilometer user-list

It gives following error

INFO Starting new HTTP connection (1): 127.0.0.1
Endpoint not found.

Is ceilometer client is not compatible with openstack folsom release ?

Regards
Lalit Patel

Question information

Language:
English Edit question
Status:
Solved
For:
Ceilometer Edit question
Assignee:
No assignee Edit question
Solved by:
Julien Danjou
Solved:
Last query:
Last reply:
Revision history for this message
Julien Danjou (jdanjou) said :
#1

Did you register the metering endpoint in your keystone installation? This error makes me think you didn't, and this is why the ceilometer client can't find the endpoint to talk to Ceilometer.

Revision history for this message
lalit (lkpatel123) said :
#2

Hi Julien,

Thanks for quick reply,
Could you please tell me how to define metering endpoint in keystone ? What I mean is that, is there some document available online for doing this configuration ?

Thanks and regards
Lalit

Revision history for this message
Best Julien Danjou (jdanjou) said :
#3

You can take a look at how devstack does. Here is is:

keystone service-create --name=ceilometer --type=metering --description="Ceilometer Service"

keystone endpoint-create --region RegionOne --service_id $CEILOMETER_SERVICE --publicurl "http://$SERVICE_HOST:8777/" --adminurl "http://$SERVICE_HOST:8777/" --internalurl "http://$SERVICE_HOST:8777/"

Where CEILOMETER_SERVICE is the id of the service created by the first command, and SERVICE_HOST the host where the Ceilometer API is running.

Revision history for this message
lalit (lkpatel123) said :
#4

Thanks Julien !