Ceilometer - No meters / stats ?

asked 2016-12-23 12:01:54 -0500

nebukazar gravatar image

updated 2017-05-30 09:11:36 -0500

rbowen gravatar image

Hi,

We've been trying to install ceilometer on top of our RDO installation. We have been using the following documentation: http://docs.openstack.org/developer/c...

However, we are unable to collect any meters:

[root@rdo ~]# ceilometer meter-list
+------+------+------+-------------+---------+------------+
| Name | Type | Unit | Resource ID | User ID | Project ID |
+------+------+------+-------------+---------+------------+
+------+------+------+-------------+---------+------------+

The current ceilometer configuration file has the following for authentication:

[keystone_authtoken]
auth_uri = http://10.236.245.3:5000/v2.0
admin_password=CEILOMETER_USER_PASSWORD
identity_uri=http://10.236.245.3:35357
admin_tenant_name=services
admin_user=ceilometer

[service_credentials]
region_name=RegionOne
auth_url = http://10.236.245.3:5000
auth_type=password
password=CEILOMETER_USER_PASSWORD
project_name=services
tenant_name=services
username=ceilometer

The endpoint does exist:

[root@rdo ~]# openstack endpoint list
+----------------------------------+-----------+---------------+---------------+
| ID                               | Region    | Service Name  | Service Type  |
+----------------------------------+-----------+---------------+---------------+
| 2098f46dfa8e4f1c8989fd603b0e3cc0 | RegionOne | swift         | object-store  |
| 3291da5d4e014f0bb51ede83d97e6af5 | RegionOne | keystone      | identity      |
| 10484d7c3113484bb15b0463335b2073 | RegionOne | cinderv3      | volumev3      |
| b598245913fa4964869b4ee47a90464f | RegionOne | heat          | orchestration |
| 9442a363c28946f8a1b2bf3c9fe1bcce | RegionOne | neutron       | network       |
| c1873c87c9124d1a96904ebf4b0fef78 | RegionOne | novav3        | computev3     |
| fe06171a2cc94f4d89c0946a4b7511ff | RegionOne | nova          | compute       |
| b279efdb4d784a84a4055da091398edf | RegionOne | cinder        | volume        |
| d421a71d42a04f0dad0cc1aa982ebea8 | RegionOne | Image Service | image         |
| 60b7a4b71e434e3892793e6efd350c94 | RegionOne | ceilometer    | metering      |
| 7de135e5c14c47188dfd6b7aba5bb49b | RegionOne | cinderv2      | volumev2      |
+----------------------------------+-----------+---------------+---------------+

The DB doesn't seem to be containing any meters:

[root@rdo ~]# mongo 10.236.245.3
MongoDB shell version: 2.6.11
connecting to: 10.236.245.3/test
> use ceilometer
switched to db ceilometer
> db.meter.stats().count
0

I have pasted the errors found from the different ceilometer log files (/var/log/ceilometer/*) @ http://pastebin.com/4FyTYesK

Our hyperv node nova conf file has been modfied according to http://ask.cloudbase.it/question/654/...

We are still able to retrieve stats through PowerShell:

PS C:\Windows\system32> get-vm instance-0000001d|Enable-VMResourceMetering
PS C:\Windows\system32> get-vm instance-0000001d| measure-vm

VMName            AvgCPU(MHz) AvgRAM(M) MaxRAM(M) MinRAM(M) TotalDisk(M) NetworkInbound(M) NetworkOutbound(M)
------            ----------- --------- --------- --------- ------------ ----------------- ------------------
instance-0000001d 23          501       512       512       79           2                 2


PS C:\Windows\system32> get-vm instance-0000001d| measure-vm

VMName            AvgCPU(MHz) AvgRAM(M) MaxRAM(M) MinRAM(M) TotalDisk(M) NetworkInbound(M) NetworkOutbound(M)
------            ----------- --------- --------- --------- ------------ ----------------- ------------------
instance-0000001d 23          501       512       512       79           2                 2


PS C:\Windows\system32> get-vm instance-0000001d| measure-vm

VMName            AvgCPU(MHz) AvgRAM(M) MaxRAM(M) MinRAM(M) TotalDisk(M) NetworkInbound(M) NetworkOutbound(M)
------            ----------- --------- --------- --------- ------------ ----------------- ------------------
instance-0000001d 23          502       512       512       79           2                 2

Do you guys have any ideas what might be wrong ?

Please let me know if you guys need further information.

Thanks a lot !

edit retag flag offensive close merge delete