File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ Stop all the OpenStack services which use RabbitMQ.
98
98
99
99
.. code-block :: console
100
100
101
- kayobe overcloud host command run -- command "docker ps -a | egrep '(barbican|blazar|ceilometer|cinder|cloudkitty|designate|heat|ironic|keystone|magnum|manila|masakari|neutron|nova|octavia)' | awk '{ print \$NF }' | xargs docker stop"
101
+ kayobe overcloud host command run -b -- command "systemctl -a | egrep '(barbican|blazar|ceilometer|cinder|cloudkitty|designate|heat|ironic|keystone|magnum|manila|masakari|neutron|nova|octavia)' | awk '{ print \$1 }' | xargs systemctl stop"
102
102
103
103
Upgrade RabbitMQ.
104
104
@@ -136,7 +136,7 @@ procedure.
136
136
137
137
.. code-block :: console
138
138
139
- kayobe overcloud host command run -- command "docker ps -a | egrep '(barbican|blazar|ceilometer|cinder|cloudkitty|designate|heat|ironic|keystone|magnum|manila|masakari|neutron|nova|octavia)' | awk '{ print \$NF }' | xargs docker start"
139
+ kayobe overcloud host command run -b -- command "systemctl -a | egrep '(barbican|blazar|ceilometer|cinder|cloudkitty|designate|heat|ironic|keystone|magnum|manila|masakari|neutron|nova|octavia)' | awk '{ print \$1 }' | xargs systemctl start"
140
140
141
141
Check to see if the expected queues are durable.
142
142
@@ -170,7 +170,7 @@ such as the following when other OpenStack services start::
170
170
vhost '/': received 'true' but current is 'false'
171
171
172
172
This may happen if a host is not in the inventory, leading to them not being
173
- targeted by the ``docker stop `` command. If this does happen, look for the
173
+ targeted by the ``systemctl stop `` command. If this does happen, look for the
174
174
hostname of the offending node in the queues created after the RabbitMQ reset.
175
175
176
176
Once the rogue services have been stopped, reset the RabbitMQ cluster again to
Original file line number Diff line number Diff line change 12
12
- container_name : rabbitmq
13
13
tasks :
14
14
- name : Checking timedatectl status
15
- become : true
16
15
command : timedatectl status
17
16
register : timedatectl_status
18
17
changed_when : false
32
31
register : inspection
33
32
34
33
- name : Ensure the {{ container_name }} container is running
35
- command : " docker start {{ container_name }}"
34
+ command : " systemctl start kolla- {{ container_name }}-container.service "
36
35
when : inspection.stdout == 'false'
37
36
38
37
- name : Wait for the {{ container_name }} container to reach state 'Running'
69
68
# The following services can have problems if the cluster gets broken.
70
69
- name : Restart OpenStack services
71
70
shell : >-
72
- docker ps -a | egrep '(cinder|heat|ironic|keystone|magnum|neutron|nova)' | awk '{ print $NF }' | xargs docker restart
71
+ systemctl -a | egrep '(cinder|heat|ironic|keystone|magnum|neutron|nova)' | awk '{ print $1 }' | xargs systemctl restart
You can’t perform that action at this time.
0 commit comments