On Mon, Mar 23, 2015 at 04:46:33PM +0100, 'Klaus Aehlig' via ganeti-devel wrote:
...to prepare cluster destruction.

Signed-off-by: Klaus Aehlig <[email protected]>
---
lib/cmdlib/cluster.py | 2 ++
1 file changed, 2 insertions(+)

diff --git a/lib/cmdlib/cluster.py b/lib/cmdlib/cluster.py
index 828212f..5401d84 100644
--- a/lib/cmdlib/cluster.py
+++ b/lib/cmdlib/cluster.py
@@ -297,6 +297,8 @@ class LUClusterDestroy(LogicalUnit):
                                                     master_params, ems)
    result.Warn("Error disabling the master IP address", self.LogWarning)

+    self.wconfd.Client().PrepareClusterDestruction(self.wconfdcontext)
+
    # signal to the job queue that the cluster is gone
    LUClusterDestroy.clusterHasBeenDestroyed = True

--
2.2.0.rc0.207.ga3a616c


LGTM, thanks

Reply via email to