Commit 43f52ae3 authored by René Nussbaumer's avatar René Nussbaumer
Browse files

cmdlib: Adapt LUClusterVerifyGroup for instance policy

Signed-off-by: default avatarRené Nussbaumer <>
Reviewed-by: default avatarMichael Hanselmann <>
parent 9fa567b3
......@@ -2299,7 +2299,9 @@ class LUClusterVerifyGroup(LogicalUnit, _VerifyErrors):
node_vol_should = {}
ipolicy = _CalculateGroupIPolicy(self.cfg.GetClusterInfo(), self.group_info)
err = _ComputeIPolicyInstanceViolation(ipolicy, instanceconfig)
_ErrorIf(err, constants.CV_EINSTANCEPOLICY, instance, err)
for node in node_vol_should:
n_img = node_image[node]
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