Add generic relation broken hook.
This commit is contained in:
parent
297593e945
commit
e2e8de070e
1
hooks/amqp-relation-broken
Symbolic link
1
hooks/amqp-relation-broken
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
nova_cc_hooks.py
|
1
hooks/cinder-volume-service-relation-broken
Symbolic link
1
hooks/cinder-volume-service-relation-broken
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
nova_cc_hooks.py
|
1
hooks/identity-service-relation-broken
Symbolic link
1
hooks/identity-service-relation-broken
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
nova_cc_hooks.py
|
1
hooks/image-service-relation-broken
Symbolic link
1
hooks/image-service-relation-broken
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
nova_cc_hooks.py
|
1
hooks/nova-volume-service-relation-broken
Symbolic link
1
hooks/nova-volume-service-relation-broken
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
nova_cc_hooks.py
|
@ -353,6 +353,17 @@ def ha_changed():
|
|||||||
identity_joined(rid=rid)
|
identity_joined(rid=rid)
|
||||||
|
|
||||||
|
|
||||||
|
@hooks.hook('amqp-relation-broken',
|
||||||
|
'cinder-volume-service-relation-broken',
|
||||||
|
'identity-service-relation-broken',
|
||||||
|
'image-service-relation-broken',
|
||||||
|
'nova-volume-service-relation-broken',
|
||||||
|
'shared-db-relation-broken'
|
||||||
|
'quantum-network-service-relation-broken')
|
||||||
|
def relation_broken():
|
||||||
|
CONFIGS.write_all()
|
||||||
|
|
||||||
|
|
||||||
def configure_https():
|
def configure_https():
|
||||||
'''
|
'''
|
||||||
Enables SSL API Apache config if appropriate and kicks identity-service
|
Enables SSL API Apache config if appropriate and kicks identity-service
|
||||||
|
1
hooks/quantum-network-service-relation-broken
Symbolic link
1
hooks/quantum-network-service-relation-broken
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
nova_cc_hooks.py
|
1
hooks/shared-db-relation-broken
Symbolic link
1
hooks/shared-db-relation-broken
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
nova_cc_hooks.py
|
Loading…
Reference in New Issue
Block a user