Initial alarming documentation

This change add the minimal documentation about alarming

DocImpact

Change-Id: Id1be0c69cef787753913af99794e295d453674f5
Remove the mongo auth warning during tests

pymongo print a warning on each mongodb connection because the url used
in tests don't have credentials, since all mongodb tests are running in
a different mongodb databases, this print many annoying line like this one:

UserWarning: database name or authSource in URI is being ignored. If you
wish to authenticate to ceilometer_90d94586954643e8811d5ecc6bacf912, you
must provide a username and password.

This change suppress this line during testing.

Fixes bug #1210674

Change-Id: Iecabca621c2fbaf15e644f2fca66b4e3b5bd04e7
Import missing gettext _

All ceilometer service/agent use gettextutils.install but
gettext method _ is not even installed for test.

This change, import gettext method _ explicitly in each file
that use _ .

Change-Id: Ic30e301f420a4626c3b8725aa450cd7638ece3fe
Imported Translations from Transifex

Change-Id: I207cd042da2272efa7a20fea6d51add663dfca6f
Merge "Initial alarming documentation"
Merge "Import missing gettext _"
Merge "Remove the mongo auth warning during tests"
Merge "Imported Translations from Transifex"
Raise error when period with negative value

Based on current implement, when use launch below REST API:
GET http://10.1.0.175:8777/v2/meters/port/statistics?period=-1
The result will be 200 OK. No any error reports. This query
should not allow negative value setting but 400 error, and
prompts like this: "Period must be positive.". Just like
setting "Limit" to negative.

Fixes bug 1212159

Change-Id: I8d547fdf8faae2094b24c81da6b233b432bc99ae
Bump hacking to 0.7.0

Fixes H602 errors

Change-Id: I071507efd9eb40240fa630ebfded8b83e54f3ce5
Imported Translations from Transifex

Change-Id: I53bcfa42c4fccc25e01bdcf4ac4d9c6c473e4574
Use new olso fixture in CM tests

Before this change mox and cfg.CONF wasn't cleaned up correctly if
skipTest is called, because when skipTest is used teardown is not
called.

Now we use the oslo fixtures to setup oslo.config and mox to ensure the
cleanup is done between each tests.

Fixes bug #1211239

Change-Id: I5075c99106742859f0705b765f8ed4aa9be494d7
Merge "Use new olso fixture in CM tests"
Doc: clearly state that one can filter on metadata

Currently, a few examples are given, but it's not clearly stated that it's
possible to run filter on the metadata as well as on the sample fields.

Change-Id: I765abc88e4b658bf3272e0a17d8def3d95eda27e
Merge "Imported Translations from Transifex"
Sync gettextutils from oslo-incubator

Partially implements bp user-locale-api

Change-Id: Ie9dd8732800bdbe1551e02853c1ffdeb88917d50
Reinitialize pipeline manager for service restart

For central and compute agent, they need to reinitialize
pipeline manager for service restart.
It depends on blueprint service-restart of oslo-incubator and
blueprint cfg-reload-config-files of oslo.config.

Implements blueprint pollster-runtime-configuration

Change-Id: Icf2597392222d6d97b3dbfd7d48e5ac3b84b175e
Fixes failed notification when deleting instance

In the notifier plugin for nova, the class Instance that translates instance_ref
returned by conduct.API to nova_client like Instance is not very robust, which
results some attributes are none or missing, and then causes pollsters raise
AttributeError or NoneTypeError

In this change, add the missing or none attributes to the Instance class.

Change-Id: I3e5aa6382021633a6bf7240bf58d3c3bed074785
Fixs: bug #1206731
Api V2 post sample refactoring

Refactoring of the post sample rest api to set the correct
source in the publisher context.
The content of the pipeline is now checked
The admin role special case is now tested

Fixes bug #1202689
Fixes bug #1204593

Change-Id: Id605ae676eddfb4a471e8a3d9f5581e0bf2b8ff0
message_id is not allowed to be submitted via api

The message_id of sample is not a modifiable value.
So, forbidden it in API.

Change-Id: Ieeb5330d36732fd9ea829b879226c5e5bb8fd083