Mongo role cannot scale beyond 7 nodes

Bug #1654279 reported by Michele Baldessari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
Low
Unassigned

Bug Description

When scaling the mongo role to more than seven nodes we get this:
Error: /Stage[main]/Tripleo::Profile::Base::Database::Mongodb/Mongodb_replset[tripleo]: Could not evaluate: rs.initiate() failed for replicaset tripleo: couldn't initiate : replSet bad config maximum number of voting members is 7

The problem is that all our mongo nodes are voting so we hit the limit:
https://docs.mongodb.com/manual/tutorial/expand-replica-set/#maximum-voting-members

We should probably find a way to make any nodes > 7 be a non voting member or some other mechanism to differentiate them (maybe an ad hoc service profile?)

Changed in tripleo:
status: New → Triaged
Revision history for this message
Michele Baldessari (michele) wrote :

We could probably add "votes: 0" added to the replset config entries of any nodes with id > 7. But this will need some thinking around scaling up/down and node replacement.

Changed in tripleo:
milestone: pike-1 → pike-2
Changed in tripleo:
milestone: pike-2 → pike-3
Changed in tripleo:
milestone: pike-3 → pike-rc1
Changed in tripleo:
milestone: pike-rc1 → queens-1
Changed in tripleo:
milestone: queens-1 → queens-2
Changed in tripleo:
milestone: queens-2 → queens-3
Changed in tripleo:
milestone: queens-3 → queens-rc1
Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Revision history for this message
Michele Baldessari (michele) wrote :

We don't care about mongo any longer. Closing.

Changed in tripleo:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.