fuel-dev team mailing list archive
-
fuel-dev team
-
Mailing list archive
-
Message #00630
Re: Additional controllers in parallel
Andrew, I am not quite sure that we will not experience problems with
galera and other ha-related stuff, but we can give it a try. Github is down
now, so here is a code snippet:
diff --git a/nailgun/nailgun/orchestrator/deployment_serializers.py
b/nailgun/nailgun/orchestrator/deployment_serializers.py
index a7fb96d..d4a2f24 100644
--- a/nailgun/nailgun/orchestrator/deployment_serializers.py
+++ b/nailgun/nailgun/orchestrator/deployment_serializers.py
@@ -286,9 +286,10 @@ class
DeploymentHASerializer(DeploymentMultinodeSerializer):
for n in cls.by_role(nodes, 'primary-controller'):
n['priority'] = prior.next
+ sec_ctrls = prior.next
# Then deploy other controllers one by one
for n in cls.by_role(nodes, 'controller'):
- n['priority'] = prior.next
+ n['priority'] = sec_ctrls
On Wed, Mar 12, 2014 at 1:19 AM, Andrew Woodward <xarses@xxxxxxxxx> wrote:
> After the primary controller is instantiated, is there any reason we cant
> run any remaining controller roles in parallel?
>
> This save us on average 45 * (controllers - 1) minutes every time a
> controller role is run.
>
> --
> Mailing list: https://launchpad.net/~fuel-dev
> Post to : fuel-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~fuel-dev
> More help : https://help.launchpad.net/ListHelp
>
>
--
Yours Faithfully,
Vladimir Kuklin,
Senior Deployment Engineer,
Mirantis, Inc.
+7 (495) 640-49-04
+7 (926) 702-39-68
Skype kuklinvv
45bk3, Vorontsovskaya Str.
Moscow, Russia,
www.mirantis.com <http://www.mirantis.ru/>
www.mirantis.ru
vkuklin@xxxxxxxxxxxx
Follow ups
References