tripleo-validations/roles/overcloud_service_status
Gael Chamoulaud (Strider) 6a3081beac
Add shared configuration for all molecule test
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 66193a69b7)
2021-06-02 10:57:47 +02:00
..
defaults Introducing the overcloud-service-status role 2021-02-16 01:35:38 +00:00
molecule Add shared configuration for all molecule test 2021-06-02 10:57:47 +02:00
resources Validation should use the public endpoint 2021-04-28 08:19:46 -04:00
tasks Validation should use the public endpoint 2021-04-28 08:19:46 -04:00
vars [overcloud-service-status] Removing pre-upgrade 2021-05-19 13:52:45 +00:00
README.md Introducing the overcloud-service-status role 2021-02-16 01:35:38 +00:00

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.