I just ried a test. The cinder charm is already configured to provide notifications ("[oslo_messaging_notifications] driver = messagingv2") but I am not seeing all the expected meters as per http://docs.openstack.org/admin-guide/telemetry-measurements.html#openstack-block-storage:
ubuntu@xenial$ cinder list +--------------------------------------+-----------+------+------+-------------+----------+-------------+ | ID | Status | Name | Size | Volume Type | Bootable | Attached to | +--------------------------------------+-----------+------+------+-------------+----------+-------------+ | d154a1e8-c903-45d1-867c-8c82dc5f9c2d | available | - | 1 | - | false | | +--------------------------------------+-----------+------+------+-------------+----------+-------------+ ubuntu@xenial$ ceilometer meter-list| grep volume | volume.size | gauge | GB | d154a1e8-c903-45d1-867c-8c82dc5f9c2d | 0a91d38c85c9437caa92b8ac10e1eebe | 71aaf5f27079464fa6f82e23b0360a4a | ubuntu@xenial$ ceilometer sample-list| grep volume | 09458900-e3d9-11e6-991e-fa163e150a2a | d154a1e8-c903-45d1-867c-8c82dc5f9c2d | volume.size | gauge | 1.0 | GB | 2017-01-26T15:06:39.201000 | | 08656f00-e3d9-11e6-991e-fa163e150a2a | d154a1e8-c903-45d1-867c-8c82dc5f9c2d | volume.size | gauge | 1.0 | GB | 2017-01-26T15:06:37.723000 | ubuntu@xenial$ nova volume-attach bb5a6774-8620-4a7d-aa85-e590c6dfa6b0 d154a1e8-c903-45d1-867c-8c82dc5f9c2d +----------+--------------------------------------+ | Property | Value | +----------+--------------------------------------+ | device | /dev/vdb | | id | d154a1e8-c903-45d1-867c-8c82dc5f9c2d | | serverId | bb5a6774-8620-4a7d-aa85-e590c6dfa6b0 | | volumeId | d154a1e8-c903-45d1-867c-8c82dc5f9c2d | +----------+--------------------------------------+ ubuntu@xenial$ ceilometer meter-list| grep volume | volume.size | gauge | GB | d154a1e8-c903-45d1-867c-8c82dc5f9c2d | 0a91d38c85c9437caa92b8ac10e1eebe | juju ssh cinder/0 sudo cinder-volume-usage-audit Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future. 2017-01-26 15:25:24.008 13018 WARNING oslo_config.cfg [req-21c4fbd0-ee80-4b19-8ea1-a978c354cb6e - - - - -] Option "notification_driver" from group "DEFAULT" is deprecated. Use option "driver" from group "oslo_messaging_notifications". /usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py:241: NotSupportedWarning: Configuration option(s) ['use_tpool'] not supported Connection to 2001:db8:0:1:f816:3eff:fef0:165c closed. ubuntu@xenial$ ceilometer meter-list| grep volume | volume.size | gauge | GB | d154a1e8-c903-45d1-867c-8c82dc5f9c2d | 0a91d38c85c9437caa92b8ac10e1eebe |
I just ried a test. The cinder charm is already configured to provide notifications ("[oslo_ messaging_ notifications] driver = messagingv2") but I am not seeing all the expected meters as per http:// docs.openstack. org/admin- guide/telemetry -measurements. html#openstack- block-storage:
ubuntu@xenial$ cinder list ------- ------- ------- ------- ----+-- ------- --+---- --+---- --+---- ------- --+---- ------+ ------- ------+ ------- ------- ------- ------- ----+-- ------- --+---- --+---- --+---- ------- --+---- ------+ ------- ------+ c903-45d1- 867c-8c82dc5f9c 2d | available | - | 1 | - | false | | ------- ------- ------- ------- ----+-- ------- --+---- --+---- --+---- ------- --+---- ------+ ------- ------+ c903-45d1- 867c-8c82dc5f9c 2d | 0a91d38c85c9437 caa92b8ac10e1ee be | 71aaf5f27079464 fa6f82e23b0360a 4a | e3d9-11e6- 991e-fa163e150a 2a | d154a1e8- c903-45d1- 867c-8c82dc5f9c 2d | volume.size | gauge | 1.0 | GB | 2017-01- 26T15:06: 39.201000 | e3d9-11e6- 991e-fa163e150a 2a | d154a1e8- c903-45d1- 867c-8c82dc5f9c 2d | volume.size | gauge | 1.0 | GB | 2017-01- 26T15:06: 37.723000 | 8620-4a7d- aa85-e590c6dfa6 b0 d154a1e8- c903-45d1- 867c-8c82dc5f9c 2d ----+-- ------- ------- ------- ------- ------- -+ ----+-- ------- ------- ------- ------- ------- -+ c903-45d1- 867c-8c82dc5f9c 2d | 8620-4a7d- aa85-e590c6dfa6 b0 | c903-45d1- 867c-8c82dc5f9c 2d | ----+-- ------- ------- ------- ------- ------- -+ c903-45d1- 867c-8c82dc5f9c 2d | 0a91d38c85c9437 caa92b8ac10e1ee be | volume- usage-audit ee80-4b19- 8ea1-a978c354cb 6e - - - - -] Option "notification_ driver" from group "DEFAULT" is deprecated. Use option "driver" from group "oslo_messaging _notifications" . python2. 7/dist- packages/ oslo_db/ sqlalchemy/ enginefacade. py:241: NotSupportedWar ning: Configuration option(s) ['use_tpool'] not supported 0:1:f816: 3eff:fef0: 165c closed. c903-45d1- 867c-8c82dc5f9c 2d | 0a91d38c85c9437 caa92b8ac10e1ee be |
+------
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+------
| d154a1e8-
+------
ubuntu@xenial$ ceilometer meter-list| grep volume
| volume.size | gauge | GB | d154a1e8-
ubuntu@xenial$ ceilometer sample-list| grep volume
| 09458900-
| 08656f00-
ubuntu@xenial$ nova volume-attach bb5a6774-
+------
| Property | Value |
+------
| device | /dev/vdb |
| id | d154a1e8-
| serverId | bb5a6774-
| volumeId | d154a1e8-
+------
ubuntu@xenial$ ceilometer meter-list| grep volume
| volume.size | gauge | GB | d154a1e8-
juju ssh cinder/0 sudo cinder-
Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future.
2017-01-26 15:25:24.008 13018 WARNING oslo_config.cfg [req-21c4fbd0-
/usr/lib/
Connection to 2001:db8:
ubuntu@xenial$ ceilometer meter-list| grep volume
| volume.size | gauge | GB | d154a1e8-