Skip to content

Commit 73d671b

Browse files
authored
Merge pull request #864 from stackhpc/stop-services-antelope
Change instances of "docker start/stop/restart" to use systemctl for Antelope+
2 parents 194c4b9 + efebeed commit 73d671b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

doc/source/configuration/monitoring.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ Prometheus and Grafana
7575
(Note: If you run into an error when reconfiguring Grafana, it could be due to
7676
`this <https://bugs.launchpad.net/kolla-ansible/+bug/1997984>`__ bug and at
7777
present, the workaround is to go into each node running Grafana and manually
78-
restart the process with ``docker restart grafana`` and then try the reconfigure
79-
command again.)
78+
restart the process with ``systemctl restart kolla-grafana-container.service``
79+
and then try the reconfigure command again.)
8080

8181
Once the reconfigure has completed you can now run the custom playbook which
8282
copies over the scripts and sets up the cron jobs to start SMART monitoring

doc/source/configuration/vault.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Enable the required TLS variables in kayobe and kolla
239239

240240
.. code-block::
241241
242-
kayobe overcloud host command run --command "docker restart nova_compute" --become --show-output -l compute
242+
kayobe overcloud host command run --command "systemctl restart kolla-nova_compute-container.service" --become --show-output -l compute
243243
244244
Barbican integration
245245
====================

doc/source/operations/secret-rotation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ Full method
357357

358358
.. code:: bash
359359
360-
kayobe overcloud host command run -l controllers --become --command "docker stop rabbitmq && docker rm rabbitmq && docker volume rm rabbitmq"
360+
kayobe overcloud host command run -l controllers --become --command "systemctl stop kolla-rabbitmq-container.service && docker rm rabbitmq && docker volume rm rabbitmq"
361361
362362
19. Reconfigure Overcloud services to apply changes
363363

etc/kayobe/ansible/stop-openstack-services.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
tasks:
2727
- name: Stop OpenStack services
2828
shell: >-
29-
docker ps -a | egrep '({{ stop_service_list | join('|') }})' | awk '{ print $NF }' | xargs docker stop
29+
systemctl -a | egrep '({{ stop_service_list | join('|') }})' | awk '{ print $1 }' | xargs systemctl stop

0 commit comments

Comments
 (0)