yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #18530
[Bug 1352719] [NEW] OVS flows from SDN controller deleted by OVS agent
Public bug reported:
in my openstack system, SDN controller(floodlight) and OVS agent to work
together to route packets to and from VMs, but recently I find br-tun
bridges malfunction, in which the flows from SDN controller is removed
and some action=resubmit flows appear,
I read the codes, and find the OVS periodically check the bridge flows,
if some are changed, it seems to believe the ovs has restarted, so it
modify the flows, which is appearntly wrong in the SDN network.
I found the code in neutron/plugins/openvswitch/agent/ovs_neutron_agent.py:
1254 if self.enable_tunneling and tunnel_sync:
1255 LOG.info(_("Agent tunnel out of sync with plugin!"))
1256 try:
1257 tunnel_sync = self.tunnel_sync()
1258 except Exception:
1259 LOG.exception(_("Error while synchronizing tunnels"))
1260 tunnel_sync = True
1261 ovs_restarted = self.check_ovs_restart() <------------------------the line
1262 if ovs_restarted:
1263 self.setup_integration_br()
1264 self.setup_physical_bridges(self.bridge_mappings)
1265 if self.enable_tunneling:
1266 self.setup_tunnel_br()
1267 if self._agent_has_updates(polling_manager) or ovs_restarted:
The workwround is to comment line 1261 and set ovs_restarted=False,
maybe this is a bug?
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1352719
Title:
OVS flows from SDN controller deleted by OVS agent
Status in OpenStack Neutron (virtual network service):
New
Bug description:
in my openstack system, SDN controller(floodlight) and OVS agent to
work together to route packets to and from VMs, but recently I find
br-tun bridges malfunction, in which the flows from SDN controller is
removed and some action=resubmit flows appear,
I read the codes, and find the OVS periodically check the bridge
flows, if some are changed, it seems to believe the ovs has restarted,
so it modify the flows, which is appearntly wrong in the SDN network.
I found the code in neutron/plugins/openvswitch/agent/ovs_neutron_agent.py:
1254 if self.enable_tunneling and tunnel_sync:
1255 LOG.info(_("Agent tunnel out of sync with plugin!"))
1256 try:
1257 tunnel_sync = self.tunnel_sync()
1258 except Exception:
1259 LOG.exception(_("Error while synchronizing tunnels"))
1260 tunnel_sync = True
1261 ovs_restarted = self.check_ovs_restart() <------------------------the line
1262 if ovs_restarted:
1263 self.setup_integration_br()
1264 self.setup_physical_bridges(self.bridge_mappings)
1265 if self.enable_tunneling:
1266 self.setup_tunnel_br()
1267 if self._agent_has_updates(polling_manager) or ovs_restarted:
The workwround is to comment line 1261 and set ovs_restarted=False,
maybe this is a bug?
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1352719/+subscriptions
Follow ups
References