diff --git a/doc/source/configuration/monitoring.rst b/doc/source/configuration/monitoring.rst index 0db0109f9..1bd018534 100644 --- a/doc/source/configuration/monitoring.rst +++ b/doc/source/configuration/monitoring.rst @@ -75,8 +75,8 @@ Prometheus and Grafana (Note: If you run into an error when reconfiguring Grafana, it could be due to `this `__ bug and at present, the workaround is to go into each node running Grafana and manually -restart the process with ``docker restart grafana`` and then try the reconfigure -command again.) +restart the process with ``systemctl restart kolla-grafana-container.service`` +and then try the reconfigure command again.) Once the reconfigure has completed you can now run the custom playbook which copies over the scripts and sets up the cron jobs to start SMART monitoring diff --git a/doc/source/configuration/vault.rst b/doc/source/configuration/vault.rst index 0c3fb9457..64ad4efb2 100644 --- a/doc/source/configuration/vault.rst +++ b/doc/source/configuration/vault.rst @@ -239,7 +239,7 @@ Enable the required TLS variables in kayobe and kolla .. code-block:: - kayobe overcloud host command run --command "docker restart nova_compute" --become --show-output -l compute + kayobe overcloud host command run --command "systemctl restart kolla-nova_compute-container.service" --become --show-output -l compute Barbican integration ==================== diff --git a/doc/source/operations/secret-rotation.rst b/doc/source/operations/secret-rotation.rst index f3213da37..484510189 100644 --- a/doc/source/operations/secret-rotation.rst +++ b/doc/source/operations/secret-rotation.rst @@ -357,7 +357,7 @@ Full method .. code:: bash - kayobe overcloud host command run -l controllers --become --command "docker stop rabbitmq && docker rm rabbitmq && docker volume rm rabbitmq" + kayobe overcloud host command run -l controllers --become --command "systemctl stop kolla-rabbitmq-container.service && docker rm rabbitmq && docker volume rm rabbitmq" 19. Reconfigure Overcloud services to apply changes diff --git a/etc/kayobe/ansible/stop-openstack-services.yml b/etc/kayobe/ansible/stop-openstack-services.yml index 08f4e964a..35f26c044 100644 --- a/etc/kayobe/ansible/stop-openstack-services.yml +++ b/etc/kayobe/ansible/stop-openstack-services.yml @@ -26,4 +26,4 @@ tasks: - name: Stop OpenStack services shell: >- - docker ps -a | egrep '({{ stop_service_list | join('|') }})' | awk '{ print $NF }' | xargs docker stop + systemctl -a | egrep '({{ stop_service_list | join('|') }})' | awk '{ print $1 }' | xargs systemctl stop