.. since the communication takes place on non-master nodes.
This ensures the client properly retries if there is a communication
failure.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
raise errors.HypervisorError("Failed to start metadata daemon")
def _Connect():
- return transport.Transport(pathutils.SOCKET_DIR + "/ganeti-metad")
+ return transport.Transport(pathutils.SOCKET_DIR + "/ganeti-metad",
+ allow_non_master=True)
retries = 5