Juno neutron DVR and multiple external network can not work
Hello
After I enable DVR and add multiple external network,I get the error log:
root@network:~# tail -f /var/log/neutron/l3-agent.log
2015-09-01 11:13:02.507 10689 INFO neutron.openstack.common.service [req-98f5f879-41ee-40f1-b4ea-4883b41b95a6 None] Caught SIGTERM, exiting
2015-09-01 11:13:03.111 30071 INFO neutron.common.config [-] Logging enabled!
2015-09-01 11:13:03.117 30071 INFO oslo.messaging._drivers.impl_rabbit [req-1fea1d8c-1ee3-4139-9f78-6a11ddc047ad ] Connecting to AMQP server on controller:5672
2015-09-01 11:13:03.133 30071 INFO oslo.messaging._drivers.impl_rabbit [req-1fea1d8c-1ee3-4139-9f78-6a11ddc047ad ] Connected to AMQP server on controller:5672
2015-09-01 11:13:03.140 30071 INFO oslo.messaging._drivers.impl_rabbit [req-1fea1d8c-1ee3-4139-9f78-6a11ddc047ad ] Connecting to AMQP server on controller:5672
2015-09-01 11:13:03.153 30071 INFO oslo.messaging._drivers.impl_rabbit [req-1fea1d8c-1ee3-4139-9f78-6a11ddc047ad ] Connected to AMQP server on controller:5672
2015-09-01 11:13:03.193 30071 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on controller:5672
2015-09-01 11:13:03.206 30071 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672
2015-09-01 11:13:03.219 30071 INFO neutron.agent.l3_agent [-] L3 agent started
2015-09-01 11:13:06.463 30071 ERROR neutron.agent.l3_agent [-] DVR: no map match_port found!
2015-09-01 11:13:07.108 30071 ERROR neutron.agent.l3_agent [-] DVR: no map match_port found!
root@network:~# cat /etc/neutron/plugins/ml2/ml2_conf.ini |grep -Ev '(^$)|(^\s*#)'
[ml2]
type_drivers = local,flat,vlan,gre,vxlan
tenant_network_types = vxlan
mechanism_drivers = openvswitch,l2population
[ml2_type_flat]
[ml2_type_vlan]
network_vlan_ranges = external:610:650
[ml2_type_gre]
[ml2_type_vxlan]
vni_ranges = 65537:69999
vxlan_group = 239.1.1.1
[securitygroup]
enable_security_group = True
enable_ipset = True
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
[ovs]
local_ip = 10.0.1.21
bridge_mappings = external:br-ex
[agent]
l2population = True
enable_distributed_routing = True
arp_responder = True
tunnel_types = vxlan
root@network:~# tail -f /var/log/neutron/openvswitch-agent.log
2015-09-01 11:19:30.365 31217 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-65467bb5-f28c-4e71-9a84-90a44251831a None] Configuration for device d27bedbb-a476-46b5-8c07-182232dc9559 completed.
2015-09-01 11:19:30.518 31217 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-65467bb5-f28c-4e71-9a84-90a44251831a None] Port f2fd8f08-fc83-4d81-be4f-dbf3491d1003 updated. Details: {u'profile': {}, u'admin_state_up': True, u'network_id': u'02b3253a-6b28-4584-bb6f-ef734c4a7c6b', u'segmentation_id': 65541, u'device_owner': u'network:router_interface_distributed', u'physical_network': None, u'mac_address': u'fa:16:3e:27:99:3a', u'device': u'f2fd8f08-fc83-4d81-be4f-dbf3491d1003', u'port_id': u'f2fd8f08-fc83-4d81-be4f-dbf3491d1003', u'fixed_ips': [{u'subnet_id': u'eeb67f31-ba9a-4dee-bbb0-62404663990e', u'ip_address': u'192.168.1.1'}], u'network_type': u'vxlan'}
2015-09-01 11:19:31.348 31217 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-65467bb5-f28c-4e71-9a84-90a44251831a None] Configuration for device f2fd8f08-fc83-4d81-be4f-dbf3491d1003 completed.
2015-09-01 11:19:31.502 31217 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-65467bb5-f28c-4e71-9a84-90a44251831a None] Port 3e3d20cb-18f2-4f7c-9154-b6a0984cd114 updated. Details: {u'profile': {}, u'admin_state_up': True, u'network_id': u'bc6d543f-e8b0-485c-9ecc-dfa541ec0e80', u'segmentation_id': 65537, u'device_owner': u'network:dhcp', u'physical_network': None, u'mac_address': u'fa:16:3e:9e:7f:8b', u'device': u'3e3d20cb-18f2-4f7c-9154-b6a0984cd114', u'port_id': u'3e3d20cb-18f2-4f7c-9154-b6a0984cd114', u'fixed_ips': [{u'subnet_id': u'8713c00a-c344-4566-be4a-905b11a4eb49', u'ip_address': u'192.168.1.3'}], u'network_type': u'vxlan'}
2015-09-01 11:19:31.894 31217 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-65467bb5-f28c-4e71-9a84-90a44251831a None] Configuration for device 3e3d20cb-18f2-4f7c-9154-b6a0984cd114 completed.
2015-09-01 11:19:32.047 31217 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-65467bb5-f28c-4e71-9a84-90a44251831a None ...
Did you use "provider external networks" to create several external networks ?
Like in :
1. https://bugzilla.redhat.com/show_bug....
2. http://blog.oddbit.com/2014/05/28/mul...
Yes,I ues the same "provider external networks" to create everal external networks.
I had only one NIC can be use to external network,had anyway to make it?
my openstack Tenant network use vxlan,and External network use vlan.
Could you post ml2_conf.ini as UPDATE 1 to question ?
I post ml2_conf.ini in the question,Thank you
Please, post an exact syntax of CLI been used to create external networks.