Commit 86488201 authored by Guido Trotter's avatar Guido Trotter
Browse files

ganeti-confd: explicitely log failed big sends

Make sure that if we try to send packages which are too big (which
shouldn't happen) this gets properly logged in the config file.
Signed-off-by: default avatarGuido Trotter <>
Reviewed-by: default avatarLuca Bigliardi <>
parent a3758ab2
......@@ -84,7 +84,10 @@ class ConfdAsyncUDPServer(daemon.AsyncUDPSocket):
answer = self.processor.ExecQuery(query, ip, port)
if answer is not None:
payload_out = ''.join([constants.CONFD_MAGIC_FOURCC, answer])
self.enqueue_send(ip, port, payload_out)
self.enqueue_send(ip, port, payload_out)
except errors.UdpDataSizeError:
logging.error("Reply too big to fit in an udp packet.")
class ConfdInotifyEventHandler(pyinotify.ProcessEvent):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment