Fix rabbitmq restart
With the move to pluggable messaging, we call the services to restart differently and not always just 'rabbitmq' any longer. Closes-Bug: #1816070 Change-Id: I9bc7603dbb073d735390db398c0e00c75cebd6fa
This commit is contained in:
parent
1c46d1850a
commit
d59ac1bd9a
@ -193,7 +193,7 @@ outputs:
|
||||
user: root
|
||||
command:
|
||||
- '/usr/bin/bootstrap_host_exec'
|
||||
- 'rabbitmq'
|
||||
- 'oslo_messaging_notify'
|
||||
- str_replace:
|
||||
template:
|
||||
'if /usr/sbin/pcs resource show rabbitmq-bundle; then /usr/sbin/pcs resource restart --wait=PCMKTIMEOUT rabbitmq-bundle; echo "rabbitmq-bundle restart invoked"; fi'
|
||||
|
@ -193,7 +193,7 @@ outputs:
|
||||
user: root
|
||||
command:
|
||||
- '/usr/bin/bootstrap_host_exec'
|
||||
- 'rabbitmq'
|
||||
- 'oslo_messaging_rpc'
|
||||
- str_replace:
|
||||
template:
|
||||
'if /usr/sbin/pcs resource show rabbitmq-bundle; then /usr/sbin/pcs resource restart --wait=PCMKTIMEOUT rabbitmq-bundle; echo "rabbitmq-bundle restart invoked"; fi'
|
||||
|
Loading…
x
Reference in New Issue
Block a user