Commit Graph

7 Commits

Author SHA1 Message Date
Zuul
4ce4dce575 Merge "Allow combining system_upgrade_prepare and system_upgrade_run into system_upgrade" 2019-08-21 11:42:50 +00:00
Jiri Stransky
206625d4f5 Allow combining system_upgrade_prepare and system_upgrade_run into system_upgrade
Previously we required the operator to run two separate commands for
the "prepare" and "run" phases of operating system upgrade. This
commit refactors the upgrade_tasks with these tags so that running the
whole system upgrade is possible via a single command with `--tags
system_upgrade`.

Allowing to run in a single command requires being more careful about
what can happen in which step number in the upgrade tasks. The upgrade
steps for system upgrade are now explicitly documented in composable
services readme.

The existing system_upgrade_run and system_upgrade_prepare tasks were
checked and moved into the appropriate steps. In the case of
pacemaker, it required moving the cluster stop/destroy action into a
single file with removing all containers, to guarantee that the
cluster is stopped before the container removal, otherwise pacemaker
would try to spawn new containers.

Change-Id: I3cd78de8d07be46ee01006dd7e039c285991d14a
Partial-Bug: #1831690
2019-08-13 15:34:44 +02:00
Bogdan Dobrelya
4eb6fcdcab Clarify the at most once semantics for puppets
Change-Id: Ic7a33486467f3bf520ddec7e66a45be73069be3f
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2019-08-01 17:16:21 +02:00
Dan Prince
efa3017863 Move puppet/services/README and releasenotes
Change-Id: Ib2694200e7a3bfa335bfeda68d06b0252b020f9c
Related-Blueprint: services-yaml-flattening
2019-05-30 20:37:40 +00:00
Dan Prince
ba14b75c89 Move pacemaker, pacemaker-remote into deployments
Change-Id: I0edd7a5f11b80a5995dc275fac68d231af20d5be
Related-Blueprint: services-yaml-flattening
2019-04-22 20:54:13 -04:00
Dan Prince
00842cf23a Update/combine docker/services/README.rst
This moves the contents of docker/services/README.rst into
deployment/README.rst and updates several sections with recent
architecture changes which also reflect naming changes.

Change-Id: I24dba1ff841da82ceaf80484fda756cafb68db06
2019-04-14 18:15:14 -04:00
Dan Prince
bcf80d474a Add deployments/README.rst
To help clarify current and future naming conventions in this directory.

Change-Id: Ib9d24f9844f5aecd47cdd6a47247562dce2092ee
Related-Blueprint: services-yaml-flattening
2018-12-13 10:25:09 -05:00