Ask Your Question
0

(KILO) Horizon Dashboard throwing Ceilometer errors

asked 2015-08-25 10:06:33 -0500

jscheponik gravatar image

This is a vanilla build, following the standard instructions found here. Currently running into an issue with the Horizon dashboard not showing resource data or even finding metrics. From the command line, Ceilometer is working as expected:

[root@usewdcld001 api]# ceilometer meter-list
    +---------------------------------+------------+-----------+-----------------------------------------------------------------------+----------------------------------+----------------------------------+
    | Name                            | Type       | Unit      | Resource ID                                                           | User ID                          | Project ID                       |
    +---------------------------------+------------+-----------+-----------------------------------------------------------------------+----------------------------------+----------------------------------+
    | cpu                             | cumulative | ns        | 5513cc76-60ac-4b86-8f3a-6f891d4d2e0f                                  | 3d2b7c07c2034454b1f868ab7de2bde7 | 2ca2bddd4938459ea9c86f86c585fdc8 |
    | cpu                             | cumulative | ns        | 6540bf2a-b3da-4313-9cb3-5a89d3b7cfae                                  | b5f31bac38cb483e95b47fd8daf7ae2c | 3f331d90547642d6aaf67e34196d568e |
    | cpu_util                        | gauge      | %         | 5513cc76-60ac-4b86-8f3a-6f891d4d2e0f                                  | 3d2b7c07c2034454b1f868ab7de2bde7 | 2ca2bddd4938459ea9c86f86c585fdc8 |
    | cpu_util                        | gauge      | %         | 6540bf2a-b3da-4313-9cb3-5a89d3b7cfae                                  | b5f31bac38cb483e95b47fd8daf7ae2c | 3f331d90547642d6aaf67e34196d568e |
    | disk.allocation                 | gauge      | B         | 5513cc76-60ac-4b86-8f3a-6f891d4d2e0f                                  | 3d2b7c07c2034454b1f868ab7de2bde7 | 2ca2bddd4938459ea9c86f86c585fdc8 |
    | disk.capacity                   | gauge      | B         | 5513cc76-60ac-4b86-8f3a-6f891d4d2e0f                                  | 3d2b7c07c2034454b1f868ab7de2bde7 | 2ca2bddd4938459ea9c86f86c585fdc8 |
    ....

I am also able to verify that data is being collected as expected...

[root@usewdcld001 api]# ceilometer sample-show  42875416-4aae-11e5-91bf-3ca82a200ff0
+-------------+--------------------------------------------------------------------------+
| Property    | Value                                                                    |
+-------------+--------------------------------------------------------------------------+
| id          | 42875416-4aae-11e5-91bf-3ca82a200ff0                                     |
| metadata    | {"ramdisk_id": "None", "flavor.vcpus": "1", "OS-EXT-                     |
|             | AZ.availability_zone": "nova", "display_name": "testStack-server-        |
|             | t45ob46fukpb", "flavor.ram": "512", "status": "active", "ephemeral_gb":  |
|             | "0", "flavor.name": "m1.tiny", "disk_gb": "1", "kernel_id": "None",      |
|             | "image.id": "072415f2-f9c0-4df5-b709-79a844b08962", "flavor.id": "1",    |
|             | "host": "96cb7596eeb4c186b64e8b07fd1367644f9e5b98d699f436817998bc",      |
|             | "device": "['vda']", "flavor.ephemeral": "0", "image.name":              |
|             | "cirros-0.3.4-x86_64", "image_ref_url": "http://controller:8774/302dc641 |
|             | 47044c32bcc7584073342594/images/072415f2-f9c0-4df5-b709-79a844b08962",   |
|             | "image.links": "[{'href': 'http://controller:8774/302dc64147044c32bcc758 |
|             | 4073342594/images/072415f2-f9c0-4df5-b709-79a844b08962', 'rel':          |
|             | 'bookmark'}]", "flavor.disk": "1", "root_gb": "1", "name":               |
|             | "instance-00000005", "memory_mb": "512", "instance_type": "1", "vcpus":  |
|             | "1", "image_ref": "072415f2-f9c0-4df5-b709-79a844b08962",                |
|             | "flavor.links": "[{'href':                                               |
|             | 'http://controller:8774/302dc64147044c32bcc7584073342594/flavors/1',     |
|             | 'rel': 'bookmark'}]"}                                                    |
| meter       | disk.write.requests                                                      |
| project_id  | 2ca2bddd4938459ea9c86f86c585fdc8                                         |
| recorded_at | 2015-08-24T22:20:03.043000                                               |
| resource_id | 5513cc76-60ac-4b86-8f3a-6f891d4d2e0f                                     |
| source      | openstack                                                                |
| timestamp   | 2015-08-24T22:20:00                                                      |
| type        | cumulative                                                               |
| unit        | request                                                                  |
| user_id     | 3d2b7c07c2034454b1f868ab7de2bde7                                         |
| volume      | 81.0                                                                     |
+-------------+--------------------------------------------------------------------------+

