ceilometer and gnocchi: no resources or metrics
Hi, I have a Newton manual setup in Ubuntu servers. I was using ceilometer with mongoDB backend, now I'm moving to Gnocchi and can't get it to work. This is what I got so far:
- Installed and configured Gnocchi with file storage DB, mysql indexer and keystone authentication.
- Configured gnocchi user, admin role and endpoints.
- Configured gnocchi as meter_dispatcher (no events) in ceilometer, and "gnocchi://" publisher in the pipeline (both controller and compute nodes); defined archive_policy as medium.
- Ran gnocchi-upgrade and initiated gnocchi api and metricd services successfully.
- Ran ceilometer-upgrade skipping both metering and event DBs / reloaded ceilometer services.
In ceilometer notification logs, I see some data being transformed:
2017-02-16 22:49:03.111 2773 DEBUG ceilometer.transformer.conversions [-] handling sample <name: disk.device.read.bytes, volume: 20182016, resource_id: d4e33a65-ff76-43ab-8423-12d1a07fd6e2-vda, timestamp: 2017-02-17T03:49:03.088084> handle_sample /usr/lib/python2.7/dist-packages/ceilometer/transformer/conversions.py:184
2017-02-16 22:49:03.113 2773 DEBUG ceilometer.transformer.conversions [-] converted to: <name: disk.device.read.bytes.rate, volume: 0.0, resource_id: d4e33a65-ff76-43ab-8423-12d1a07fd6e2-vda, timestamp: 2017-02-17T03:49:03.088084> handle_sample /usr/lib/python2.7/dist-packages/ceilometer/transformer/conversions.py:212
I have the resource types populated:
os@controller:~$ gnocchi resource-type list
+----------------------------+-------------------------------------------------------------------------------------+
| name | attributes |
+----------------------------+-------------------------------------------------------------------------------------+
| ceph_account | |
| generic | |
| host | - host_name: min_length: 0 , max_length: 255 , type: string , required: True |
| host_disk | - host_name: min_length: 0 , max_length: 255 , type: string , required: True |
| | - device_name: min_length: 0 , max_length: 255 , type: string , required: False |
...
I see the archive policies in the metric list:
os@controller:~$ gnocchi metric list
+--------------------------------------+---------------------+------+------+-------------+
| id | archive_policy/name | name | unit | resource_id |
+--------------------------------------+---------------------+------+------+-------------+
| 4e6dfdf5-fd01-4202-b50c-4a5f1ba62595 | high | None | None | None |
| 849c2e24-680b-48fd-b423-e862eac7c0e0 | low | None | None | None |
| b1f8ac47-7091-446f-a22e-4a0b92460a86 | high | None | None | None |
+--------------------------------------+---------------------+------+------+-------------+
But no instance metrics or resources at all, there should be at least the default ones from ceilometer right? I have some machines running but resource list shows empty.
Any hint will be appreciated.
Thanks.