[Openstack-operators] [dhcp] Dhcp namespace issues

Albert.K.Chong (git.usca07.Newegg) 22201 Albert.K.Chong at newegg.com
Mon Jul 25 16:31:41 UTC 2016


I am new to openstack.  I followed the initial openstack guild "OpenStack Installation Guide for Red Hat Enterprise Linux and CentOS" with options 1 network.  Everything else work well but failed in networking site.    My vm instance cannot get ip address from DHCP.

After further troubleshooting, I found that could be issues in DHCP Namespace.  I cannot ping from DHCP namespace to my gateway and compute node.  DHCP is located in control node.  Looks like DHCP namespace cannot get tap interface (tap2044baac-9c at if2) from control node and instead of creating itself (ns-2044baac-9c at if5).   My other team member also have the same issues as me in his test environment.  Any recommendation will be much appreciated.

[root at control1 ~]# ip addr
....
3: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master brq469ef97c-8c state UP qlen 1000
    link/ether 00:50:56:93:06:f5 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::250:56ff:fe93:6f5/64 scope link
       valid_lft forever preferred_lft forever
5: tap2044baac-9c at if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brq469ef97c-8c state UP qlen 1000
    link/ether 62:73:3f:a8:d5:fd brd ff:ff:ff:ff:ff:ff link-netnsid 0
6: brq469ef97c-8c: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether 00:50:56:93:06:f5 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.13/24 brd 192.168.1.255 scope global brq469ef97c-8c
       valid_lft forever preferred_lft forever
...
[root at control1 ~]# ip netns exec qdhcp-469ef97c-8ccb-4b06-9faa-85b3b8a5fbbc ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: ns-2044baac-9c at if5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether fa:16:3e:67:4f:45 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 192.168.1.16/24 brd 192.168.1.255 scope global ns-2044baac-9c
       valid_lft forever preferred_lft forever
    inet 169.254.169.254/16 brd 169.254.255.255 scope global ns-2044baac-9c
       valid_lft forever preferred_lft forever
    inet6 fe80::f816:3eff:fe67:4f45/64 scope link
       valid_lft forever preferred_lft forever

Albert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20160725/52b5b88a/attachment.html>


More information about the OpenStack-operators mailing list