tripleo-heat-templates/puppet
Michele Baldessari bae48e60b3 Make sure PrePuppet runs before any Deployment_Step
We used to have this in mitaka:
https://github.com/openstack/tripleo-heat-templates/blob/stable/mitaka/puppet/controller-post.yaml#L45

but we lost it along the way. The problem without this change is that we
are open to the following race:
1) ControllerDeployment_Step1 is started and manages to do a successful
   "systemctl start pacemaker"
2) PrePuppet gets called and in the HA deployment calls
   pacemaker_maintenance_mode.sh
3) pacemaker_maintenance_mode.sh will set the maintenance-mode=true
   property because the pacemaker service is already up:
   https://github.com/openstack/tripleo-heat-templates/blob/master/extraconfig/tasks/pacemaker_maintenance_mode.sh#L8-L9
4) If the maintenance property is set to true at this stage, the
   creation of any resource will take place but they won't really
   start.

Change-Id: Icb7495edd00385b2975dd42f63085d20292ef9a9
Closes-Bug: #1673795
Co-Authored-By: Jiri Stransky <jstransk@redhat.com>
2017-03-17 15:36:50 +01:00
..
extraconfig Use the new hiera hook in all remaining templates 2017-03-06 10:33:01 +02:00
manifests Remove old ControllerConfig override from puppet-pacemaker.yaml 2017-01-03 19:45:43 +01:00
services Merge "Explicitly configure credentials used by ironic to access other services" 2017-03-17 11:55:25 +00:00
all-nodes-config.yaml Don't assume default network names in net_ip*map 2017-02-17 13:38:31 +00:00
blockstorage-role.yaml Make UpdateDeployment depend on NetworkDeployment 2017-03-01 09:51:20 +00:00
cephstorage-role.yaml Make UpdateDeployment depend on NetworkDeployment 2017-03-01 09:51:20 +00:00
compute-role.yaml Make UpdateDeployment depend on NetworkDeployment 2017-03-01 09:51:20 +00:00
config.role.j2.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
controller-role.yaml Make UpdateDeployment depend on NetworkDeployment 2017-03-01 09:51:20 +00:00
deploy-artifacts.sh Fix bug when using multiple DeployArtifactURLs 2016-12-02 16:10:52 +00:00
deploy-artifacts.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
major_upgrade_steps.j2.yaml Apply puppet in non-controller script in step. 2017-02-15 16:41:39 +01:00
objectstorage-role.yaml Make UpdateDeployment depend on NetworkDeployment 2017-03-01 09:51:20 +00:00
post-upgrade.j2.yaml Disable puppet on upgrade for roles not upgrading 2017-02-03 11:43:47 +00:00
post.j2.yaml Delivers upgrade scripts where upgrade steps are disabled 2017-02-10 10:26:43 +00:00
puppet-steps.j2 Make sure PrePuppet runs before any Deployment_Step 2017-03-17 15:36:50 +01:00
role.role.j2.yaml Make UpdateDeployment depend on NetworkDeployment 2017-03-01 09:51:20 +00:00
upgrade_config.yaml Add nova service support for composable upgrades 2017-02-14 23:23:33 +00:00