On Tue, Jul 14, 2015 at 05:59:37PM +0200, 'Klaus Aehlig' via ganeti-devel wrote:
It can be controlled by the same set of tags that can be
used to control harep. Moreover, describe the information
it exposes via HTTP.
Signed-off-by: Klaus Aehlig <[email protected]>
---
man/ganeti-maintd.rst | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/man/ganeti-maintd.rst b/man/ganeti-maintd.rst
index 1f385de..02bec6f 100644
--- a/man/ganeti-maintd.rst
+++ b/man/ganeti-maintd.rst
@@ -32,3 +32,27 @@ of cluster nodes believes that it is running on the master
node. To
allow failover in a two-node cluster, this can be overridden by the
``--no-voting`` option. In this case, the ``--yes-do-it`` option has
to be given as well.
+
+Operation
+~~~~~~~~~
+
+The maintenance daemon will carry out precisely the same jobs that
+**harep**\(1) would do if continously run. In particular, it can
+be controlled by the same set of opt-in tags.
+
+Communication
+~~~~~~~~~~~~~
+
+The daemon will expose its internal state via HTTP. The answer is
+encoded in JSON format and is specific to the particular request.
+
+``/``
++++++
+The root resource. It will return the list of supported protocol
+versions. At the moment, only version ``1`` is supported.
+
+``/1/jobs``
++++++++++++
+The list of jobs the daemon will wait for to finish, before starting
+the next round of maintenance.
+
--
2.4.3.573.g4eafbef
LGTM, thanks
(sorry it took me a bit longer to review)