Enable Ceilometer to support mongodb replication set

At present, ceilometer does not support mongodb replication set.
As a result, when the primary mongod node is down, ceilometer can
not write or read meters.

Use pymongo.Connection object's replicaSet param and allowing to connect
with a host seed list will let the mongodb connection support replication set.

Change-Id: I8404ca5b08b6e73366161c07b3815f75bed7e0eb
Fixes: Bug 1188649
Update Oslo

Change-Id: Ia657b83f6d1b9f1fe887c6813834efef04c0cbf2
Signed-off-by: Julien Danjou <julien@danjou.info>
Fix flake8 errors

Fix exclude rules so we do not run flake8 against code in the build,
.tox, or openstack/common directories since this code is not "ours."

Fix flake8 errors in other code.

Update the config checker script so if there are differences they
are printed to the output. This should help track down false
negatives in the tests.

Change-Id: I9938846943b7f8aab20f02266b870d560c6a2f80
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Merge "Enable Ceilometer to support mongodb replication set"
Add pollster data cache

Add a dictionary as a data cache for the pollsters,
creating it outside of the loop where they are
invoked and passing it to them. Future changesets will
include changes to the pollsters to put data in the
cache.

blueprint one-meter-per-plugin

Change-Id: Ie65526dfe65a8880ad8683b62fae62f8e7f9e69b
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Update glance pollster to use cache

Save the images being scanned by the glance
pollster to the cache.

blueprint one-meter-per-plugin

Change-Id: I7fc808e7b6f0c0ca93a10319574cbb865a69a424
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Update floating-ip pollster to use cache

Use the pollster cache to store the list of floating IPs.

blueprint one-meter-per-plugin

Change-Id: I05da484a3336a59f1ceab335028aa8149f636019
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Update kwapi pollster to use cache

Use the pollster cache to store the list of probes.

blueprint one-meter-per-plugin

Change-Id: I60d9277b2ef1db9bb118cb7fa26ca940b3cc2de8
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
update Quantum references to Neutron

implements bug 1197208

Change-Id: I5b9467a0534a0842b0262efa79f316178780f0bd
enable v2 api sqlalchemy tests

enable v2 api sqlalchemy tests
fix how mongo impl calculates period start time

Change-Id: I6149f6b77b5d82a93d1b3e92a2940f6bf953ad72
sqlalchemy: fix performance issue on get_meters()

Change SQL query to fix performance issue on Connection.get_meters().
It affects response time of 'ceilometer meter-list'.

Fixes: Bug #1180438

Change-Id: I8ff6e03b9487705fea277066fbc51f554c54bba5
Filter query op:gt does not work as expected

At present, when using timestamp to filter resource or sample data, ceilometer
is using gte for start_timestamp and lt for end_timestamp.
This fix will pass the timestamp operator in the request to the storage level
to support gt operator for the start_timestamp and le for the end_stamp.

The changes will be applied to the get_resources and get_samples methods of
hbase, mongodb and sqlalchemy.

Change-Id: I3fb7651b588400df804ab8bb522084e766744f96
Fixes: Bug 1193926
Imported Translations from Transifex

Change-Id: I0bdc07897be2b3f62926c08a39e1271b2479f7c1
Merge "Fix flake8 errors"
Merge "Add pollster data cache"
Merge "Update glance pollster to use cache"
Merge "Update floating-ip pollster to use cache"
Merge "Update kwapi pollster to use cache"
Merge "Filter query op:gt does not work as expected"
Merge "sqlalchemy: fix performance issue on get_meters()"