Any instance running on an offline node certainly is a violation of good instance placement. Therefore, when told to ignore any existing errors, fully ignore offline nodes, including in capacity checks.
Klaus Aehlig (3): Make accept-existing an algorithmic option Make redundant and allocGlobalN1 honor AcceptExisting Add a test to accept existing offline violations Makefile.am | 1 + src/Ganeti/HTools/AlgorithmParams.hs | 3 +++ src/Ganeti/HTools/Cluster.hs | 6 +++--- src/Ganeti/HTools/GlobalN1.hs | 15 ++++++++++----- test/data/htools/hspace-existing.data | 13 +++++++++++++ test/hs/shelltests/htools-hspace.test | 8 ++++++++ 6 files changed, 38 insertions(+), 8 deletions(-) create mode 100644 test/data/htools/hspace-existing.data -- 2.5.0.457.gab17608
