tripleo-validations/roles/overcloud_service_status
David Vallee Delisle 4fc80c6bd5 Introducing the overcloud-service-status role
This role will hit the overcloud API for nova and cinder, retrieve the
services and will trig a failure if one of these services are either
down or deprecated. The original intent was to validate that
nova-consoleauth was deleted after an update to RHOSP16.

Related: https://bugzilla.redhat.com/1921115
Change-Id: I057349fdac90a093c67aeb0b2f0a825c4c915e0b
2021-02-16 01:35:38 +00:00
..
defaults Introducing the overcloud-service-status role 2021-02-16 01:35:38 +00:00
molecule Introducing the overcloud-service-status role 2021-02-16 01:35:38 +00:00
resources Introducing the overcloud-service-status role 2021-02-16 01:35:38 +00:00
tasks Introducing the overcloud-service-status role 2021-02-16 01:35:38 +00:00
vars Introducing the overcloud-service-status role 2021-02-16 01:35:38 +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.