Make OVS agent tunnel configuration logging less scary
The current log implies that something is wrong, most of the time that's not the case. Change-Id: I19f3e57d2fff18401bf1b58578b76345f4827e4a
This commit is contained in:
parent
3b6832032a
commit
5b9ea77720
|
@ -1645,6 +1645,8 @@ class OVSNeutronAgent(sg_rpc.SecurityGroupAgentRpcCallbackMixin,
|
|||
return
|
||||
|
||||
def tunnel_sync(self):
|
||||
LOG.info(_LI("Configuring tunnel endpoints to other OVS agents"))
|
||||
|
||||
try:
|
||||
for tunnel_type in self.tunnel_types:
|
||||
details = self.plugin_rpc.tunnel_sync(self.context,
|
||||
|
@ -1915,11 +1917,11 @@ class OVSNeutronAgent(sg_rpc.SecurityGroupAgentRpcCallbackMixin,
|
|||
continue
|
||||
# Notify the plugin of tunnel IP
|
||||
if self.enable_tunneling and tunnel_sync:
|
||||
LOG.info(_LI("Agent tunnel out of sync with plugin!"))
|
||||
try:
|
||||
tunnel_sync = self.tunnel_sync()
|
||||
except Exception:
|
||||
LOG.exception(_LE("Error while synchronizing tunnels"))
|
||||
LOG.exception(
|
||||
_LE("Error while configuring tunnel endpoints"))
|
||||
tunnel_sync = True
|
||||
ovs_restarted |= (ovs_status == constants.OVS_RESTARTED)
|
||||
devices_need_retry = (any(failed_devices.values()) or
|
||||
|
|
Loading…
Reference in New Issue