...so that the internal assumptions made in balancing can conveniently be monitored.
Signed-off-by: Klaus Aehlig <[email protected]> --- man/ganeti-maintd.rst | 7 +++++++ src/Ganeti/MaintD/Server.hs | 1 + 2 files changed, 8 insertions(+) diff --git a/man/ganeti-maintd.rst b/man/ganeti-maintd.rst index 02bec6f..b6a107c 100644 --- a/man/ganeti-maintd.rst +++ b/man/ganeti-maintd.rst @@ -56,3 +56,10 @@ versions. At the moment, only version ``1`` is supported. The list of jobs the daemon will wait for to finish, before starting the next round of maintenance. +``/1/evacuated`` +++++++++++++++++ +The list of instance names the daemon does not expect to have load +data available because they have been recently evacuated from an +offline (or drained) node. Currently, this affects only Xen instances, +as for other hypervisors the overall CPU load on the node is taken +as balancing measure. diff --git a/src/Ganeti/MaintD/Server.hs b/src/Ganeti/MaintD/Server.hs index 8681496..5cf35de 100644 --- a/src/Ganeti/MaintD/Server.hs +++ b/src/Ganeti/MaintD/Server.hs @@ -161,6 +161,7 @@ httpInterface memstate = ifTop (method GET $ plainJSON [1 :: Int]) <|> dir "1" (ifTop (plainJSON J.JSNull) <|> route [ ("jobs", exposeState msJobs memstate) + , ("evacuated", exposeState msEvacuated memstate) ]) <|> error404 -- 2.5.0.rc2.392.g76e840b
