tripleo-validations/playbooks/default-node-count.yaml
Jiri Podivin d7e319b91f Refactoring default-node-count validation to use openstack-collection modules
Hypervisor statistics check has been dropped entirely, as it relies on
API deprecated by I515e484ade6c6455f82a3067940a418a0d7d965a[0]

Since reliable and standard compliant installation of ansible modules
is only possible using a collection, or system package manager,
the ansible-lint settings were adjusted to mock newly introduced modules.

Note about necessary dependencies was added to validation description.

Explanation of the mocks was added to other, previously mocked, modules,
in order to facilitate future development.

[0] 1f67ce2496

Resolves: rhbz#2149177

Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/862150

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I70765bfbe3f319fef8112ac633b1b3c38fb1488c
(cherry picked from commit 560ac96739)
(cherry picked from commit 53f97be074)
2023-01-26 11:46:26 +01:00

20 lines
464 B
YAML

---
- hosts: undercloud
vars:
metadata:
name: Verify hypervisor statistics
description: |
This validation checks that the nodes and hypervisor statistics
add up. Validation requires system installation of tripleo-ansible package.
groups:
- pre-deployment
categories:
- compute
- roles
- baremetal
- undercloud
products:
- tripleo
roles:
- default_node_count