6a3081beac
This patch adds a molecule configuration file at the repository
level (tripleo-validations/.config/molecule/config.yml) which defines
all the default values for molecule.yml files in all roles.
This patch also introduces a common Dockerfile (UBI8 image) shared
between all the role molecule tests. This Dockerfile will install the
CentOS 8.x Linux Repos and GPG Keys during the image build.
This Dockerfile is located in tripleo-validations/.config/molecule
directory and it is shared through a relative symbolic link between all
the molecule directories.
NOTE: tox-ansible doesn't manage shared molecule configuration at the
project level (see [1]). To be able to use it, we have to explicitly add
the driver name in each molecule.yml file in the roles level. Once [1]
will be fixed, these will be removed.
[1] - https://github.com/ansible-community/tox-ansible/issues/88).
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
Change-Id: I4717825e2767dc55016a30fb62aa6a5541f26cfd
(cherry picked from commit
|
||
---|---|---|
.. | ||
defaults | ||
molecule | ||
resources | ||
tasks | ||
vars | ||
README.md |
README.md
Overcloud-service-status
An Ansible role to verify the Overcloud services states after a deployment or an update. It checks the API /os-services and looks for deprecated services (nova-consoleauth) or any down services.
Requirements
This role needs to be run on an Undercloud with a deployed Overcloud.
Role Variables
- overcloud_service_status_debug: Wether or not to log the token request
- overcloud_deprecated_services: A list of services that shouldn't be registered any more
- overcloud_service_api: overcloud API to validate against
These variables are normally set as host variables for the undercloud when generating the inventory with tripleo-ansible-inventory:
- overcloud_keystone_url
- overcloud_admin_password
Dependencies
No dependencies.
Example Playbook
- hosts: undercloud
roles:
- { role: overcloud_service_status }
License
Apache
Author Information
Red Hat Nova Deployment Squad Team.