9b853e6b82
This patch adds two new metadata keys to the validation playbooks:
- categories: A list of technical tags
- products: A list of targeted products (here mainly TripleO)
This patch is also part of the Validation Metadata Evolution for the
Validations Framework.
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
Change-Id: I80c6b0ffb07b6311f13d7a3b83031317cd0d38de
(cherry picked from commit 39a846ca6b
)
27 lines
769 B
YAML
27 lines
769 B
YAML
---
|
|
- hosts: "{{ controller_rolename | default('Controller') }}"
|
|
vars:
|
|
metadata:
|
|
name: Check the status of the pacemaker cluster
|
|
description: |
|
|
This runs `pcs status` and checks for any failed actions.
|
|
|
|
A failed status post-deployment indicates something is not configured
|
|
correctly. This should also be run before upgrade as the process will
|
|
likely fail with a cluster that's not completely healthy.
|
|
|
|
This validation fails if pacemaker service is found failed or inactive.
|
|
groups:
|
|
- backup-and-restore
|
|
- post-deployment
|
|
categories:
|
|
- ha
|
|
- clustering
|
|
- system
|
|
- os
|
|
products:
|
|
- tripleo
|
|
- pacemaker
|
|
roles:
|
|
- pacemaker_status
|