provider network linux bridge error

asked 2017-10-29 10:25:42 -0500

cbravo gravatar image

Hello,

I configured openstack with 1 controller node and 1 compute node. I am using provider networks with VLANs and PIKE version.

Everything seems to be configured correctly, but for some reason the VM is not getting an IP.

When I do a ip address show (ubuntu 16.04 LTS), I can see the following interfaces:

5: enp11s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:25:b5:00:00:29 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::225:b5ff:fe00:29/64 scope link 
       valid_lft forever preferred_lft forever
6: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:f4:27:a9 brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
       valid_lft forever preferred_lft forever
7: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000
    link/ether 52:54:00:f4:27:a9 brd ff:ff:ff:ff:ff:ff
8: brq8282d8ff-74: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:25:b5:00:00:29 brd ff:ff:ff:ff:ff:ff
**10: enp11s0.115@enp11s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master brq8282d8ff-74 state UP group default qlen 1000
    link/ether 00:25:b5:00:00:29 brd ff:ff:ff:ff:ff:ff**
11: tap08643b86-fa: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brq8282d8ff-74 state UNKNOWN group default qlen 1000
    link/ether fe:16:3e:63:dd:5c brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc16:3eff:fe63:dd5c/64 scope link 
       valid_lft forever preferred_lft forever

I understand that the enp11s0.115 would be VLAN 115 (that's correct) on the enp11s0 interface (that's correct too). However, I'm not getting an IP Address. The DHCP agent shows as running on the control node.

root@scoscontrol01:~# neutron agent-list
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+--------------------------------------+--------------------+---------------+-------------------+-------+----------------+---------------------------+
| id                                   | agent_type         | host          | availability_zone | alive | admin_state_up | binary                    |
+--------------------------------------+--------------------+---------------+-------------------+-------+----------------+---------------------------+
| 0a48246f-406c-4ce9-9391-2ea7905c761f | Linux bridge agent | scoscmp01     |                   | :-)   | True           | neutron-linuxbridge-agent |
| 0d50acb1-9db9-40bd-a97e-0f70890403b2 | Metadata agent     | scoscontrol01 |                   | :-)   | True           | neutron-metadata-agent    |
**| 69fc2d07-dae0-4d9b-bbb4-ee1f54659c79 | DHCP agent         | scoscontrol01 | nova              | :-)   | True           | neutron-dhcp-agent        |**
| f8064244-8155-41d5-a3c1-ca0317a6dcac | Linux bridge agent | scoscontrol01 |                   | :-)   | True           | neutron-linuxbridge-agent |
+--------------------------------------+--------------------+---------------+-------------------+-------+----------------+---------------------------+

Greetings,

C.

edit retag flag offensive close merge delete

Comments

Hi please check the logs of neutron server, dhcp log, linux bridge log, ovs log (if it exists), nova-compute log , nova scheduler log and share them too. Please share the output of ip netns command

Praveen N gravatar imagePraveen N ( 2017-10-30 03:49:24 -0500 )edit

AFAIK instances in provider networks don't get an IP address via DHCP, we have to use images with cloud-init and provide network configuration via config-drive.

eblock gravatar imageeblock ( 2017-11-01 07:10:28 -0500 )edit

are you using ovs or linux bridge?

timi gravatar imagetimi ( 2017-11-10 15:51:48 -0500 )edit