In this way, hspace can be told to use precisely the data
that hail will be provided with.

Signed-off-by: Klaus Aehlig <[email protected]>
---
 man/hspace.rst                      | 8 +++++++-
 src/Ganeti/HTools/Program/Hspace.hs | 1 +
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/man/hspace.rst b/man/hspace.rst
index 543d180..fd31715 100644
--- a/man/hspace.rst
+++ b/man/hspace.rst
@@ -16,7 +16,8 @@ SYNOPSIS
 
 Backend options:
 
-{ **-m** *cluster* | **-L[** *path* **]** | **-t** *data-file* |
+{ **-m** *cluster* | **-L[** *path* **] --state-of-record** |
+**-t** *data-file* |
 **\--simulate** *spec* | **-I** *path* }
 
 
@@ -299,6 +300,11 @@ The options that can be passed to the program are as 
follows:
   which is to be contacted via LUXI (an internal Ganeti protocol). The
   option is described in the man page **htools**\(1).
 
+\--state-of-record
+  When collecting from the LUXI backend, prefer state-of-record data
+  over live data. In this way, hspace will see precisely the same data
+  that will also be presented to the instance allocator.
+
 \--simulate *description*
   Backend specification: similar to the **-t** option, this allows
   overriding the cluster data with a simulated cluster. For details
diff --git a/src/Ganeti/HTools/Program/Hspace.hs 
b/src/Ganeti/HTools/Program/Hspace.hs
index 9db17da..f3c2cd2 100644
--- a/src/Ganeti/HTools/Program/Hspace.hs
+++ b/src/Ganeti/HTools/Program/Hspace.hs
@@ -79,6 +79,7 @@ options = do
     , oNodeSim
     , oRapiMaster
     , luxi
+    , oSoR
     , oIAllocSrc
     , oVerbose
     , oQuiet
-- 
2.6.0.rc2.230.g3dd15c0

Reply via email to