Commit c6e300e6 authored by Bernardo Dal Seno's avatar Bernardo Dal Seno

Fix a merge issue in 3c296f56

Lines removed in devel-2.7 (250a9404) weren't removed in the merge with
master.
Signed-off-by: default avatarBernardo Dal Seno <bdalseno@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 3c296f56
......@@ -672,24 +672,6 @@ def TestSetExclStorCluster(newvalue):
return oldvalue
def _BuildSetESCmd(value, node_name):
return ["gnt-node", "modify", "--node-parameters",
"exclusive_storage=%s" % value, node_name]
def TestExclStorSingleNode(node):
"""cluster-verify reports exclusive_storage set only on one node.
"""
node_name = node.primary
es_val = _GetBoolClusterField("exclusive_storage")
assert not es_val
AssertCommand(_BuildSetESCmd(True, node_name))
AssertClusterVerify(fail=True, errors=[constants.CV_EGROUPMIXEDESFLAG])
AssertCommand(_BuildSetESCmd("default", node_name))
AssertClusterVerify()
def TestExclStorSharedPv(node):
"""cluster-verify reports LVs that share the same PV with exclusive_storage.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment