Ask Your Question
1

No handlers could be found for logger "ceilometerclient.common.http" HTTPNotFound (HTTP 404)

asked 2014-11-03 23:26:52 -0500

amitabh sinha gravatar image

updated 2014-11-04 01:12:00 -0500

RHK gravatar image

Implemented an OpenStack environment based on Ubuntu 12.04 multinode setup. Configured telemetry as given in Openstack document.

With the #ceilometer meter-list command I got folloiing erroe:

root@controller:~# ceilometer meter-list

No handlers could be found for logger "ceilometerclient.common.http"
HTTPNotFound (HTTP 404)

In log files I am getting following error in respective files: ceilometer-agent-central.log

2014-11-04 10:44:45.890 7188 ERROR ceilometer.openstack.common.rpc.common [-] AMQP server on 10.10.10.61:5672 is unreachable: Socket closed. Trying again in 30 seconds.

ceilometer-collector.log

2014-11-04 10:47:04.663 7221 ERROR ceilometer.openstack.common.rpc.common [-] AMQP server on 10.10.10.61:5672 is unreachable: Socket closed. Trying again in 30 seconds.

ceilometer-api.log

2014-11-01 15:32:40.010 25256 WARNING keystoneclient.middleware.auth_token [-] Configuring auth_uri to point to the public identity endpoint is required; clients may not be able to authenticate against an admin endpoint

Here are configuration files for compute and controller:

Controller IP (internal) 10.10.10.61
Public 192.168.1.3

In compute /etc/ceilometers/ceilometers.conf

[DEFAULT]
rabbit_host = 10.10.10.61
rabbit_password = root123

[publisher_rpc]
metering_secret = 08ea76627b4ea7311903

[database]
connection=sqlite:////var/lib/ceilometer/$sqlite_db

[service_credentials]
os_auth_url = http://192.168.1.3:5000/v2.0
os_username = ceilometer
os_tenant_name = service
os_password = root123

[keystone_authtoken]
auth_host = 10.10.10.61
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = ceilometer
admin_password = root123

controller /etc/ceilometers/ceilometers.conf

[default]
log_dir = /var/log/ceilometer

rabbit_host = 10.10.10.61
rabbit_password = root123

[publisher_rpc]
metering_secret = 08ea76627b4ea7311903


[database]
connection = mongodb://ceilometer:root123@192.168.1.3:27017/ceilometer

[service_credentials]
os_username = ceilometer
os_tenant_name = service
os_password = root123

[keystone_authtoken]
auth_host = 10.10.10.61
auth_port = 35357
auth_protocol = http
auth_uri = http://192.168.1.3:5000
admin_tenant_name = service
admin_user = ceilometer
admin_password = root123
edit retag flag offensive close merge delete

Comments

are you sure the rabbitmq service is running well on controller node? make sure you can connect the rabbimq from compute node.

9lives gravatar image9lives ( 2014-11-04 01:15:36 -0500 )edit

yes, rabbitMQ is running properly.

amitabh sinha gravatar imageamitabh sinha ( 2014-11-04 03:05:20 -0500 )edit

Ok, for rabbit are u using the default user 'guest'? if so mebbe u need to specify it explicitly in celiometer config file both on controller and compute nodes. if this is not working, try to change the keystone_authtoken to [keystone_authtoken] auth_host = 10.10.10.61 auth_port = 5000

9lives gravatar image9lives ( 2014-11-04 04:19:11 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-11-04 01:20:25 -0500

First of all check RabbitMQ service is running or not, by using below command on controller node: 1. service rabbitmq-server status 2. Then verify the configured password is correct or not (root123).

If both are fine. Then restart the rabbitmq-servier serivce once using "service rabbitmq-server restart"

edit flag offensive delete link more

Comments

I have restarted the rabbitMQ but still i am getting same errors

amitabh sinha gravatar imageamitabh sinha ( 2014-11-04 02:59:37 -0500 )edit
0

answered 2014-11-04 05:48:45 -0500

RHK gravatar image

Hi Amitabh,

Try this once,

go to /etc/ceilometer/ceilometer.conf

#auth_protocol=https

replaced by

auth_protocol=http

Regards,
RHK

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-11-03 23:26:52 -0500

Seen: 498 times

Last updated: Nov 04 '14