Make cluster initialization more reliable
authorMichael Hanselmann <hansmi@google.com>
Thu, 29 Oct 2009 17:30:56 +0000 (18:30 +0100)
committerMichael Hanselmann <hansmi@google.com>
Fri, 30 Oct 2009 10:46:48 +0000 (11:46 +0100)
commit8f215968385b63c61520a721ee622cb7b6a490a9
treec08ea73bf8eb06a2b09fde49c4d201c1c7d0f994
parent1df79ce6ed217b254e8cbdf3a9363e5607547e9f
Make cluster initialization more reliable

There was a race condition between starting the node daemon
and sending requests to write the ssconf files. With this
patch, the initialization waits up to ten seconds for the
node daemon to become responsive.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/bootstrap.py
lib/rpc.py