Ask Your Question
0

no volume.exists in ceilometer

asked 2015-05-07 09:00:41 -0500

Gauvain Pocentek gravatar image

Hi,

I'm trying to retrieve volume information for a given period in Ceilometer. I'm testing on devstack with the stable/kilo branch.

Ceilometer receives volume.create/volume.delete events, along with volume detail ('volume' and 'volume.size' meters). My problem is that I don't receive information about the current existence of a volume. The doc states that a 'volume.exists' event/meter should exist, but it is not the case.

Any clue about what could be missing? Thanks.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2015-05-08 21:19:21 -0500

sunnyarora gravatar image

updated 2015-05-15 05:46:27 -0500

have you added below settings in cinder.conf ?

cinder_volume_usage_audit=True

cinder_volume_usage_audit_period=hour

notification_driver=cinder.openstack.common.notifier.rpc_notifier

control_exchange=cinder

Then you can either run manually Or set a cronjob for "cinder-volume-usage-audit" ref link

also check if there is cinder time mismatch as reported here

edit flag offensive delete link more

Comments

Thanks, it works well.

Gauvain Pocentek gravatar imageGauvain Pocentek ( 2015-05-17 09:02:31 -0500 )edit
0

answered 2017-02-24 16:16:18 -0500

Am Ab gravatar image

I've configured cinder.conf with your recommended settings in mitaka, this is the only report that I see when running cinder_volume_usage_audit:

Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future. /usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py:241: NotSupportedWarning: Configuration option(s) ['use_tpool'] not supported exception.NotSupportedWarning

edit flag offensive delete link more
0

answered 2015-11-30 05:16:30 -0500

Hi, Changing the driver to messaging helped me.

Can you tell me what is the difference between messaging and messagingv3 and what other driver options are available?

And why a deprecated driver listed is in cinder.conf?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-05-07 09:00:41 -0500

Seen: 496 times

Last updated: Feb 24 '17