Networking issues, instance doesn’t get IP - where to debug?

asked 2017-04-04 08:35:33 -0500

denmic gravatar image

Hi, I’m struggling with Openstack networking for some time now. I hope someone can help me as I don’t exactly know what possibly could be wrong and how to debug my scenario. In short my setup looks like this:

  • 3 physical hosts, each of them has 4 physical network devices, OS base is Ubuntu 16.04
  • Openstack Ocata deployed via Opensatck Ansible
  • Neutron config with OVS (followed this tutorial: http://trumant.github.io/openstack-ansible-openvswitch.html (http://trumant.github.io/openstack-an...))

Following the tutorial, I can create the networks and the instances but the instances time out while trying to obtain an IP address. In terms of debugging I tried to find out how the DHCPDISCOVER flow is working and where there might be a problem by following this guide: https://www.softwareab.net/wordpress/openstack-debugging-neutron-dhcp/ (https://www.softwareab.net/wordpress/...) Unfortunately, the problem described there (the neutron DHCP agent didn’t know about the instance) isn’t mine.

My problem is that I don’t exactly know where to start and how to debug the problem methodically.

Theoretically it could be the hardware configuration aswell as I created some VLANs on the management switch and so on… In detail the actual configs look like this:

Controller

Interfaces:

auto lo
iface lo inet loopback

# Public Interface
auto eno1
iface eno1 inet manual

#ISCSI Interface (QNAP NAS)
auto eno2
iface eno2 inet static
    address 10.10.88.102
    netmask 255.255.255.0

auto eno3
iface eno3 inet manual

auto eno3.236
iface eno3.236 inet manual
vlan-raw-device eno3

#STORAGE
auto eno4
iface eno4 inet manual

auto eno4.244
iface eno4.244 inet manual
vlan-raw-device eno4

auto br-mgmt
iface br-mgmt inet static
    bridge_stp off
    bridge_waitport 0
    bridge_fd 0
    bridge_ports eno1
    address 10.30.236.102
    netmask 255.255.252.0
    gateway 10.30.236.1
    dns-nameservers "10.30.236.1 8.8.8.8 8.8.4.4"
    up ip addr add 10.10.20.102/24 dev br-mgmt

auto br-vlan
iface br-vlan inet manual
    bridge_stp off
    bridge_waitport 0
    bridge_fd 0
    bridge_ports eno3

auto br-storage
iface br-storage inet static
    bridge_stp off
    bridge_waitport 0
    bridge_fd 0
    bridge_ports eno4.244
    address 10.30.244.102
    netmask 255.255.252.0

The physical switch ports (for all machines) for eno3 and eno4 are configured as tagged ports for VLAN 236 (eno3) and 244 (eno4). Additionally eno3 switch ports can send tagged frames in VLAN 1001 - 1008 (for project networks).

Compute:

# The loopback network interface auto lo iface lo inet loopback

# Public Interface auto eno1 iface eno1 inet manual

auto eno3 iface eno3 inet manual

auto eno3.236 iface eno3.236 inet manual vlan-raw-device eno3

#STORAGE auto eno4 iface eno4 inet manual

auto eno4.244 iface eno4.244 inet manual vlan-raw-device eno4

auto br-mgmt iface br-mgmt inet static
    bridge_stp off
    bridge_waitport 0
    bridge_fd 0
    bridge_ports eno1
    address 10.30.236.104
    netmask 255.255.252.0
    gateway 10.30.236.1
    dns-nameservers  "10.30.236.1 8.8.8.8 8.8.4.4 ...
(more)
edit retag flag offensive close merge delete