Skip to content

Add more services to the rabbitmq-reset playbook #794

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions etc/kayobe/ansible/rabbitmq-reset.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# Reset a broken RabbitMQ cluster.
# Also restarts OpenStack services which may be broken.
# Also restarts all OpenStack services using RabbitMQ.

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