While it is generally a good idea to plan capacity to have a redundant
cluster, there are legitimate use cases, where we want to know how many
instances can be squeezed on the cluster at all, taking only N+1 redundancy
for DRBD into account. So add an option restoring the old behavior.

Signed-off-by: Klaus Aehlig <[email protected]>
---
 src/Ganeti/HTools/Program/Hspace.hs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Ganeti/HTools/Program/Hspace.hs 
b/src/Ganeti/HTools/Program/Hspace.hs
index 9c3d671..047767f 100644
--- a/src/Ganeti/HTools/Program/Hspace.hs
+++ b/src/Ganeti/HTools/Program/Hspace.hs
@@ -84,6 +84,7 @@ options = do
     , oIndependentGroups
     , oAcceptExisting
     , oOfflineNode
+    , oNoCapacityChecks
     , oMachineReadable
     , oMaxCpu
     , oMaxSolLength
-- 
2.4.3.573.g4eafbef

Reply via email to