Ask Your Question
3

not getting cinder volume meters/resources from ceilometer

asked 2013-06-01 11:03:43 -0500

anonymous user

Anonymous

updated 2013-06-02 01:05:34 -0500

fifieldt gravatar image

I have created the openstack setup with devstack. I have created the volumes and instances. When I am listing resources using

http://10.102.153.37:8777/v2/resources ;

then I am getting only instnaces not volumes. Similarly I am not getting any meters.

I tried setting

notification_driver=cinder.openstack.common.notifier.rabbit_notifier 
notification_driver=cinder.openstack.common.notifier.rpc_notifier

in cinder.conf and restarting cinder-volume service and ceilometer-collector service.

Still I am not getting any volume related meters. Neither they are mentioned in resources.

In c-vol screen logs I can see below kind of logs when creating and deleting volumes.

f4-8ba8-8cdac08c7b21', 'project_id': u'39587e1865d14ea991b4ddf82c1dc1ab', 'read_deleted': u'no', 'tenant': u'39587e1865d14ea991b4ddf82c1dc1ab'}
2013-05-31 16:54:24     INFO [cinder.volume.manager] volume volume-147adb04-be41-4949-9fbf-52c871593de4: deleting
2013-05-31 16:54:24    DEBUG [cinder.openstack.common.rpc.amqp] Sending volume.delete.start on notifications.info
2013-05-31 16:54:24    DEBUG [cinder.openstack.common.rpc.amqp] UNIQUE_ID is fd2593f309ca45579955afa7eb20d6ca.
2013-05-31 16:54:24     INFO [cinder.volume.manager] Clear capabilities
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-06-13 08:26:32 -0500

You need to run cinder-volume-usage-audit and activate audit in cinder.conf

edit flag offensive delete link more
0

answered 2014-04-25 00:04:48 -0500

parash_hallur gravatar image

Folks:

I'm also trying to get the volume metering working. I enabled the ceilometer service and modified the settings in the cinder.conf as below.

notification_driver=cinder.openstack.common.notifier.rpc_notifier control_exchange=cinder volume_usage_audit_period=hour

After above changes, restarted the c-vol and ceilometer-collector, still I'm not able to see the volumes listed as resources when I tried listing the resources. All I see is only nova instances listed. Am I still missing something here? Appreciate any help.

Thanks, Parash

edit flag offensive delete link more

Comments

I got it working by installing all required services for ceilometer, I think I had missed to install ceilometer-collector.

Thanks, Parash

parash_hallur gravatar imageparash_hallur ( 2014-04-27 23:44:35 -0500 )edit

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

2 followers

Stats

Asked: 2013-06-01 11:03:43 -0500

Seen: 1,317 times

Last updated: Apr 25 '14