From 8abc36f1d05ff85fc93047f01c86de90344a63a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ren=C3=A9=20Nussbaumer?= <rn@google.com>
Date: Thu, 6 Jan 2011 11:06:34 +0100
Subject: [PATCH] QA: Remove 'oob_program=default' on gnt-cluster modify
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

On cluster level there's no 'default' because it's the highest cascading
level. Due to this 'default' is a valid value and doesn't mean to remove
the value from the dict like it does on the other levels. To overcome
this we just empty the string.

Signed-off-by: RenΓ© Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
---
 qa/qa_node.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qa/qa_node.py b/qa/qa_node.py
index 00d4d195d..d35b7331c 100644
--- a/qa/qa_node.py
+++ b/qa/qa_node.py
@@ -346,7 +346,7 @@ def TestOutOfBand():
       AssertCommand(["rm", "-f", oob_path2, verify_path2])
   finally:
     AssertCommand(["gnt-cluster", "modify", "--node-parameters",
-                   "oob_program=default"])
+                   "oob_program="])
     AssertCommand(["rm", "-f", oob_path, verify_path, data_path,
                    exit_code_path])
 
-- 
GitLab