Hi, this appears to have broken DVR functionality for a simple shared tenant network. The DVR flows translating the DVR macs are missing on the physical bridges now for a VLAN based network. This tenant network is shared, and only attached to 1 router.
As you can see port_shared_only is set to True here because its shared and not an external network.
I think we need more checks here - seems like it was intended only for a shared network that acts as a link between 2 routers, but doesnt attach any compute ports?
Hi, this appears to have broken DVR functionality for a simple shared tenant network. The DVR flows translating the DVR macs are missing on the physical bridges now for a VLAN based network. This tenant network is shared, and only attached to 1 router.
As you can see port_shared_only is set to True here because its shared and not an external network.
2018-07-25 15:53:02.386 673 DEBUG neutron. api.rpc. handlers. dvr_rpc [req-7ebadd38- bce9-4d2c- 971a-50894cc780 46 - - - - -] neutron. api.rpc. handlers. dvr_rpc. DVRServerRpcApi method get_network_ info_for_ id called with arguments (<neutron_ lib.context. ContextBase object at 0x7f67cb87fd50>, u'3f6ec232- 7649-4639- b828-c3af996048 1b') {} wrapper /opt/pf9/ pf9-neutron/ lib/python2. 7/site- packages/ oslo_log/ helpers. py:66 bce9-4d2c- 971a-50894cc780 46 - - - - -] PF9_EVENT: RPC_get_ network_ info_for_ id elapsed: 0.39 seconds plugins. ml2.drivers. openvswitch. agent.ovs_ dvr_neutron_ agent [req-7ebadd38- bce9-4d2c- 971a-50894cc780 46 - - - - -] ARJUN3: port_net_info = [{u'provider: physical_ network' : u'dogfood- internal' , u'ipv6_ address_ scope': None, u'dns_domain': u'', u'revision_number': 7, u'port_ security_ enabled' : True, u'mtu': 1500, u'id': u'3f6ec232- 7649-4639- b828-c3af996048 1b', u'router:external': False, u'availability_ zone_hints' : [], u'availability_ zones': [u'nova'], u'ipv4_ address_ scope': None, u'shared': True, u'project_id': u'f175f441ebbb4 c2b8fedf6469d64 15fc', u'status': u'ACTIVE', u'subnets': [u'3707b250- b6f5-4701- 9b17-01a8f288c1 7a'], u'description': None, u'tags': [], u'provider: segmentation_ id': 795, u'name': u'df-tenant- 795-dont- delete' , u'admin_state_up': True, u'tenant_id': u'f175f441ebbb4 c2b8fedf6469d64 15fc', u'provider: network_ type': u'vlan', u'vlan_ transparent' : None}] plugins. ml2.drivers. openvswitch. agent.ovs_ dvr_neutron_ agent [req-7ebadd38- bce9-4d2c- 971a-50894cc780 46 - - - - -] ARJUN3: net_shared_only = True plugins. ml2.drivers. openvswitch. agent.ovs_ dvr_neutron_ agent [req-7ebadd38- bce9-4d2c- 971a-50894cc780 46 - - - - -] ARJUN3: Not applying DVR rules to tunnel bridge because 3f6ec232- 7649-4639- b828-c3af996048 1b is a shared network plugins. ml2.drivers. openvswitch. agent.ovs_ dvr_neutron_ agent [req-7ebadd38- bce9-4d2c- 971a-50894cc780 46 - - - - -] ARJUN3: vlan = 1, port.vif_mac = fa:16:3e:42:a2:ec, dvr_mac = fa:16:3f:1a:bf:de
2018-07-25 15:53:02.779 673 INFO neutron.common.rpc [req-7ebadd38-
2018-07-25 15:53:02.781 673 INFO neutron.
2018-07-25 15:53:02.782 673 INFO neutron.
2018-07-25 15:53:02.784 673 INFO neutron.
2018-07-25 15:53:02.785 673 INFO neutron.
I think we need more checks here - seems like it was intended only for a shared network that acts as a link between 2 routers, but doesnt attach any compute ports?