MongoDB deployment in HA and simple mode should be the same

Bug #1308988 reported by Alexander Kislitsky
40
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Dmitry Ilyin

Bug Description

Release 5.0

Steps:
- Create environment in simple mode
- Add controller, compute, number of mongo nodes
- Deploy changes

Expected:
One mongo node should be primary-node
Other nodes should be in replset

Tags: mongo
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Max Mazur (mmaxur)
Changed in fuel:
status: New → Confirmed
Revision history for this message
Max Mazur (mmaxur) wrote :

Replica set is not supported in simple mode

Mike Scherbakov (mihgen)
Changed in fuel:
assignee: Max Mazur (mmaxur) → Dmitry Ilyin (idv1985)
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Dmitry Ilyin (idv1985) wrote :

This patch addresses the issue of adding many mongo nodes in simple mode https://review.openstack.org/#/c/89665/
It also requires some nailgun fixes https://review.openstack.org/#/c/89895/

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/89665
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=7effd0b11a430ddf77af55117cea97b19f4c8315
Submitter: Jenkins
Branch: master

commit 7effd0b11a430ddf77af55117cea97b19f4c8315
Author: Dmitry Ilyin <email address hidden>
Date: Wed Apr 23 22:30:50 2014 +0400

    Refactoring of mongodb host selector

    * Moving ugly puppet logic into a function.
    * Making simple mode work same as HA mode
      with primary and slave nodes

    Change-Id: Ic5a334364afcd3673d1353db3685025e9da40b97
    Closes-bug: 1308988

Changed in fuel:
status: In Progress → Fix Committed
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.