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.
Reviewed: https:/ /review. openstack. org/34157 github. com/openstack/ ceilometer/ commit/ a2b6dc4ed2b0397 2b53c278b0d23ba 03e84565b0
Committed: http://
Submitter: Jenkins
Branch: master
commit a2b6dc4ed2b0397 2b53c278b0d23ba 03e84565b0
Author: xingzhou <email address hidden>
Date: Thu Jun 20 04:37:58 2013 -0400
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: I8404ca5b08b6e7 3366161c07b3815 f75bed7e0eb
Fixes: Bug 1188649