Fallback on nova.rpc for Essex

Change-Id: I2a1ca5a0c77900d2310b4534f92da885fa27f430
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
Emit meter event for instance "exists"

bug 1005941

As we check the CPU utilization for an instance also
emit a meter message indicating that the instance
still exists.

Change-Id: I7a592efc750c6e0a9a24394e05bd2d75da3377b6
Use the same instance metadata everywhere

Update the code that generates the instance metadata used in the pollsters
so that it includes all of the values pulled from the notification
messages. This keeps the metadata for an instance consistent for all
metering messages.

Change-Id: I74534e5236fd6580fad42ae4e1c7321dc880bc8f
Merge "Use the same instance metadata everywhere"
Split service preparation, periodic interval configurable

Change-Id: I71d1e81e2b2347fb7e3ba2edfa7f21eb9cffb401
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
Merge "Fallback on nova.rpc for Essex"
Essex: update Nova to 2012.1.1, add python-novaclient

Change-Id: I6881bdb8064df4e88a37ead3426d9666c0f77278
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
First draft of plugin/agent documentation. Fixes bug 1018311.

Change-Id: I5723ab7cdf3f552b23927380a764c53f7beb4f10
Configure nova.flags as well as openstack.common.cfg

Because we are using nova classes directly (Service, Manager, etc.)
we need to initialize the configuration modules that those
classes use.

Change-Id: Idafd4a8346fc59332114ea7536893470bf9eaff8
Add Sphinx wrapper around existing docs

bug 1018443

This patch sets up a basic Sphinx project to allow us to
build the documentation. It also moves the "dev" docs
into the new doc source directory.

Change-Id: Ie2ad0f2e4ed237f1373c4357d5763fd5218d738a
Merge "Add Sphinx wrapper around existing docs"
fix typo in instance properties list

Change-Id: Ib09f4ab8db06d024ff863b54702a36f6ef77698b
Documentation edits:

 * Fixes index.rst to include the writing_agent_plugin page
 * Minor typo fixes
 * Adds more links so devs can see what usage data already exists
 * Addresses review comments

Rebase against master.

Change-Id: I62160e1f5583ad540d940e1c44dbd8c6cf460e67
Remove usage of nova.log

Change-Id: Iea9ca7cfbf6bd46aa2918c7fe1c54a44bd3f38d2
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
Merge "Documentation edits:"
Reduce complexity of storage engine API

In the process of implementing the first storage
backend I realized that the proposed API was
much more complicated than necessary. This
changeset streamlines the API to make it easier
to implement the plugins.

- add ceilometer.storage.get_connection() convenience function
- add get_volume_max() method
- clean up query arg handling by using EventFilter
- tighten up the DB query API by removing separate "by_user"
  and "by_project" methods

Change-Id: Id4dffcc59dbee44fd4670bbe55b5e3380ea240e5
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Convert timestamps to datetime objects before storing

Parse the incoming timestamp strings into datetime objects
before passing them off to the storage backend.

Change-Id: I42d825c9633fa2c120409d79883756d23b045a60
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Add MongoDB engine.

This change implements the first storage backend for
ceilometer using MongoDB and makes it the default
(instead of 'log').

- require pymongo and ming for tests
- clean up entry point registration using textwrap
- sketch in a simple data dump tool (tools/show_data.py)

Change-Id: I0e3763749e88a71bc57b263ea79fff8d065c03ce
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>