Ensure that the user/project exist on alarm update

This patch ensure that the user and project exists before updating the
alarm.

Closes bug #1260776

Change-Id: I25cf55d91b78a32bda671426972b7f418bf85e21
Move sphinxcontrib-httpdomain to test-requirements

The sphinxcontrib-httpdomain is now in the global-requirements list, so,
it'll be better to track *all* requirements in the corresponding files.

Change-Id: I6cd9eb8982cd49be1c59680a16d66acd30b9a29f
Imported Translations from Transifex

Change-Id: Icfae3ea229a737b69feb8efc6520f243320d93af
Ensure the correct error message is displayed

When a untranslated error message pass through the translation pecan
hook, the previous translated error is send to the client.

This patch fix that by reseting the "translatable_error" of the
translation pecan hook before each request.

Change-Id: Icee79cf09fd696655048c7c0cf8a3d6706e31701
Fixes: bug #1260398
Add metadata query validation limitation

There is currently no way to pre-determine the schema of
resource_metadata. So it will be hard to validate when
running a query. This patch includes this limitation in
ceilometer documentation.

Change-Id: I804467c3bb8e7d336ae881b25434063839951724
Partial-Bug: #1245367
Merge "Imported Translations from Transifex"
Merge "Move sphinxcontrib-httpdomain to test-requirements"
Convert event timestamp to PrecisionTimestamp

Before the timestamps for event and trait are stored in a Float
In mysql, the default precision won't work well, this one are rounded.

This patch, change the Float by the PrecisionTimestamp Column Type, like
the sample timestamp that demand the same precision.

And ensure that get_events always return datetime object.

Change-Id: I1f986784b07afa50bdbb7faa9499e7b614da8ec1
Merge "Add metadata query validation limitation"
Merge "Ensure that the user/project exist on alarm update"
Sync config generator from oslo-incubator

Sync from oslo-incubator with the following patches about the config
generator so that adding new config group won't result the huge change
in the config generator's output.

4b3e32b Sort the output of config/generator.py by group name

Change-Id: Ibe0687711e75366a6d11442dd6b2237b1bb91e11
Merge "Ensure the correct error message is displayed"
Merge "Convert event timestamp to PrecisionTimestamp"
Merge "Sync config generator from oslo-incubator"
Correct env variable in file oslo.config.generator.rc

Use CEILOMETER_CONFIG_GENERATOR_EXTRA_MODULES as the environment
variable to include keystoneclient middleware's option in the config
generator's output.

Change-Id: Ibddeb587b22a0569dcb8db58d7cd8626b4482cb6
Closes-Bug: 1262331
Don't assume alarms are returned in insert order

The previous implentation of the tests assure than the db backends
return the alarms into the insert order. This is false for mysql.

The patch rewritte the tests to make it compatible to mysql

Change-Id: I146de0d8cef78b6c734bc6742238b939422645b9
storage: factorize not implemented methods

There's a lot of driver that are not implementing everything, and as
time goes by, this is getting and going to be more and more common. Not
all drivers are suited to do everything, so implementing every methods
as abstract makes a lot of NotImplementedError raising redundant.

This patch makes stop using that and remove a lot of useless copy pasted
code.

Change-Id: I9e48c4f0484033061a3c3461d761e4cea4b8e75e
Merge "Don't assume alarms are returned in insert order"
Merge "storage: factorize not implemented methods"
Ensure we are not exhausting the sqlalchemy pool

Because of eventlet, notification messages can be consumed more quickly
that than they are wroted to the database, this have to effect to exhaust
the sqlalchemy connection pool and raise:

TimeoutError: QueuePool limit of size 5 overflow 10 reached, connection
timed out, timeout 30

The patch creates a eventlet pool to ensure that the pool never exhausts
and prints a warning message in the log to inform that perhaps the pool
size need to be increased.

Fixes bug #1243251

Change-Id: I5ccdc141c441db32fab361783a31a96015516878