8 Commits

Author SHA1 Message Date
Mark McLoughlin
5181724ece Use oslo-config-2013.1b3
The cfg API is now available via the oslo-config library, so switch to
it and remove the copied-and-pasted version.

Add the 2013.1b3 tarball to tools/pip-requires - this will be changed
to 'oslo-config>=2013.1' when oslo-config is published to pypi. This
will happen in time for grizzly final.

For each testenv in tox.ini which overrides the base testenv deps list,
explicitly include {pip,test}-requires in the list so that oslo-config
doesn't fail to install later when easy_install attempts to install
the tarball when doing 'python setup.py install'.

Retain dummy cfg.py file until keystoneclient middleware has been
updated (I18c450174277c8e2d15ed93879da6cd92074c27a).

Change-Id: I4815aeb8a9341a31a250e920157f15ee15cfc5bc
2013-02-18 12:38:10 +00:00
Angus Salkeld
2789f144d4 Use the service.py in openstack-common
Also change the collector from a manager into a Service
to make it easier to access the rpc connection.

Change-Id: I1d79abb1db087110d565a9673a48de0502ac2a2b
2012-11-05 08:28:59 +11:00
Julien Danjou
3c01ccefd5 Split service preparation, periodic interval configurable
Change-Id: I71d1e81e2b2347fb7e3ba2edfa7f21eb9cffb401
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
2012-06-26 15:40:38 +02:00
Julien Danjou
8780157755 Add and use ceilometer own log module
This fixes bug #1004130

Change-Id: I143124ad411d5efefa604e831173dca87548bd7f
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
2012-06-07 16:24:07 +02:00
Julien Danjou
6fa69bbdcc Use new flag API
This changed since 00786bc554a2dfacb3c6f02fbb7e9c98f35d4262 for blueprint
cfg-global-object in Nova.

Change-Id: Iaae34a1e4953c964b99411247219f7b72358823f
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
2012-06-04 10:32:16 +02:00
Doug Hellmann
5e0a32f475 Add tox configuration
Change-Id: Ic4051617b5757c649cd59dacf8e9dd9d7e9819a6
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
2012-05-30 15:32:19 +02:00
Doug Hellmann
b76f67d11f Publish and receive metering messages
bug 1004198
bug 1004200

- Set up the collector to receive the metering messages.
- Make the collector republish notifications as metering data.
- Add a "monitor" mode to tools/notificationclient.py to simply print
  the events without writing them to a file.
- Add a --topic flag to tools/notificationclient.py so it can be made
  to listen events other than notifications (for monitoring metering
  events).
- Change "counter_datetime" within the metering message to "timestamp"
  to be consistent with the notification message format.
- Add a configuration option to control the secret value for signing
  metering messages.
- Make the collector and agent daemon control topics more specific.
- Use the config setting to set the metering topic subscription.
- Set a short interval for polling to get more data for development
  testing.
- Log after successful load of pollsters instead of before attempt.

Change-Id: Iedfe26f8a4fa80d88cd0a76e5738001ba5689bdc
2012-05-25 19:31:58 -04:00
Julien Danjou
5717e9c5c9 Build ceilometer-agent and ceilometer-collector
Change-Id: I0cc5b163ac638f33397e7e7a9c046dca3e2939e9
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
2012-05-23 11:32:49 +02:00