diff --git a/Ganeti/HTools/Cluster.hs b/Ganeti/HTools/Cluster.hs index e3753cc16114bdfb919e64432999c3c86b066e6b..4bbed2eabe9d6e2b0f7b8633df42e996817668c0 100644 --- a/Ganeti/HTools/Cluster.hs +++ b/Ganeti/HTools/Cluster.hs @@ -203,7 +203,7 @@ those nodes. computeBadItems :: NodeList -> InstanceList -> ([Node.Node], [Instance.Instance]) computeBadItems nl il = - let bad_nodes = verifyN1 $ Container.elems nl + let bad_nodes = verifyN1 $ filter (not . Node.offline) $ Container.elems nl bad_instances = map (\idx -> Container.find idx il) $ sort $ nub $ concat $ map (\ n -> (Node.slist n) ++ (Node.plist n)) bad_nodes