diff --git a/doc/source/index.rst b/doc/source/index.rst index e09afe97c..2aeb81afd 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -47,6 +47,7 @@ Existing validations: validations-pre-update-run-details validations-pre-update-converge-details validations-post-update-details + validations-backup-and-restore-details Indices and tables diff --git a/groups.yaml b/groups.yaml index dc85395d4..48bed336d 100644 --- a/groups.yaml +++ b/groups.yaml @@ -8,6 +8,10 @@ prep: - description: >- Validations check the hardware configuration of the Undercloud node and should be run before **openstack undercloud install**. +backup-and-restore: + - description: >- + Validations which should be run to validate your OpenStack + deployment before you backup it and after restore it. openshift-on-openstack: - description: >- Validations which will check that the environment meets the requirements diff --git a/playbooks/ceph-health.yaml b/playbooks/ceph-health.yaml index 91d2a51ce..3cbf995df 100644 --- a/playbooks/ceph-health.yaml +++ b/playbooks/ceph-health.yaml @@ -7,6 +7,7 @@ Uses `ceph health` to check if cluster is in HEALTH_WARN state and prints a debug message. groups: + - backup-and-restore - post-deployment - post-ceph tripleo_delegate_to: "{{ groups['ceph_mon'] | default([]) }}" diff --git a/playbooks/container-status.yaml b/playbooks/container-status.yaml index c6dd37820..ab5fe0d66 100644 --- a/playbooks/container-status.yaml +++ b/playbooks/container-status.yaml @@ -6,6 +6,7 @@ description: | Detect failed containers and raise an error. groups: + - backup-and-restore - pre-upgrade - pre-update - post-deployment diff --git a/playbooks/healthcheck-service-status.yaml b/playbooks/healthcheck-service-status.yaml index 31ddc7fa5..bd1583fd4 100644 --- a/playbooks/healthcheck-service-status.yaml +++ b/playbooks/healthcheck-service-status.yaml @@ -6,6 +6,7 @@ description: | Check for failed healthcheck systemd services. groups: + - backup-and-restore - post-deployment retries_number: 1 delay_number: 1 diff --git a/playbooks/image-serve.yaml b/playbooks/image-serve.yaml index a9adba569..7446045d3 100644 --- a/playbooks/image-serve.yaml +++ b/playbooks/image-serve.yaml @@ -6,6 +6,7 @@ description: | Ensures image-serve vhost is configured and httpd is running. groups: + - backup-and-restore - pre-upgrade - post-deployment - post-upgrade diff --git a/playbooks/neutron-sanity-check.yaml b/playbooks/neutron-sanity-check.yaml index 344120478..90a3bac9e 100644 --- a/playbooks/neutron-sanity-check.yaml +++ b/playbooks/neutron-sanity-check.yaml @@ -12,6 +12,7 @@ to the Neutron services. groups: + - backup-and-restore - post-deployment roles: diff --git a/playbooks/nova-status.yaml b/playbooks/nova-status.yaml index b16b37541..05f7ccfc8 100644 --- a/playbooks/nova-status.yaml +++ b/playbooks/nova-status.yaml @@ -17,6 +17,7 @@ 1 -> At least one check encountered an issue and requires further investigation. This is considered a warning but the upgrade may be OK. 2 -> There was an upgrade status check failure that needs to be investigated. This should be considered something that stops an upgrade. groups: + - backup-and-restore - pre-upgrade roles: - nova_status diff --git a/playbooks/pacemaker-status.yaml b/playbooks/pacemaker-status.yaml index 8e83304b1..b3c95822b 100644 --- a/playbooks/pacemaker-status.yaml +++ b/playbooks/pacemaker-status.yaml @@ -10,6 +10,7 @@ correctly. This should also be run before upgrade as the process will likely fail with a cluster that's not completely healthy. groups: + - backup-and-restore - post-deployment roles: - pacemaker_status diff --git a/playbooks/undercloud-service-status.yaml b/playbooks/undercloud-service-status.yaml index 3de401ea6..e814d4e83 100644 --- a/playbooks/undercloud-service-status.yaml +++ b/playbooks/undercloud-service-status.yaml @@ -6,6 +6,7 @@ description: | Check undercloud status before running a stack update - especially minor update and major upgrade. groups: + - backup-and-restore - post-upgrade - pre-upgrade - post-update diff --git a/role-addition.yml b/role-addition.yml index 317f7b760..69b465d4e 100644 --- a/role-addition.yml +++ b/role-addition.yml @@ -113,6 +113,7 @@ description: | Write a description of your validations groups: + - backup-and-restore - no-op - prep - pre-introspection