diff --git a/doc/source/developer-docs/ops-galera-recovery.rst b/doc/source/developer-docs/ops-galera-recovery.rst index fd8d29e377..31b20c82fd 100644 --- a/doc/source/developer-docs/ops-galera-recovery.rst +++ b/doc/source/developer-docs/ops-galera-recovery.rst @@ -27,7 +27,6 @@ continue to process SQL requests. .. code-block:: shell-session - # . /usr/local/bin/openstack-ansible.rc # ansible galera_container -m shell -a "mysql -h localhost \ -e 'show status like \"%wsrep_cluster_%\";'" node3_galera_container-3ea2cbd3 | FAILED | rc=1 >> @@ -69,7 +68,6 @@ recover cannot join the cluster because it no longer exists. .. code-block:: shell-session - # . /usr/local/bin/openstack-ansible.rc # ansible galera_container -m shell -a "mysql \ -h localhost -e 'show status like \"%wsrep_cluster_%\";'" node2_galera_container-49a47d25 | FAILED | rc=1 >> @@ -120,7 +118,6 @@ recover cannot join the cluster because it no longer exists. .. code-block:: shell-session - # . /usr/local/bin/openstack-ansible.rc # ansible galera_container -m shell -a "mysql \ -h localhost -e 'show status like \"%wsrep_cluster_%\";'" node3_galera_container-3ea2cbd3 | success | rc=0 >> @@ -157,7 +154,6 @@ the cluster have failed: .. code-block:: shell-session - # . /usr/local/bin/openstack-ansible.rc # ansible galera_container -m shell -a "cat /var/lib/mysql/grastate.dat" node3_galera_container-3ea2cbd3 | success | rc=0 >> # GALERA saved state @@ -241,7 +237,6 @@ Recovering from certain failures require rebuilding one or more containers. .. code-block:: shell-session - # . /usr/local/bin/openstack-ansible.rc # ansible galera_container -m shell -a "mysql \ -h localhost -e 'show status like \"%wsrep_cluster_%\";'" node3_galera_container-3ea2cbd3 | success | rc=0 >> @@ -282,7 +277,6 @@ Recovering from certain failures require rebuilding one or more containers. .. code-block:: shell-session - # . /usr/local/bin/openstack-ansible.rc # ansible galera_container -m shell -a "mysql \ -h localhost -e 'show status like \"%wsrep_cluster_%\";'" node2_galera_container-49a47d25 | success | rc=0 >> diff --git a/doc/source/developer-docs/ops-galera-remove.rst b/doc/source/developer-docs/ops-galera-remove.rst index eebe66d976..961753ae9b 100644 --- a/doc/source/developer-docs/ops-galera-remove.rst +++ b/doc/source/developer-docs/ops-galera-remove.rst @@ -8,7 +8,6 @@ In the following example, all but one node was shut down gracefully: .. code-block:: shell-session - # . /usr/local/bin/openstack-ansible.rc # ansible galera_container -m shell -a "mysql -h localhost \ -e 'show status like \"%wsrep_cluster_%\";'" node3_galera_container-3ea2cbd3 | FAILED | rc=1 >> diff --git a/doc/source/developer-docs/ops-galera-start.rst b/doc/source/developer-docs/ops-galera-start.rst index 2eb09f3c44..0c9c56b12d 100644 --- a/doc/source/developer-docs/ops-galera-start.rst +++ b/doc/source/developer-docs/ops-galera-start.rst @@ -13,7 +13,6 @@ one of the nodes. .. code-block:: shell-session - # . /usr/local/bin/openstack-ansible.rc # ansible galera_container -m shell -a "cat /var/lib/mysql/grastate.dat" node2_galera_container-49a47d25 | success | rc=0 >> # GALERA saved state version: 2.1 diff --git a/doc/source/install-guide/run-playbooks.rst b/doc/source/install-guide/run-playbooks.rst index ce3045e63c..445977b4eb 100644 --- a/doc/source/install-guide/run-playbooks.rst +++ b/doc/source/install-guide/run-playbooks.rst @@ -90,7 +90,6 @@ Run the playbooks to install OpenStack .. code-block:: console - # . /usr/local/bin/openstack-ansible.rc # ansible galera_container -m shell \ -a "mysql -h localhost -e 'show status like \"%wsrep_cluster_%\";'"