{"id":26493725,"url":"https://github.com/redhat-openstack/ansible-role-tripleo-overcloud-validate-ha","last_synced_at":"2026-05-16T13:02:52.325Z","repository":{"id":143947070,"uuid":"56688915","full_name":"redhat-openstack/ansible-role-tripleo-overcloud-validate-ha","owner":"redhat-openstack","description":"A role designed to validate a tripleo overcloud HA configuration and environment is working properly ","archived":false,"fork":false,"pushed_at":"2018-09-16T22:49:24.000Z","size":51,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-04-20T23:37:57.831Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redhat-openstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-04-20T13:25:05.000Z","updated_at":"2019-06-13T05:18:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"879c5499-6266-4a8a-9e84-e246b5992b80","html_url":"https://github.com/redhat-openstack/ansible-role-tripleo-overcloud-validate-ha","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/redhat-openstack/ansible-role-tripleo-overcloud-validate-ha","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-openstack%2Fansible-role-tripleo-overcloud-validate-ha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-openstack%2Fansible-role-tripleo-overcloud-validate-ha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-openstack%2Fansible-role-tripleo-overcloud-validate-ha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-openstack%2Fansible-role-tripleo-overcloud-validate-ha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redhat-openstack","download_url":"https://codeload.github.com/redhat-openstack/ansible-role-tripleo-overcloud-validate-ha/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-openstack%2Fansible-role-tripleo-overcloud-validate-ha/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33103970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-20T09:56:51.273Z","updated_at":"2026-05-16T13:02:52.320Z","avatar_url":"https://github.com/redhat-openstack.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"ansible-role-tripleo-overcloud-validate-ha\n==========================================\n\nThis role acts on an already deployed tripleo environment, testing all HA related functionalities of the installation.\n\nRequirements\n------------\n\nThis role must be used with a deployed TripleO environment, so you'll need a working directory of tripleo-quickstart with this files:\n\n- **hosts**: which will contain all the hosts used in the deployment;\n- **ssh.config.ansible**: which will have all the ssh data to connect to the undercloud and all the overcloud nodes;\n- A **config file** with a definition for the floating network (which will be used to test HA instances), like this one:\n\n      public_physical_network: \"floating\"\n      floating_ip_cidr: \"10.0.0.0/24\"\n      public_net_pool_start: \"10.0.0.191\"\n      public_net_pool_end: \"10.0.0.198\"\n      public_net_gateway: \"10.0.0.254\"    \n\nQuickstart invocation\n---------------------\n\nQuickstart can be invoked like this:\n\n    ./quickstart.sh \\\n       --retain-inventory \\\n       --playbook overcloud-validate-ha.yml \\\n       --working-dir /path/to/workdir \\\n       --requirements /path/to/quickstart-extras-requirements.txt \\\n       --config /path/to/config.yml \\\n       --release \u003cRELEASE\u003e \\\n       --tags all \\\n       \u003cHOSTNAME or IP\u003e\n\nBasically this command:\n\n- **Keeps** existing data on the repo (it's the most important one)\n- Uses the *overcloud-validate-ha.yml* playbook\n- Uses the same custom workdir where quickstart was first deployed\n- Get all the extra requirements\n- Select the specific config file (which must contain the floating network data)\n- Specifies the release (liberty, mitaka, newton or “master” for ocata)\n- Performs all the tasks in the playbook overcloud-validate-ha.yml\n- Starts the installation on virthost\n\n**Important note**\n\nIf the role is called by itself, so not in the same playbook that already deploys the environment (see [baremetal-undercloud-validate-ha.yml](https://github.com/redhat-openstack/ansible-role-tripleo-baremetal-undercloud/blob/master/playbooks/baremetal-undercloud-validate-ha.yml), you need to export *ANSIBLE_SSH_ARGS* with the path of the *ssh.config.ansible* file, like this:\n\n    export ANSIBLE_SSH_ARGS=\"-F /path/to/quickstart/workdir/ssh.config.ansible\"\n\nHA tests\n--------\n\nBy default these tests are performed per version:\n\n- Test: Look for failed actions (**all**)\n- Test: Stop master slave resources (galera and redis), all the resources should come down (**all**)\n- Test: Stop keystone resource (by stopping httpd), check no other resource is stopped (**mitaka**, **osp9**)\n- Test: next generation cluster checks (**newton**):\n  - Test: Stop every systemd resource, stop Galera and Rabbitmq, Start every systemd resource\n  - Test: Stop Galera and Rabbitmq, stop every systemd resource, Start every systemd resource\n  - Test: Stop Galera and Rabbitmq, wait 20 minutes to see if something fails\n- Test: Instance deployment (**all**)\n\nTests are performed using an external application named [tripleo-director-ha-test-suite](https://github.com/rscarazz/tripleo-director-ha-test-suite).\n\nExample Playbook\n----------------\n\nThe main playbook couldn't be simpler:\n\n    ---\n    - name:  Validate overcloud HA status\n      hosts: localhost\n      gather_facts: no\n      roles:\n        - tripleo-overcloud-validate-ha\n\nBut it could also be used at the end of a deployment, like in this file [baremetal-undercloud-validate-ha.yml](https://github.com/redhat-openstack/ansible-role-tripleo-baremetal-undercloud/blob/master/playbooks/baremetal-undercloud-validate-ha.yml).\n\nLicense\n-------\n\nApache\n\nAuthor Information\n------------------\n\nRaoul Scarazzini \u003crasca@redhat.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhat-openstack%2Fansible-role-tripleo-overcloud-validate-ha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredhat-openstack%2Fansible-role-tripleo-overcloud-validate-ha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhat-openstack%2Fansible-role-tripleo-overcloud-validate-ha/lists"}