[Openstack] openstack - Ceilometer error - [root at compute1 ceilometer]# ceilometer meter-list Error communicating with http://controller:8777 [Errno 111] Connection refused

Kiran Kumar kirankumarkuvvarapu at gmail.com
Tue May 27 13:45:14 UTC 2014


I am attaching my working havana ceilometer config file. please change
according to your current setup.


On Tue, May 27, 2014 at 5:59 PM, dhanesh1212121212 <dhanesh1212 at gmail.com>wrote:

>
> Hi,
>
> I have made those changes and started the service still same error.
>
> bind_ip = 0.0.0.0
>
> #bind_ip = 192.168.0.11
> port = 27017
> fork = true
> pidfilepath = /var/run/mongodb/mongodb.pid
> logpath = /var/log/mongodb/mongodb.log
> dbpath =/var/lib/mongodb
> journal = true
>
> [service_credentials]
> os_auth_url = http://192.168.0.11:5000/v2.0
>
> os_username = ceilometer
> os_tenant_name = service
> os_password = password
>
> [keystone_authtoken]
> auth_host = controller
> admin_user = ceilometer
> admin_tenant_name = service
> auth_protocol = http
> auth_uri = http://192.168.0.11:5000
> admin_password = password
>
>
>
> please find the api error log.
>
> [root at controller ~]# tailf /var/log/ceilometer/api.log
> 2014-05-27 17:52:41.585 6865 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
> 2014-05-27 17:52:41.586 6865 INFO keystoneclient.middleware.auth_token [-]
> Using /tmp/keystone-signing-o8F1fY as cache directory for signing
> certificate
> 2014-05-27 17:52:42.006 6865 CRITICAL ceilometer [-] OperationalError:
> (OperationalError) unable to open database file None None
>
> 2014-05-27 17:53:10.734 6906 INFO keystoneclient.middleware.auth_token [-]
> Starting keystone auth_token middleware
> 2014-05-27 17:53:10.734 6906 WARNING keystoneclient.middleware.auth_token
> [-] Configuring admin URI using auth fragments. This is deprecated, use
> 'identity_uri' instead.
> 2014-05-27 17:53:10.735 6906 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
> 2014-05-27 17:53:10.736 6906 INFO keystoneclient.middleware.auth_token [-]
> Using /tmp/keystone-signing-gFUDsF as cache directory for signing
> certificate
> 2014-05-27 17:53:11.128 6906 CRITICAL ceilometer [-] OperationalError:
> (OperationalError) unable to open database file None None
>
>
>
> please find the /etc/hosts entry
>
> [root at controller ~]# cat /etc/hosts
> 127.0.0.1   localhost localhost.localdomain localhost4
> localhost4.localdomain4
> ::1         localhost localhost.localdomain localhost6
> localhost6.localdomain6
> 192.168.0.11    controller
> 192.168.0.33    compute1
>
>
> [root at compute1 ~]# cat /etc/hosts
> 127.0.0.1   localhost localhost.localdomain localhost4
> localhost4.localdomain4
> ::1         localhost localhost.localdomain localhost6
> localhost6.localdomain6
> 192.168.0.33    compute1
> 192.168.0.11    controller
>
> Regards,
> Dhanesh.
>
>
>
> On Tue, May 27, 2014 at 5:50 PM, dhanesh1212121212 <dhanesh1212 at gmail.com>wrote:
>
>> Hi,
>>
>> Attaching both the outputs.
>>
>>
>> Regards,
>> Dhanesh.
>>
>>
>> On Tue, May 27, 2014 at 5:38 PM, Kiran Kumar <
>> kirankumarkuvvarapu at gmail.com> wrote:
>>
>>> show me the # keystone catalog ( or ) # keystone endpoint-list​
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140527/8e25ed29/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ceilometer.conf
Type: application/octet-stream
Size: 22536 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140527/8e25ed29/attachment.obj>


More information about the Openstack mailing list