From f8962a5c941dd5da01a59232c3eb10ac549a50d3 Mon Sep 17 00:00:00 2001 From: Billy Olsen Date: Wed, 3 Dec 2014 13:42:37 -0700 Subject: [PATCH] Add shared-db-relation-departed hook to handle the scale-down scenario of a mongodb server. --- hooks/ceilometer_hooks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hooks/ceilometer_hooks.py b/hooks/ceilometer_hooks.py index dabb8d2..f0d2b15 100755 --- a/hooks/ceilometer_hooks.py +++ b/hooks/ceilometer_hooks.py @@ -81,6 +81,7 @@ def db_joined(): @hooks.hook("amqp-relation-changed", "shared-db-relation-changed", + "shared-db-relation-departed", "identity-service-relation-changed") @restart_on_change(restart_map()) def any_changed():