[root@usewdcld001 api]# ceilometer statistics -m network.incoming.bytes -p 60
+--------+---------------------+---------------------+---------+---------+---------+---------+-------+----------+---------------------+---------------------+
| Period | Period Start        | Period End          | Max     | Min     | Avg     | Sum     | Count | Duration | Duration Start      | Duration End        |
+--------+---------------------+---------------------+---------+---------+---------+---------+-------+----------+---------------------+---------------------+
| 60     | 2015-08-24T18:29:43 | 2015-08-24T18:30:43 | 64084.0 | 21885.0 | 42984.5 | 85969.0 | 2     | 0.0      | 2015-08-24T18:30:00 | 2015-08-24T18:30:00 |
| 60     | 2015-08-24T18:39:43 | 2015-08-24T18:40:43 | 64084.0 | 21885.0 | 42984.5 | 85969.0 | 2     | 0.0      | 2015-08-24T18:40:00 | 2015-08-24T18:40:00 |
| 60     | 2015-08-24T18:49:43 | 2015-08-24T18:50:43 | 64084.0 | 21885.0 | 42984.5 | 85969.0 | 2     | 0.0      | 2015-08-24T18:50:01 | 2015-08-24T18:50:01 |
| 60     | 2015-08-24T18:59:43 | 2015-08-24T19:00:43 | 64084.0 | 21885.0 | 42984.5 | 85969.0 | 2     | 0.0      | 2015-08-24T19:00:00 | 2015-08-24T19:00:00 |
| 60     | 2015-08-24T19:09:43 | 2015-08-24T19:10:43 | 64084.0 | 21885.0 | 42984.5 | 85969.0 | 2     | 0.0      | 2015-08-24T19:10:00 | 2015-08-24T19:10:00 |
| 60     | 2015-08-24T19:19:43 | 2015-08-24T19:20:43 | 64084.0 | 21885.0 | 42984.5 | 85969.0 | 2     | 0.0      | 2015-08-24T19:20:00 | 2015-08-24T19:20:00 |
| 60     | 2015-08-24T19:29:43 | 2015-08-24T19:30:43 | 64084.0 | 21885.0 | 42984.5 | 85969.0 | 2     | 0.0      | 2015-08-24T19:30:00 | 2015-08-24T19:30:00 |
| 60     | 2015-08-24T19:39:43 | 2015-08-24T19:40:43 | 64084.0 | 21885.0 | 42984.5 | 85969.0 | 2     | 0.0      | 2015-08-24T19:40:00 | 2015-08-24T19:40:00 |
| 60     | 2015-08-24T19:49:43 | 2015-08-24T19:50:43 | 64084.0 | 21885.0 | 42984.5 | 85969.0 | 2     | 0.0      | 2015-08-24T19:50:00 | 2015-08-24T19:50:00 |
| 60     | 2015-08-24T19:59:43 | 2015-08-24T20:00:43 | 64084.0 | 21885.0 | 42984.5 | 85969.0 | 2     | 0.0      | 2015-08-24T20:00:00 | 2015-08-24T20:00:00 |
| 60     | 2015-08-24T20:09:43 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-08-27 09:03:56 -0500

jscheponik gravatar image

ceilometer fixed. upgraded python-ceilometerclient from v1.0.13 to v1.0.14. Bug Info. seems they merged the fix, but hasn't made it into kilo/stable yet.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-08-25 10:06:33 -0500

Seen: 201 times

Last updated: Aug 27 '15