Nailgun doesn't send primary-mongo role in single deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Alexander Kislitsky |
Bug Description
Naigun should choose one of Mongo nodes as primary similiar to HA mode
diff --git a/nailgun/
index 802fe85..8a4e2b6 100644
--- a/nailgun/
+++ b/nailgun/
@@ -96,6 +96,7 @@ class DeploymentMulti
+ cls.set_
attrs = dict_merge(
attrs,
@@ -161,6 +162,9 @@ class DeploymentMulti
for n in cls.by_role(nodes, 'mongo'):
+ for n in cls.by_role(nodes, 'primary-mongo'):
+ n['priority'] = prior.next
+
for n in cls.by_role(nodes, 'controller'):
Changed in fuel: | |
importance: | Undecided → High |
milestone: | none → 5.0 |
assignee: | nobody → Evgeniy L (rustyrobot) |
Changed in fuel: | |
assignee: | Evgeniy L (rustyrobot) → Fuel Python Team (fuel-python) |
status: | New → Triaged |
Changed in fuel: | |
status: | Triaged → Fix Committed |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Alexander Kislitsky (akislitsky) |
Changed in fuel: | |
status: | Fix Committed → In Progress |
Reviewed: https:/ /review. openstack. org/89895 /git.openstack. org/cgit/ stackforge/ fuel-web/ commit/ ?id=d7d85312381 af194bd163163da 9a1a82c922d23a
Committed: https:/
Submitter: Jenkins
Branch: master
commit d7d85312381af19 4bd163163da9a1a 82c922d23a
Author: Dmitry Ilyin <email address hidden>
Date: Fri Apr 25 16:53:25 2014 +0400
Primary-mongo node selection in simple mode added
* primary-mongo selection node added into simple mode serizlizer
* mongo nodes priority fixed: mongo, primary-mongo, controllers
Change-Id: I7769fa3e28d2f1 12a9ddcf9459dc8 78117ad3d34
Closes-Bug: 1311779
Closes-Bug: 1312637