tripleo-heat-templates/deployment/cinder
Damien Ciabrini 2d7c682342 HA: fix <service>_restart_bundle with minor update workflow
For each HA service we have a paunch container <service>_restart_bundle
which is started by paunch whenever config files changes during stack
deploy/update. This container runs a pcs command on a single node to
restart all the service's containers (e.g. all galera on all controllers).
By design, when it is run, configs have already been regenerated by the
deploy tasks on all nodes.

For minor updates, the workflow runs differently: all the steps of the
deploy tasks are run one node after the other, so when
<service>_restart_bundle is called, there is no guarantee that the
service's configs have been regenerated on all the nodes yet.

To fix the wrong restart behaviour, only restart local containers when
running during a minor update. And run once per node. When the minor
update workflow calls <service>_restart_container, we still have the
guarantee that the config files are already regenerated locally.

Co-Authored-By: Michele Baldessari <michele@acksyn.org>
Co-Authored-By: Luca Miccini <lmiccini@redhat.com>

Change-Id: I92d4ddf2feeac06ce14468ae928c283f3fd04f45
Closes-Bug: #1841629
(manually cherry picked from commit 7f785e8757)
2019-09-06 13:45:11 +02:00
..
cinder-api-container-puppet.yaml Remove pre-upgrade best-effort online data migrations 2019-08-27 16:19:06 +02:00
cinder-backend-dellemc-unity-puppet.yaml flatten cinder service configuration 2019-01-18 08:55:26 -05:00
cinder-backend-dellemc-vmax-iscsi-puppet.yaml flatten cinder service configuration 2019-01-18 08:55:26 -05:00
cinder-backend-dellemc-vnx-puppet.yaml flatten cinder service configuration 2019-01-18 08:55:26 -05:00
cinder-backend-dellemc-xtremio-iscsi-puppet.yaml flatten cinder service configuration 2019-01-18 08:55:26 -05:00
cinder-backend-dellps-puppet.yaml flatten cinder service configuration 2019-01-18 08:55:26 -05:00
cinder-backend-dellsc-puppet.yaml flatten cinder service configuration 2019-01-18 08:55:26 -05:00
cinder-backend-netapp-puppet.yaml Update parameters for cinder's Netapp backend 2019-01-24 15:39:00 -05:00
cinder-backend-nvmeof-puppet.yaml flatten cinder service configuration 2019-01-18 08:55:26 -05:00
cinder-backend-pure-puppet.yaml Add missing entries for Pure Storage Cinder Backend and fix typos 2019-01-23 09:34:13 -05:00
cinder-backend-scaleio-puppet.yaml flatten cinder service configuration 2019-01-18 08:55:26 -05:00
cinder-backend-veritas-hyperscale-puppet.yaml flatten cinder service configuration 2019-01-18 08:55:26 -05:00
cinder-backup-container-puppet.yaml Use RpcPort for container healthchecks 2019-05-10 09:24:44 -04:00
cinder-backup-pacemaker-puppet.yaml HA: fix <service>_restart_bundle with minor update workflow 2019-09-06 13:45:11 +02:00
cinder-base.yaml Add cinder credentials to nova conf 2019-05-21 18:39:00 +05:30
cinder-common-container-puppet.yaml Fix bare reference of cinder_enable_iscsi_backend 2019-06-17 14:15:26 +00:00
cinder-hpelefthand-iscsi-puppet.yaml flatten cinder service configuration 2019-01-18 08:55:26 -05:00
cinder-scheduler-container-puppet.yaml Stop services for unupgraded controllers 2019-07-16 15:24:04 +02:00
cinder-volume-container-puppet.yaml Use RpcPort for container healthchecks 2019-05-10 09:24:44 -04:00
cinder-volume-pacemaker-puppet.yaml HA: fix <service>_restart_bundle with minor update workflow 2019-09-06 13:45:11 +02:00