Also update NEWS on this change. Signed-off-by: Guido Trotter <[email protected]> --- NEWS | 3 +++ doc/hooks.rst | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/NEWS b/NEWS index 377c04b..172277a 100644 --- a/NEWS +++ b/NEWS @@ -18,6 +18,9 @@ Version 2.5.0 beta1 since Ganeti 2.1.3 and :doc:`documented <rapi>`, instead. - Pyparsing 1.4.6 or above is required, see :doc:`installation documentation <install>` +- The "cluster-verify" hooks are now executed per group by the + OP_CLUSTER_VERIFY_GROUP opcode. This maintains the same behavior if + you just run "gnt-cluster verify", which generates one op per group. Version 2.4.3 diff --git a/doc/hooks.rst b/doc/hooks.rst index 8e260aa..77e9330 100644 --- a/doc/hooks.rst +++ b/doc/hooks.rst @@ -419,10 +419,10 @@ operation and not after its completion. :pre-execution: none :post-execution: master node -OP_CLUSTER_VERIFY -+++++++++++++++++ +OP_CLUSTER_VERIFY_GROUP ++++++++++++++++++++++++ -Verifies the cluster status. This is a special LU with regard to +Verifies all nodes in a group. This is a special LU with regard to hooks, as the result of the opcode will be combined with the result of post-execution hooks, in order to allow administrators to enhance the cluster verification procedure. @@ -430,7 +430,7 @@ cluster verification procedure. :directory: cluster-verify :env. vars: CLUSTER, MASTER, CLUSTER_TAGS, NODE_TAGS_<name> :pre-execution: none -:post-execution: all nodes +:post-execution: all nodes in a group OP_CLUSTER_RENAME +++++++++++++++++ -- 1.7.2.5
