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

dhanesh1212121212 dhanesh1212 at gmail.com
Fri May 30 10:01:27 UTC 2014


Hi All,

i have reinstalled the telemetry part alone and output is coming

Thanks for all.

But after executing the glance download command its not showing the values.

Please find the details below.

[root at controller dhanesh_backup]# ceilometer meter-list
+---------------------------------+-------+-----------+------------------------------------------+----------------------------------+----------------------------------+
| Name                            | Type  | Unit      | Resource
ID                              | User ID                          |
Project ID                       |
+---------------------------------+-------+-----------+------------------------------------------+----------------------------------+----------------------------------+
| disk.ephemeral.size             | gauge | GB        |
26f60dd9-7f17-4a28-bcc4-eab6be09918c     | 4753cf10dd5a405285412b2c499b13a6
| 863c1374386043f6a78ee9eb0bbd7adb |
| disk.ephemeral.size             | gauge | GB        |
2ce5c19c-4639-4d47-a550-a9795fd09e97     | 4753cf10dd5a405285412b2c499b13a6
| 863c1374386043f6a78ee9eb0bbd7adb |
| disk.ephemeral.size             | gauge | GB        |
5e9215c8-23f9-4a7d-8a54-c0b806f9cd94     | 4753cf10dd5a405285412b2c499b13a6
| 863c1374386043f6a78ee9eb0bbd7adb |
| disk.ephemeral.size             | gauge | GB        |
a74c081c-d578-4c4d-a677-46fbe48c2688     | 4753cf10dd5a405285412b2c499b13a6
| 863c1374386043f6a78ee9eb0bbd7adb |
| disk.ephemeral.size             | gauge | GB        |
ac344309-5e1a-49b7-9ef9-f9aa690c2eb9     | 4753cf10dd5a405285412b2c499b13a6
| 863c1374386043f6a78ee9eb0bbd7adb |
| disk.ephemeral.size             | gauge | GB        |
f06ed459-5dad-485d-9c61-160a67108687     | 4753cf10dd5a405285412b2c499b13a6
| 863c1374386043f6a78ee9eb0bbd7adb |
| disk.root.size                  | gauge | GB        |
26f60dd9-7f17-4a28-bcc4-eab6be09918c     | 4753cf10dd5a405285412b2c499b13a6
| 863c1374386043f6a78ee9eb0bbd7adb |
.........................................................................................................................................................



[root at controller dhanesh_backup]# ceilometer statistics -m image.download
-p
60+--------+--------------+------------+-------+-----+-----+-----+-----+----------+----------------+--------------+
| Period | Period Start | Period End | Count | Min | Max | Sum | Avg |
Duration | Duration Start | Duration End |
+--------+--------------+------------+-------+-----+-----+-----+-----+----------+----------------+--------------+
+--------+--------------+------------+-------+-----+-----+-----+-----+----------+----------------+--------------+


The output is blank. Please guide me on this.

Regards,
Dhanesh M.



On Tue, May 27, 2014 at 7:15 PM, Kiran Kumar <kirankumarkuvvarapu at gmail.com>
wrote:

> 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/20140530/4c567e7e/attachment.html>


More information about the Openstack mailing list