diff --git a/roles/instance-ha/README.md b/roles/instance-ha/README.md index 891a63d..278c9b9 100644 --- a/roles/instance-ha/README.md +++ b/roles/instance-ha/README.md @@ -7,12 +7,12 @@ deployed TripleO overcloud environment. Requirements ------------ -The TripleO environment must be prepared as described [here](https://github.com/redhat-openstack/tripleo-quickstart-utils/tree/master/README.md). +The TripleO environment must be prepared as described [here](https://github.com/openstack/tripleo-ha-utils/tree/master/README.md). **NOTE**: Instance-HA depends on STONITH. This means that all the steps performed by this role make sense only if on the overcloud STONITH has been configured. There is a dedicated role that automates the STONITH -configuration, named [stonith-config](https://github.com/redhat-openstack/tripleo-quickstart-utils/tree/master/roles/stonith-config). +configuration, named [stonith-config](https://github.com/openstack/tripleo-ha-utils/tree/master/roles/stonith-config). Instance HA ----------- @@ -184,27 +184,27 @@ Examples on how to invoke the playbook via ansible This command line will install the whole instance-ha solution, with controller stonith, compute stonith and all the instance ha steps in: - ansible-playbook /home/stack/tripleo-quickstart-utils/playbooks/overcloud-instance-ha.yml -e release="rhos-10" + ansible-playbook /home/stack/tripleo-ha-utils/playbooks/overcloud-instance-ha.yml -e release="rhos-10" By default the playbook will install the instance-ha solution with the shared storage configuration, but it is possible to make the installation in a no shared storage environment, passing the **instance_ha_shared_storage** variable as **false**: - ansible-playbook /home/stack/tripleo-quickstart-utils/playbooks/overcloud-instance-ha.yml -e release="rhos-10" -e instance_ha_shared_storage=false + ansible-playbook /home/stack/tripleo-ha-utils/playbooks/overcloud-instance-ha.yml -e release="rhos-10" -e instance_ha_shared_storage=false If a user already installed STONITH for controllers and wants just to apply all the instance HA steps with STONITH for the compute nodes can launch this: - ansible-playbook /home/stack/tripleo-quickstart-utils/playbooks/overcloud-instance-ha.yml -e release="rhos-10" -e stonith_devices="computes" + ansible-playbook /home/stack/tripleo-ha-utils/playbooks/overcloud-instance-ha.yml -e release="rhos-10" -e stonith_devices="computes" To uninstall the whole instance HA solution: - ansible-playbook /home/stack/tripleo-quickstart-utils/playbooks/overcloud-instance-ha.yml -e release="rhos-10" -e instance_ha_action="uninstall" + ansible-playbook /home/stack/tripleo-ha-utils/playbooks/overcloud-instance-ha.yml -e release="rhos-10" -e instance_ha_action="uninstall" Or if you a user needs to omit STONITH for the controllers: - ansible-playbook /home/stack/tripleo-quickstart-utils/playbooks/overcloud-instance-ha.yml -e release="rhos-10" -e stonith_devices="computes" -e instance_ha_action="uninstall" + ansible-playbook /home/stack/tripleo-ha-utils/playbooks/overcloud-instance-ha.yml -e release="rhos-10" -e stonith_devices="computes" -e instance_ha_action="uninstall" Is it also possible to totally omit STONITH configuration by passing "none" as the value of *stonith_devices*. diff --git a/roles/stonith-config/README.md b/roles/stonith-config/README.md index 621ae93..2fa1892 100644 --- a/roles/stonith-config/README.md +++ b/roles/stonith-config/README.md @@ -8,7 +8,7 @@ the hosts that are part of the overcloud. Requirements ------------ -The TripleO environment must be prepared as described [here](https://github.com/redhat-openstack/tripleo-quickstart-utils/tree/master/README.md). +The TripleO environment must be prepared as described [here](https://github.com/openstack/tripleo-ha-utils/tree/master/README.md). STONITH ------- @@ -44,7 +44,7 @@ And something like this, depending on how many nodes are there in the overcloud: ipmilan-overcloud-compute-1 (stonith:fence_ipmilan): Started overcloud-controller-1 Having all this in place is a requirement for a reliable HA solution and for -configuring special OpenStack features like [Instance HA](https://github.com/redhat-openstack/tripleo-quickstart-utils/tree/master/roles/instance-ha). +configuring special OpenStack features like [Instance HA](https://github.com/openstack/tripleo-ha-utils/tree/master/roles/instance-ha). **Note**: by default this role configures STONITH for the controllers nodes, but it is possible to configure all the nodes or to limitate it just for @@ -61,19 +61,19 @@ Examples on how to invoke the playbook via ansible This command line will install the STONITH devices for the controller nodes: - ansible-playbook /home/stack/tripleo-quickstart-utils/playbooks/overcloud-stonith-config.yml -e release="rhos-10" + ansible-playbook /home/stack/tripleo-ha-utils/playbooks/overcloud-stonith-config.yml -e release="rhos-10" If a user wants to install the STONITH devices for all the nodes: - ansible-playbook /home/stack/tripleo-quickstart-utils/playbooks/overcloud-stonith-config.yml -e release="rhos-10" -e stonith_devices="all" + ansible-playbook /home/stack/tripleo-ha-utils/playbooks/overcloud-stonith-config.yml -e release="rhos-10" -e stonith_devices="all" To uninstall the STONITH devices for the controllers: - ansible-playbook /home/stack/tripleo-quickstart-utils/playbooks/overcloud-stonith-config.yml -e release="rhos-10" -e stonith_action="uninstall" + ansible-playbook /home/stack/tripleo-ha-utils/playbooks/overcloud-stonith-config.yml -e release="rhos-10" -e stonith_action="uninstall" To uninstall the STONITH devices just for the computes: - ansible-playbook /home/stack/tripleo-quickstart-utils/playbooks/overcloud-stonith-config.yml -e release="rhos-10" -e stonith_action="uninstall" -e stonith_devices="computes" + ansible-playbook /home/stack/tripleo-ha-utils/playbooks/overcloud-stonith-config.yml -e release="rhos-10" -e stonith_action="uninstall" -e stonith_devices="computes" The STONITH role supports also "none" as a valid value for *stonith_devices* which can become useful when configuring instance HA in an environment already diff --git a/roles/validate-ha/README.md b/roles/validate-ha/README.md index 1250aaa..97bdc14 100644 --- a/roles/validate-ha/README.md +++ b/roles/validate-ha/README.md @@ -7,7 +7,7 @@ functionalities of the installation. Requirements ------------ -The TripleO environment must be prepared as described [here](https://github.com/redhat-openstack/tripleo-quickstart-utils/tree/master/README.md). +The TripleO environment must be prepared as described [here](https://github.com/openstack/tripleo-ha-utils/tree/master/README.md). This role tests also instances spawning and to make this working the definition of the floating network must be passed. @@ -60,15 +60,15 @@ have been done in mitaka, and we will force the execution of the "ng_a" test described earlier, which is originally executed just in newton versions or above. -All tests are performed using the tool [ha-test-suite](https://github.com/redhat-openstack/tripleo-quickstart-utils/tree/master/tools/ha-test-suite). +All tests are performed using the tool [ha-test-suite](https://github.com/openstack/tripleo-ha-utils/tree/master/tools/ha-test-suite). Examples on how to invoke the playbook via ansible -------------------------------------------------- Here's a way to invoke the tests from an *undercloud* machine prepared as -described [here](https://github.com/redhat-openstack/tripleo-quickstart-utils/tree/master/README.md). +described [here](https://github.com/openstack/tripleo-ha-utils/tree/master/README.md). - ansible-playbook /home/stack/tripleo-quickstart-utils/playbooks/overcloud-validate-ha.yml \ + ansible-playbook /home/stack/tripleo-ha-utils/playbooks/overcloud-validate-ha.yml \ -e release=ocata \ -e local_working_dir=/home/stack \ -e private_net_cidr="192.168.1.0/24" \ @@ -81,7 +81,7 @@ described [here](https://github.com/redhat-openstack/tripleo-quickstart-utils/tr Note that the variables above can be declared inside a config.yml file that can be passed to the ansible-playbook command like this: - ansible-playbook -vvvv /home/stack/tripleo-quickstart-utils/playbooks/overcloud-validate-ha.yml -e @/home/stack/config.yml + ansible-playbook -vvvv /home/stack/tripleo-ha-utils/playbooks/overcloud-validate-ha.yml -e @/home/stack/config.yml The result will be the same. diff --git a/roles/validate-ha/tasks/main.yml b/roles/validate-ha/tasks/main.yml index ae9e42e..16515a2 100644 --- a/roles/validate-ha/tasks/main.yml +++ b/roles/validate-ha/tasks/main.yml @@ -10,7 +10,7 @@ - name: Copy ha-test-suite on controllers shell: > - /usr/bin/rsync --delay-updates -F --compress --archive -e 'ssh -F {{ local_working_dir }}/ssh.config.ansible' {{ local_working_dir }}/tripleo-quickstart-utils/tools/ha-test-suite {{ hostvars[item]['ansible_hostname'] }}: + /usr/bin/rsync --delay-updates -F --compress --archive -e 'ssh -F {{ local_working_dir }}/ssh.config.ansible' {{ local_working_dir }}/tripleo-ha-utils/tools/ha-test-suite {{ hostvars[item]['ansible_hostname'] }}: delegate_to: "localhost" with_items: - "{{ groups['controller'] }}"