Stop l3-agent when cluster is broken
This commit is contained in:
parent
513afdde73
commit
5a0dfe23b3
1
hooks/cluster-relation-broken
Symbolic link
1
hooks/cluster-relation-broken
Symbolic link
@ -0,0 +1 @@
|
||||
quantum_hooks.py
|
@ -134,6 +134,7 @@ def cluster_departed():
|
||||
CONFIGS.write_all()
|
||||
|
||||
|
||||
@hooks.hook('cluster-relation-broken')
|
||||
@hooks.hook('stop')
|
||||
def stop():
|
||||
service_stop('neutron-l3-agent')
|
||||
|
Loading…
x
Reference in New Issue
Block a user