No DHCP lease ml2 linuxbridge vxlan l2population

asked 2015-01-22 09:40:22 -0600

DavidR gravatar image

Hello everyone.

I have configured the ml2 Linuxbridge plugin with VXLAN in a multinode setup (one control node, one network node, one compute node) (Centos7, juno release)

Right now, I don't get an IP address from the DHCP server. I think the problem is the DHCP server that connects to the wrong interface.

I should point out that I followed the official installation guide for openstack. But I didn't used openvswitch with gre. I also changed the paths for the plugin ini paths and linked them to /etc/neutron/plugin.ini

I also don't see any errors in the various log files. All config files have debug=true in them. If you need any log files, please let me know.

systemctl status status neutron-dhcp-agent -l

dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=ns-d017c007-dc --except-interface=lo --pid-file=/var/lib/neutron/dhcp/94a50482-b8b2-497e-9573-0f0a33814725/pid --dhcp-hostsfile=/var/lib/neutron/dhcp/94a50482-b8b2-497e-9573-0f0a33814725/host --addn-hosts=/var/lib/neutron/dhcp/94a50482-b8b2-497e-9573-0f0a33814725/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/94a50482-b8b2-497e-9573-0f0a33814725/opts --leasefile-ro --dhcp-range=set:tag0,10.10.0.0,static,86400s --dhcp-lease-max=256 --conf-file=/etc/neutron/dnsmasq-neutron.conf  --domain=openstack.xxxx.com

brctl show

bridge name bridge id       STP enabled         interfaces
brq94a50482-b8      8000.da4cc38ed9d9   no      tapd017c007-dc
                                                vxlan-1004

/etc/neutron/plugin.ini (network node)

[ml2]
type_drivers = local,flat,vxlan
tenant_network_types = vxlan
mechanism_drivers = linuxbridge,l2population

[ml2_type_flat]
flat_networks = external
[ml2_type_vxlan]
vni_ranges = 1001:2000
vxlan_group = 239.1.1.1

[vxlan]
local_ip = 10.10.20.20
l2_population = true
enable_vxlan = true

[database]
connection = mysql://neutron:password@neutron/neutron
[securitygroup]

enable_security_group = True
enable_ipset = True
firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver

[linux_bridge]
physical_interface_mappings = external:eth2
local_ip = 10.10.20.20
[agent]
tunnel_types = vxlan
vxlan_udp_port = 4789
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
[l2pop]
agent_boot_time = 180

dhcp_agent.ini

interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
dnsmasq_config_file = /etc/neutron/dnsmasq-neutron.conf
use_namespaces = True
edit retag flag offensive close merge delete

Comments

I'm trying to figure out a similar lab. There are several config files in a multinode deployment and it is no clear to me where some parameters should be set. You could check this answer

job gravatar imagejob ( 2015-03-26 00:19:55 -0600 )edit