Skip to content

Instantly share code, notes, and snippets.

@pkilambi
Last active March 11, 2016 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkilambi/af45c4cce8027e6517ca to your computer and use it in GitHub Desktop.
Save pkilambi/af45c4cce8027e6517ca to your computer and use it in GitHub Desktop.
I validated the gnocchi integration end to end with ceilometer in tripleo:
1. file backend as default:
Connection to 192.0.2.17 closed.
Overcloud Endpoint: http://192.0.2.17:5000/v2.0
Overcloud Deployed
* On overcloud: Uploaded image to glance, and booted a nova vm to trigger metrics
* Check if metrics are propogated from ceilometer collector and flow into gnocchi:
$ gnocchi metric list
+--------------------------------------+---------------------+--------------------------+--------------------------------------+
| id | archive_policy/name | name | resource_id |
+--------------------------------------+---------------------+--------------------------+--------------------------------------+
| 09b93d0e-0605-4081-9f19-ea789e1c50f0 | high | cpu_util | f532f39e-8400-484c-b42f-95bd554283b0 |
| 0fb24eda-e084-4e40-ae60-cf1e88cb134a | high | disk.latency | f532f39e-8400-484c-b42f-95bd554283b0 |
| 19163921-4102-478b-ba05-1506b450ba02 | high | disk.root.size | f532f39e-8400-484c-b42f-95bd554283b0 |
| 1b9fbe76-4d6f-4f3b-8af9-489972b7974c | high | disk.allocation | f532f39e-8400-484c-b42f-95bd554283b0 |
| 2821975a-9627-444c-92b2-73557a4e2c02 | high | disk.write.requests.rate | f532f39e-8400-484c-b42f-95bd554283b0 |
| 3be0102d-19e5-4d42-85a2-4fcddd3b6141 | high | disk.usage | f532f39e-8400-484c-b42f-95bd554283b0 |
| 46bc779d-a983-4f1e-9af0-23ec166b526b | high | instance | f532f39e-8400-484c-b42f-95bd554283b0 |
| 4c457fa1-10b4-46e6-90f6-f5b266b73f45 | high | memory.resident | f532f39e-8400-484c-b42f-95bd554283b0 |
| 5760bc02-b3ec-4b8f-85c4-efad5c15901d | high | disk.capacity | f532f39e-8400-484c-b42f-95bd554283b0 |
| 58363c33-e57f-4734-9946-7952cecc20cf | high | cpu | f532f39e-8400-484c-b42f-95bd554283b0 |
| 60982d31-2a67-40db-9ee7-75a2c97449d1 | high | disk.ephemeral.size | f532f39e-8400-484c-b42f-95bd554283b0 |
| 64f898f4-a780-4df4-87da-48ae98e2dd17 | high | disk.iops | f532f39e-8400-484c-b42f-95bd554283b0 |
| 73154a8b-07a3-48bb-88d8-e26bae08cc3e | high | disk.write.bytes | f532f39e-8400-484c-b42f-95bd554283b0 |
| 89267a02-2a9b-4214-bd66-c32e25aaef90 | high | cpu.delta | f532f39e-8400-484c-b42f-95bd554283b0 |
| a6cba349-b837-426d-b40f-4d38bf999dca | high | disk.read.bytes | f532f39e-8400-484c-b42f-95bd554283b0 |
| a92986e1-6ecb-4eb2-9b25-dcd6890d73b9 | high | disk.read.requests.rate | f532f39e-8400-484c-b42f-95bd554283b0 |
| b5688c56-7600-4702-a67e-8ad59df407f4 | high | memory | f532f39e-8400-484c-b42f-95bd554283b0 |
| b94c1cd8-1e93-4a61-990a-0d4ce688958e | high | disk.write.bytes.rate | f532f39e-8400-484c-b42f-95bd554283b0 |
| beaeeaa2-02ae-4780-84e8-80a3519c8525 | high | disk.read.bytes.rate | f532f39e-8400-484c-b42f-95bd554283b0 |
| c473bf08-abaf-4cde-aecc-ee01f6bfab87 | high | memory.usage | f532f39e-8400-484c-b42f-95bd554283b0 |
| dce8b6e7-1e3d-48e3-b583-317f0c72446e | high | vcpus | f532f39e-8400-484c-b42f-95bd554283b0 |
| dd4fd819-ee15-4dfa-8ff2-ec56eb2ab6f1 | high | disk.write.requests | f532f39e-8400-484c-b42f-95bd554283b0 |
| f32ebfcf-bdc4-4b16-971b-39ec8b6ab546 | high | disk.read.requests | f532f39e-8400-484c-b42f-95bd554283b0 |
+--------------------------------------+---------------------+--------------------------+--------------------------------------+
* Note as of today the default archive policy needs to be created manually. But with this patch merged in gnocchi, we dont have to do that anymore:
https://review.openstack.org/#/c/290626/
Everything is functional from gnocchi POV.
2. Switched backend from file to swift/ceph (post deployment) and verified the same.
Originally we wanted swift to be the default backend. But as the gnocchi user/project is not created by keystone until the stack is created, deployment was failing. With file backend as default, all is well.
3. No upgrades needed as gnocchi is a new service.
Hope this helps with reviews.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment