From 563725736204c55de6bcc0e4e149d89a45854aa2 Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Fri, 20 May 2011 15:30:21 +0100
Subject: [PATCH] Update hooks.rst for cluster verify changes

Also update NEWS on this change.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
---
 NEWS          | 3 +++
 doc/hooks.rst | 8 ++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/NEWS b/NEWS
index 377c04b8b..172277a51 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 8e260aab9..77e9330a5 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
 +++++++++++++++++
-- 
GitLab