Cluster verify: master must be present for _VerifyFiles
authorAdeodato Simo <dato@google.com>
Tue, 3 May 2011 14:22:10 +0000 (15:22 +0100)
committerGuido Trotter <ultrotter@google.com>
Fri, 20 May 2011 10:37:07 +0000 (10:37 +0000)
commit2f10179bd4b85d7c67855d803ef33758a2c95175
treefb423d1e2fc134c5a0883d69bbadbb69a3ba9a90
parentcf692cd05e00300fdee186c50237d28e39133c9c
Cluster verify: master must be present for _VerifyFiles

This commit prepares the call to _VerifyFiles for the case when the master
node is not one of the nodes that's being verified (which will be the case
for all node groups but one). We fix it by always passing master info and
checksums to _VerifyFiles, which ensures there's a cluster-wide consistency
check.

Signed-off-by: Adeodato Simo <dato@google.com>
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/cmdlib.py