tripleo-validations/playbooks/ceph-pg.yaml
Gael Chamoulaud (Strider) 39a846ca6b
Add new metadata keys to the validation playbooks
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
2021-07-22 11:56:48 +02:00

27 lines
1017 B
YAML

---
- hosts: undercloud
vars:
metadata:
name: Validate requested Ceph Placement Groups
description: |
In Ceph Lumionus and newer the Placement Group overdose protection check
(https://ceph.com/community/new-luminous-pg-overdose-protection) is
executed by Ceph before a pool is created. If the check does not pass,
then the pool is not created. When TripleO deploys Ceph it triggers
ceph-ansible which creates the pools that OpenStack needs. This
validation runs the same check that the overdose protection uses to
determine if the user should update their CephPools, PG count, or number
of OSD. Without this check a deployer may have to wait until after Ceph
is running but before the pools are created to realize the deployment
will fail.
groups: []
categories:
- storage
products:
- tripleo
- ceph
tasks:
- include_role:
name: ceph
tasks_from: ceph-pg