Additional logging in udp_heartbeat and post_plug_vip

Change-Id: I385d3e12af1e1c1a40d1e57ddd4c12aa33bea560
This commit is contained in:
Adam Harwell 2017-05-10 02:14:32 -04:00
parent 86ca966bcc
commit 875cb2db03
2 changed files with 3 additions and 0 deletions

View File

@ -120,6 +120,8 @@ class HaproxyAmphoraLoadBalancerDriver(
# compatibility with old amphora agent versions.
port = amphorae_network_config.get(amphora.id).vrrp_port
LOG.debug("Post-VIP-Plugging with vrrp_ip %s vrrp_port %s",
amphora.vrrp_ip, port)
host_routes = [{'nexthop': hr.nexthop,
'destination': hr.destination}
for hr in subnet.host_routes]

View File

@ -163,6 +163,7 @@ class UDPStatusGetter(object):
"""
(data, srcaddr) = self.sock.recvfrom(UDP_MAX_SIZE)
LOG.debug("Received packet from {}".format(srcaddr))
obj = status_message.unwrap_envelope(data, self.key)
return obj, srcaddr