Blame SOURCES/bz1287303-novaevacuate-invoke-off-action.patch

4efcdb
From 5e9310bbbcd5086ea9a3edf85d523c4c2a57f1c3 Mon Sep 17 00:00:00 2001
4efcdb
From: Andrew Beekhof <andrew@beekhof.net>
4efcdb
Date: Tue, 8 Dec 2015 13:54:12 +1100
4efcdb
Subject: [PATCH] NovaEvacuate should invoke fence_compute with action 'off'
4efcdb
4efcdb
Conceptually we are resurrecting in one direction only (off) and not
4efcdb
bringing it back to the current host afterwards (on)
4efcdb
4efcdb
Also it will overwrite the attrd variable too soon.
4efcdb
4efcdb
Change-Id: I9694945ca7eedae4f5cb6758fe1e8ce7f72ae808
4efcdb
---
4efcdb
 ocf/NovaEvacuate | 2 +-
4efcdb
 1 file changed, 1 insertion(+), 1 deletion(-)
4efcdb
4efcdb
diff --git a/heartbeat/NovaEvacuate b/heartbeat/NovaEvacuate
4efcdb
index a17a159..0e22d7e 100644
4efcdb
--- a/heartbeat/NovaEvacuate
4efcdb
+++ b/heartbeat/NovaEvacuate
4efcdb
@@ -198,7 +198,7 @@ handle_evacuations() {
4efcdb
 		return $OCF_SUCCESS
4efcdb
 	    fi
4efcdb
 
4efcdb
-	    fence_compute ${fence_options} -o reboot -n $node
4efcdb
+	    fence_compute ${fence_options} -o off -n $node
4efcdb
 	    rc=$?
4efcdb
 
4efcdb
 	    if [ $rc = 0 ]; then
4efcdb
-- 
4efcdb
1.9.1
4efcdb