Re: [Openstack] configure devstack to get cinder volume events/meters from ceilometer

2013-06-06 Thread Darren Birkett
On 4 June 2013 15:03, Julien Danjou jul...@danjou.info wrote:

  the exchange used to send notifications need to match between Cinder and
  Ceilometer configurations.
  since ceilometer has 'cinder' as default and cinder has 'openstack' as
  default
 
  try to set in cinder.conf:
  control_exchange=cinder

 This is bug in Cinder. One should check if it's reported already, it
 would be trivial to fix…


A couple of the other projects I checked (nova/quantum) also use
'openstack' as the default control_exchange.  Should these also be set to
their project name?
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] configure devstack to get cinder volume events/meters from ceilometer

2013-06-04 Thread Anshul Gangwar
I want to receive cinder volume meters from ceilometer.  What changes shall i 
make in localrc file of devstack to acheive this?

I have already tried as describe in previous query 
https://lists.launchpad.net/openstack/msg24112.html


Thanks,
Anshul
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] configure devstack to get cinder volume events/meters from ceilometer

2013-06-04 Thread Julien Danjou
On Tue, Jun 04 2013, Anshul Gangwar wrote:

 I want to receive cinder volume meters from ceilometer.  What changes shall i 
 make in localrc file of devstack to acheive this?

You need:

notification_driver=cinder.openstack.common.notifier.rpc_notifier

and usage audit enabled and running.

-- 
Julien Danjou
-- Free Software hacker - freelance consultant
-- http://julien.danjou.info


signature.asc
Description: PGP signature
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] configure devstack to get cinder volume events/meters from ceilometer

2013-06-04 Thread Anshul Gangwar
I have already added 
notification_driver=cinder.openstack.common.notifier.rpc_notifier and restarted 
cinder-volume service.

How can I enable usage audit ?

I have already tried things which I have described in my previous query  
https://lists.launchpad.net/openstack/msg24112.html





 From: Julien Danjou jul...@danjou.info
To: Anshul Gangwar anshul1...@yahoo.co.in 
Cc: openstack@lists.launchpad.net openstack@lists.launchpad.net 
Sent: Tuesday, 4 June 2013 1:31 PM
Subject: Re: [Openstack] configure devstack to get cinder volume events/meters 
from ceilometer
 

On Tue, Jun 04 2013, Anshul Gangwar wrote:

 I want to receive cinder volume meters from ceilometer.  What changes shall i 
 make in localrc file of devstack to acheive this?

You need:

notification_driver=cinder.openstack.common.notifier.rpc_notifier

and usage audit enabled and running.

-- 
Julien Danjou
-- Free Software hacker - freelance consultant
-- http://julien.danjou.info___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] configure devstack to get cinder volume events/meters from ceilometer

2013-06-04 Thread Swann Croiset
the exchange used to send notifications need to match between Cinder and 
Ceilometer configurations.
since ceilometer has 'cinder' as default and cinder has 'openstack' as 
default


try to set in cinder.conf:
control_exchange=cinder


And i don't know what is usage audit here ...



Le 04/06/2013 10:08, Anshul Gangwar a écrit :
I have already added 
notification_driver=cinder.openstack.common.notifier.rpc_notifier and 
restarted cinder-volume service.


How can I enable usage audit ?

I have already tried things which I have described in my previous 
query https://lists.launchpad.net/openstack/msg24112.html




*From:* Julien Danjou jul...@danjou.info
*To:* Anshul Gangwar anshul1...@yahoo.co.in
*Cc:* openstack@lists.launchpad.net openstack@lists.launchpad.net
*Sent:* Tuesday, 4 June 2013 1:31 PM
*Subject:* Re: [Openstack] configure devstack to get cinder volume 
events/meters from ceilometer


On Tue, Jun 04 2013, Anshul Gangwar wrote:

 I want to receive cinder volume meters from ceilometer.  What 
changes shall i make in localrc file of devstack to acheive this?


You need:

notification_driver=cinder.openstack.common.notifier.rpc_notifier

and usage audit enabled and running.

--
Julien Danjou
-- Free Software hacker - freelance consultant
-- http://julien.danjou.info http://julien.danjou.info/



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp



--
Swann Croiset
Software Engineer
Bull, Architect of an Open World
Phone: + 33 4 76 29 74 70

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] configure devstack to get cinder volume events/meters from ceilometer

2013-06-04 Thread Julien Danjou
On Tue, Jun 04 2013, Swann Croiset wrote:

 the exchange used to send notifications need to match between Cinder and
 Ceilometer configurations.
 since ceilometer has 'cinder' as default and cinder has 'openstack' as
 default

 try to set in cinder.conf:
 control_exchange=cinder

This is bug in Cinder. One should check if it's reported already, it
would be trivial to fix…

-- 
Julien Danjou
/* Free Software hacker * freelance consultant
   http://julien.danjou.info */


signature.asc
Description: PGP signature
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp