[Bug 1653231] Re: Cinder not configured to provide telemetry to ceilometer
Edward Hope-Morley
edward.hope-morley at canonical.com
Thu Jan 26 15:30:25 UTC 2017
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 at xenial$ cinder list
+--------------------------------------+-----------+------+------+-------------+----------+-------------+
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+------+------+-------------+----------+-------------+
| d154a1e8-c903-45d1-867c-8c82dc5f9c2d | available | - | 1 | - | false | |
+--------------------------------------+-----------+------+------+-------------+----------+-------------+
ubuntu at xenial$ ceilometer meter-list| grep volume
| volume.size | gauge | GB | d154a1e8-c903-45d1-867c-8c82dc5f9c2d | 0a91d38c85c9437caa92b8ac10e1eebe | 71aaf5f27079464fa6f82e23b0360a4a |
ubuntu at 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 at 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 at 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 at xenial$ ceilometer meter-list| grep volume
| volume.size | gauge | GB | d154a1e8-c903-45d1-867c-8c82dc5f9c2d | 0a91d38c85c9437caa92b8ac10e1eebe |
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to cinder in Juju Charms Collection.
Matching subscriptions: charm-bugs
https://bugs.launchpad.net/bugs/1653231
Title:
Cinder not configured to provide telemetry to ceilometer
Status in cinder package in Juju Charms Collection:
New
Bug description:
Metrics are currently not collected for Cinder volume when using
Ceilometer in a deployment.
Cinder needs a few additions to its configuration file and the
'cinder-volume-usage-audit' program needs to be run periodically on
cinder units.
I would suggest that this either is added to the cinder-charm and
activated with a relation to ceilometer or by creating a new
subordinate charm like the ceilometer-agent subordinate used for nova-
compute.
To manage notifications about this bug go to:
https://bugs.launchpad.net/charms/+source/cinder/+bug/1653231/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list