Add generic relation broken hook.
This commit is contained in:
1
hooks/ceph-relation-broken
Symbolic link
1
hooks/ceph-relation-broken
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
glance_relations.py
|
@@ -282,6 +282,14 @@ def ha_relation_changed():
|
|||||||
[image_service_joined(rid) for rid in relation_ids('image-service')]
|
[image_service_joined(rid) for rid in relation_ids('image-service')]
|
||||||
|
|
||||||
|
|
||||||
|
@hooks.hook('ceph-relation-broken',
|
||||||
|
'identity-service-relation-broken',
|
||||||
|
'object-store-relation-broken',
|
||||||
|
'shared-db-relation-broken')
|
||||||
|
def relation_broken():
|
||||||
|
CONFIGS.write_all()
|
||||||
|
|
||||||
|
|
||||||
def configure_https():
|
def configure_https():
|
||||||
'''
|
'''
|
||||||
Enables SSL API Apache config if appropriate and kicks
|
Enables SSL API Apache config if appropriate and kicks
|
||||||
|
1
hooks/identity-service-relation-broken
Symbolic link
1
hooks/identity-service-relation-broken
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
glance_relations.py
|
1
hooks/object-store-relation-broken
Symbolic link
1
hooks/object-store-relation-broken
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
glance_relations.py
|
1
hooks/shared-db-relation-broken
Symbolic link
1
hooks/shared-db-relation-broken
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
glance_relations.py
|
Reference in New Issue
Block a user