Pacemaker args must be included before containers

Today if we want a containerized highly available deployment with
quickstart we need to override the command line parameters inside the
"container_args" variable.
By logic, if one needs HA he will include also "pacemaker: true" in his
config, and this will populate also "pacemaker_args" variable. The
defaults of the overcloud-deploy role are set so that on the deploy
command line pacemaker_args comes after container_args. This breaks
things since the included pacemaker yaml overrides the most of the
OS::TripleO::Services inclusions. Putting it after would avoid this.
Another solution is to put "pacemaker: false" so that no inclusion is
made, but it's somehow illogical.

Change-Id: I9d8781621bdc0b776165a790ea493ab5cfcbd946
This commit is contained in:
Raoul Scarazzini 2017-07-03 05:05:27 -04:00
parent 4a0a436678
commit d370ac1b54

View File

@ -101,9 +101,9 @@ deploy_args: >-
{{ cloud_name_args }}
{{ multinode_args }}
{{ scenario_args }}
{{ pacemaker_args }}
{{ container_args }}
{{ network_args }}
{{ pacemaker_args }}
{{ resource_registry_nic_configs_args }}
{{ workers_args }}
{{ backup_args }}