While provisioning IP not assigned to VM

asked 2016-11-30 07:38:59 -0500

manish2359 gravatar image

updated 2016-12-02 09:21:33 -0500

rbowen gravatar image

I have a three node setup which basically works except the instances do not seem to receive an IP address via DHCP. Earlier it was working fine but after moving those machines from one location to other we assigned the same IPs to host and kept the same configuration. But now while VM provisioning IPs are not getting assigned to it. In horizon dashboard and in output of “neutron port-list” I am able to see newly assigned IP but these IPs are not visible in VM. I am able to see DHCP request on tap interface on compute node but it’s not reaching on network node.

Controller Logs

root@OS0:~# ip netns
qrouter-dee0801f-14b4-48c8-a5fd-1f4a75812b56
qdhcp-667dbb7e-fd7f-4875-ba29-820667e5279d
qdhcp-69f55ce2-6ab7-40d8-93ee-41cb7d8e4ea8
qdhcp-1c4d4d1b-c60d-43ea-bb96-ca4e192aba4f

root@OS0:~# ip netns exec qdhcp-1c4d4d1b-c60d-43ea-bb96-ca4e192aba4f ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:7 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4032 (4.0 KB)  TX bytes:4032 (4.0 KB)

tapc2a36b86-06 Link encap:Ethernet  HWaddr fa:16:3e:f6:c0:d6
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fef6:c0d6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:252 (252.0 B)  TX bytes:648 (648.0 B)

root@OS0:~# ovs-vsctl show
d6ee89cd-b51e-41f5-8190-cb5f7240544c
    Bridge br-int
        fail_mode: secure
        Port "tap95c7b476-ac"
            tag: 4
            Interface "tap95c7b476-ac"
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "qr-cf64e4c5-ef"
            tag: 2
            Interface "qr-cf64e4c5-ef"
                type: internal
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port "tapc2a36b86-06"
            tag: 2
            Interface "tapc2a36b86-06"
                type: internal
        Port "qr-c5288ecd-bb"
            tag: 3
            Interface "qr-c5288ecd-bb"
                type: internal
        Port "tap9c436521-73"
            tag: 3
            Interface "tap9c436521-73"
                type: internal
        Port "qg-42fa45bd-b5"
            tag: 1
            Interface "qg-42fa45bd-b5"
                type: internal
        Port "qr-7a23900d-4b"
            tag: 4
            Interface "qr-7a23900d-4b"
                type: internal
        Port br-int
            Interface br-int
                type: internal
    Bridge br-ex
        Port "em0"
            Interface "em0"
        Port br-ex
            Interface br-ex
                type: internal
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
    Bridge br-tun
        fail_mode: secure
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port "gre-c0a8050b"
            Interface "gre-c0a8050b"
                type: gre
                options: {df_default="true", in_key=flow, local_ip="192.168.5.10", out_key=flow, remote_ip="192.168.5.11"}
        Port "gre-c0a8050c"
            Interface "gre-c0a8050c"
                type: gre
                options: {df_default="true", in_key=flow, local_ip="192.168.5.10", out_key=flow, remote_ip="192.168.5.12"}
        Port "gre-c0a8050d"
            Interface "gre-c0a8050d"
                type: gre
                options: {df_default="true", in_key=flow, local_ip="192.168.5.10", out_key=flow, remote_ip="192.168.5.13"}
        Port br-tun
            Interface br-tun
                type: internal
        Port "gre-c0a80519"
            Interface "gre-c0a80519"
                type: gre
                options: {df_default="true", in_key=flow, local_ip="192.168.5.10", out_key=flow, remote_ip="192.168.5.25"}
    ovs_version: "2.3.2"

root ...
(more)
edit retag flag offensive close merge delete