Skip to content

Commit 2b7b00b

Browse files
committed
Add more services to the rabbitmq-reset playbook
This change adds services that we often deploy: Barbican, Blazar, CloudKitty, Designate, Manila and Octavia.
1 parent 533ee57 commit 2b7b00b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

etc/kayobe/ansible/rabbitmq-reset.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# Reset a broken RabbitMQ cluster.
3-
# Also restarts OpenStack services which may be broken.
3+
# Also restarts all OpenStack services using RabbitMQ.
44

55
- name: Reset RabbitMQ
66
hosts: controllers
@@ -66,7 +66,7 @@
6666
tags:
6767
- restart-openstack
6868
tasks:
69-
# The following services can have problems if the cluster gets broken.
69+
# The following services use RabbitMQ.
7070
- name: Restart OpenStack services
7171
shell: >-
72-
docker ps -a | egrep '(cinder|heat|ironic|keystone|magnum|neutron|nova)' | awk '{ print $NF }' | xargs docker restart
72+
docker ps -a | egrep '(barbican|blazar|cinder|cloudkitty|designate|heat|ironic|keystone|magnum|manila|neutron|nova|octavia)' | awk '{ print $NF }' | xargs docker restart

0 commit comments

Comments
 (0)