Stop l3-agent when cluster is broken
This commit is contained in:
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')
|
||||
|
||||
Reference in New Issue
Block a user