lpreports doesn't get new primary on mongo replicaset rebuild
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Low
|
Fuel Infra Apps |
Bug Description
Hi,
I've the following issue with LP-reports:
When mongodb in replicaset elects new primary lpreports doesn't catch it up until restart which causes app failure:
Traceback (most recent call last):
File "/usr/lib/
return self.wsgi_
File "/usr/lib/
response = self.make_
File "/usr/lib/
return original_handler(e)
File "/usr/lib/
reraise(
File "/usr/lib/
response = self.full_
File "/usr/lib/
rv = self.handle_
File "/usr/lib/
return original_handler(e)
File "/usr/lib/
reraise(
File "/usr/lib/
rv = self.dispatch_
File "/usr/lib/
return self.view_
File "/usr/lib/
db.
File "/usr/lib/
store.
File "/usr/lib/
with self._socket_
File "/usr/lib/
return self.gen.next()
File "/usr/lib/
server = self._get_
File "/usr/lib/
address))
File "/usr/lib/
self.
pymongo.
Changed in fuel: | |
status: | In Progress → Confirmed |
Changed in fuel: | |
status: | Confirmed → Fix Released |
We don't support mongodb replica set. We'll look this at this when when we would have time to make application able to run on several nodes and support multiple connections to mongodb.