Public bug reported: The refactor [1] to seperate ofctl logic to a driver broke L2pop on OVS.
The L2 agent shows this error when receiving a call to add_tunnel_port: 2015-06-08 04:33:50.287 DEBUG neutron.agent.l2population_rpc [req-a3dcc834-e97d-471b-8cae-02b6b0c58325 None None] neutron.plugins.openvswitch. agent.ovs_neutron_agent.OVSNeutronAgent method fdb_add_tun called with arguments (<neutron.context.Context object at 0x4421510>, <neutron.plug ins.openvswitch.agent.openflow.ovs_ofctl.br_tun.DeferredOVSTunnelBridge object at 0x44213d0>, <neutron.plugins.openvswitch.agent.ovs_neutron_a gent.LocalVLANMapping object at 0x3c43510>, {u'10.35.6.102': [PortInfo(mac_address=u'00:00:00:00:00:00', ip_address=u'0.0.0.0'), PortInfo(mac_ address=u'fa:16:3e:c6:17:9f', ip_address=u'10.0.0.2'), PortInfo(mac_address=u'fa:16:3e:c6:17:9f', ip_address=u'fd59:ade1:1482:0:f816:3eff:fec6 :179f')]}, <bound method OVSNeutronAgent._tunnel_port_lookup of <neutron.plugins.openvswitch.agent.ovs_neutron_agent.OVSNeutronAgent object at 0x3c43310>>) {} from (pid=14807) wrapper /usr/lib/python2.7/site-packages/oslo_log/helpers.py:45 2015-06-08 04:33:50.287 ERROR neutron.agent.common.ovs_lib [req-a3dcc834-e97d-471b-8cae-02b6b0c58325 None None] OVS flows could not be applied on bridge br-tun 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib Traceback (most recent call last): 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib File "/opt/openstack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent. py", line 448, in fdb_add 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib agent_ports, self._tunnel_port_lookup) 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib File "/usr/lib/python2.7/site-packages/oslo_log/helpers.py", line 46, in wrapper 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib return method(*args, **kwargs) 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib File "/opt/openstack/neutron/neutron/agent/l2population_rpc.py", line 234, in fdb _add_tun 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib lvm.network_type) 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib File "/opt/openstack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent. py", line 1169, in setup_tunnel_port 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib network_type) 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib File "/opt/openstack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent. py", line 1135, in _setup_tunnel_port 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib ofport = br.add_tunnel_port(port_name, 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib File "/opt/openstack/neutron/neutron/plugins/openvswitch/agent/openflow/ovs_ofctl/br_tun.py", line 246, in __getattr__ 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib raise AttributeError(name) 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib AttributeError: add_tunnel_port 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib [1] https://review.openstack.org/#/c/160245/ ** Affects: neutron Importance: Undecided Status: New ** Tags: l2-pop ovs -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1462871 Title: L2Population on OVS broken due to ofctl resactoring Status in OpenStack Neutron (virtual network service): New Bug description: The refactor [1] to seperate ofctl logic to a driver broke L2pop on OVS. The L2 agent shows this error when receiving a call to add_tunnel_port: 2015-06-08 04:33:50.287 DEBUG neutron.agent.l2population_rpc [req-a3dcc834-e97d-471b-8cae-02b6b0c58325 None None] neutron.plugins.openvswitch. agent.ovs_neutron_agent.OVSNeutronAgent method fdb_add_tun called with arguments (<neutron.context.Context object at 0x4421510>, <neutron.plug ins.openvswitch.agent.openflow.ovs_ofctl.br_tun.DeferredOVSTunnelBridge object at 0x44213d0>, <neutron.plugins.openvswitch.agent.ovs_neutron_a gent.LocalVLANMapping object at 0x3c43510>, {u'10.35.6.102': [PortInfo(mac_address=u'00:00:00:00:00:00', ip_address=u'0.0.0.0'), PortInfo(mac_ address=u'fa:16:3e:c6:17:9f', ip_address=u'10.0.0.2'), PortInfo(mac_address=u'fa:16:3e:c6:17:9f', ip_address=u'fd59:ade1:1482:0:f816:3eff:fec6 :179f')]}, <bound method OVSNeutronAgent._tunnel_port_lookup of <neutron.plugins.openvswitch.agent.ovs_neutron_agent.OVSNeutronAgent object at 0x3c43310>>) {} from (pid=14807) wrapper /usr/lib/python2.7/site-packages/oslo_log/helpers.py:45 2015-06-08 04:33:50.287 ERROR neutron.agent.common.ovs_lib [req-a3dcc834-e97d-471b-8cae-02b6b0c58325 None None] OVS flows could not be applied on bridge br-tun 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib Traceback (most recent call last): 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib File "/opt/openstack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent. py", line 448, in fdb_add 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib agent_ports, self._tunnel_port_lookup) 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib File "/usr/lib/python2.7/site-packages/oslo_log/helpers.py", line 46, in wrapper 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib return method(*args, **kwargs) 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib File "/opt/openstack/neutron/neutron/agent/l2population_rpc.py", line 234, in fdb _add_tun 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib lvm.network_type) 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib File "/opt/openstack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent. py", line 1169, in setup_tunnel_port 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib network_type) 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib File "/opt/openstack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent. py", line 1135, in _setup_tunnel_port 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib ofport = br.add_tunnel_port(port_name, 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib File "/opt/openstack/neutron/neutron/plugins/openvswitch/agent/openflow/ovs_ofctl/br_tun.py", line 246, in __getattr__ 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib raise AttributeError(name) 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib AttributeError: add_tunnel_port 2015-06-08 04:33:50.287 TRACE neutron.agent.common.ovs_lib [1] https://review.openstack.org/#/c/160245/ To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1462871/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp