Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ping issue in flat networking / two nodes / icehouse

Hi,

I 'm not able to ping the VMs (eth1 is being used as VM traffic). Like I'm trying to ping the VM from 10.10.10.0 network to 30.30.30.0 network but no success. Even pinging to the gateway is having issue.

Please guide me if any thing wrong in the configuration:

  • From controller:

less /etc/neutron/plugin.ini

[ml2] tenant_network_types = local,vlan,gre,vxlan mechanism_drivers = openvswitch enable_security_group = True

[ovs] flat_networks = eth1 bridge_mappings = eth3:br-ex,eth1:br-eth1

[root@controller1 ~(keystone_admin)]# ovs-vsctl show 11ccc131-ea29-47a7-9b31-f85ec75d97b1 Bridge br-ex Port br-ex Interface br-ex type: internal Port "eth3" Interface "eth3" Bridge br-int fail_mode: secure Port "tapa9d92edd-e3" tag: 1 Interface "tapa9d92edd-e3" type: internal Port "qr-06ab148c-11" tag: 2 Interface "qr-06ab148c-11" type: internal Port "tap2c5ca56f-26" tag: 2 Interface "tap2c5ca56f-26" type: internal Port "tap79f6b7e1-9a" tag: 4095 Interface "tap79f6b7e1-9a" type: internal Port br-int Interface br-int type: internal Port "qr-cc53dc22-93" tag: 1 Interface "qr-cc53dc22-93" type: internal Bridge br-tun Port br-tun Interface br-tun type: internal Bridge "br-eth1" Port "eth1" Interface "eth1" Port "br-eth1" Interface "br-eth1" type: internal ovs_version: "1.11.0"

[root@controller1 ~(keystone_admin)]# ip netns qrouter-80bece3b-d7e0-42ed-9721-db7652fd6a25 qdhcp-39a4fb7b-36ba-43e2-b38e-f859b456149d qdhcp-a2c71bbc-eb72-4fd2-b9e6-1ea47a6c1f2f qdhcp-fd9806aa-ebe4-4e13-a512-4dc0915dd23b

[root@controller1 ~(keystone_admin)]# ip netns exec qrouter-80bece3b-d7e0-42ed-9721-db7652fd6a25 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:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

qr-cc53dc22-93 Link encap:Ethernet HWaddr FA:16:3E:55:46:E9 inet addr:10.10.10.1 Bcast:10.10.10.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fe55:46e9/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:684 (684.0 b)

qr-06ab148c-11 Link encap:Ethernet HWaddr FA:16:3E:0B:47:EE inet addr:30.30.30.1 Bcast:30.30.30.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fe0b:47ee/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:762 (762.0 b)

  • From compute node:

less /etc/neutron/plugin.ini

[ml2] tenant_network_types = local,vlan,gre,vxlan mechanism_drivers = openvswitch enable_security_group = True

[ovs] flat_networks = eth1 bridge_mappings = eth1:br-eth1

[root@compute1 ~]# ovs-vsctl show 462f7bdb-c6a8-4152-b615-3d1338dd2cd9 Bridge br-tun Port br-tun Interface br-tun type: internal Bridge br-int fail_mode: secure Port "qvo4a6864a0-ec" tag: 1 Interface "qvo4a6864a0-ec" Port "qvo9bf39bc4-35" tag: 2 Interface "qvo9bf39bc4-35" Port br-int Interface br-int type: internal Bridge "br-eth1" Port "eth1" Interface "eth1" Port "br-eth1" Interface "br-eth1" type: internal

bridge name bridge id STP enabled interfaces qbr4a6864a0-ec 8000.76768d6e2a8b no qvb4a6864a0-ec tap4a6864a0-ec qbr9bf39bc4-35 8000.f2cfb53ba35d no qvb9bf39bc4-35 tap9bf39bc4-35 virbr0 8000.000000000000 yes

Ping issue in flat networking / two nodes / icehouse

Hi,

I 'm not able to ping the VMs (eth1 is being used as VM traffic). Like I'm trying to ping the VM from 10.10.10.0 network to 30.30.30.0 network but no success. Even pinging to the gateway is having issue.

Please guide me if any thing wrong in the configuration:

  • From controller:

less /etc/neutron/plugin.ini

[ml2] tenant_network_types = local,vlan,gre,vxlan mechanism_drivers = openvswitch enable_security_group = True

[ovs] flat_networks = eth1 bridge_mappings = eth3:br-ex,eth1:br-eth1

[root@controller1 ~(keystone_admin)]# ovs-vsctl show 11ccc131-ea29-47a7-9b31-f85ec75d97b1 Bridge br-ex Port br-ex Interface br-ex type: internal Port "eth3" Interface "eth3" Bridge br-int fail_mode: secure Port "tapa9d92edd-e3" tag: 1 Interface "tapa9d92edd-e3" type: internal Port "qr-06ab148c-11" tag: 2 Interface "qr-06ab148c-11" type: internal Port "tap2c5ca56f-26" tag: 2 Interface "tap2c5ca56f-26" type: internal Port "tap79f6b7e1-9a" tag: 4095 Interface "tap79f6b7e1-9a" type: internal Port br-int Interface br-int type: internal Port "qr-cc53dc22-93" tag: 1 Interface "qr-cc53dc22-93" type: internal Bridge br-tun Port br-tun Interface br-tun type: internal Bridge "br-eth1" Port "eth1" Interface "eth1" Port "br-eth1" Interface "br-eth1" type: internal ovs_version: "1.11.0"

[root@controller1 ~(keystone_admin)]# ip netns qrouter-80bece3b-d7e0-42ed-9721-db7652fd6a25 qdhcp-39a4fb7b-36ba-43e2-b38e-f859b456149d qdhcp-a2c71bbc-eb72-4fd2-b9e6-1ea47a6c1f2f qdhcp-fd9806aa-ebe4-4e13-a512-4dc0915dd23b

[root@controller1 ~(keystone_admin)]# ip netns exec qrouter-80bece3b-d7e0-42ed-9721-db7652fd6a25 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:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

qr-cc53dc22-93 Link encap:Ethernet HWaddr FA:16:3E:55:46:E9 inet addr:10.10.10.1 Bcast:10.10.10.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fe55:46e9/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:684 (684.0 b)

qr-06ab148c-11 Link encap:Ethernet HWaddr FA:16:3E:0B:47:EE inet addr:30.30.30.1 Bcast:30.30.30.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fe0b:47ee/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:762 (762.0 b)

  • From compute node:

less /etc/neutron/plugin.ini

[ml2] tenant_network_types = local,vlan,gre,vxlan mechanism_drivers = openvswitch enable_security_group = True

[ovs] flat_networks = eth1 bridge_mappings = eth1:br-eth1

[root@compute1 ~]# ovs-vsctl show 462f7bdb-c6a8-4152-b615-3d1338dd2cd9 Bridge br-tun Port br-tun Interface br-tun type: internal Bridge br-int fail_mode: secure Port "qvo4a6864a0-ec" tag: 1 Interface "qvo4a6864a0-ec" Port "qvo9bf39bc4-35" tag: 2 Interface "qvo9bf39bc4-35" Port br-int Interface br-int type: internal Bridge "br-eth1" Port "eth1" Interface "eth1" Port "br-eth1" Interface "br-eth1" type: internal

bridge name bridge id STP enabled interfaces qbr4a6864a0-ec 8000.76768d6e2a8b no qvb4a6864a0-ec tap4a6864a0-ec qbr9bf39bc4-35 8000.f2cfb53ba35d no qvb9bf39bc4-35 tap9bf39bc4-35 virbr0 8000.000000000000 yes

Ping issue in flat networking / two nodes / icehouse

Hi,

I 'm not able to ping the VMs (eth1 is being used as VM traffic). Like I'm trying to ping the VM from 10.10.10.0 network to 30.30.30.0 network but no success. Even pinging to the gateway is having issue.

Please guide me if any thing wrong in the configuration:

  • From controller:

    # less /etc/neutron/plugin.ini

    /etc/neutron/plugin.ini [ml2] tenant_network_types = local,vlan,gre,vxlan mechanism_drivers = openvswitch enable_security_group = True

    True [ovs] flat_networks = eth1 bridge_mappings = eth3:br-ex,eth1:br-eth1

    [root@controller1 ~(keystone_admin)]# eth3:br-ex,eth1:br-eth1 # ovs-vsctl show 11ccc131-ea29-47a7-9b31-f85ec75d97b1 Bridge br-ex Port br-ex Interface br-ex type: internal Port "eth3" Interface "eth3" Bridge br-int fail_mode: secure Port "tapa9d92edd-e3" tag: 1 Interface "tapa9d92edd-e3" type: internal Port "qr-06ab148c-11" tag: 2 Interface "qr-06ab148c-11" type: internal Port "tap2c5ca56f-26" tag: 2 Interface "tap2c5ca56f-26" type: internal Port "tap79f6b7e1-9a" tag: 4095 Interface "tap79f6b7e1-9a" type: internal Port br-int Interface br-int type: internal Port "qr-cc53dc22-93" tag: 1 Interface "qr-cc53dc22-93" type: internal Bridge br-tun Port br-tun Interface br-tun type: internal Bridge "br-eth1" Port "eth1" Interface "eth1" Port "br-eth1" Interface "br-eth1" type: internal ovs_version: "1.11.0"

    [root@controller1 ~(keystone_admin)]# "1.11.0" # ip netns qrouter-80bece3b-d7e0-42ed-9721-db7652fd6a25 qdhcp-39a4fb7b-36ba-43e2-b38e-f859b456149d qdhcp-a2c71bbc-eb72-4fd2-b9e6-1ea47a6c1f2f qdhcp-fd9806aa-ebe4-4e13-a512-4dc0915dd23b

    [root@controller1 ~(keystone_admin)]# qdhcp-fd9806aa-ebe4-4e13-a512-4dc0915dd23b # ip netns exec qrouter-80bece3b-d7e0-42ed-9721-db7652fd6a25 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:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

    b) qr-cc53dc22-93 Link encap:Ethernet HWaddr FA:16:3E:55:46:E9 inet addr:10.10.10.1 Bcast:10.10.10.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fe55:46e9/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:684 (684.0 b)

    b) qr-06ab148c-11 Link encap:Ethernet HWaddr FA:16:3E:0B:47:EE inet addr:30.30.30.1 Bcast:30.30.30.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fe0b:47ee/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:762 (762.0 b)

  • b)

    From compute node:

    # less /etc/neutron/plugin.ini

    /etc/neutron/plugin.ini [ml2] tenant_network_types = local,vlan,gre,vxlan mechanism_drivers = openvswitch enable_security_group = True

    True [ovs] flat_networks = eth1 bridge_mappings = eth1:br-eth1

    [root@compute1 ~]# eth1:br-eth1 # ovs-vsctl show 462f7bdb-c6a8-4152-b615-3d1338dd2cd9 Bridge br-tun Port br-tun Interface br-tun type: internal Bridge br-int fail_mode: secure Port "qvo4a6864a0-ec" tag: 1 Interface "qvo4a6864a0-ec" Port "qvo9bf39bc4-35" tag: 2 Interface "qvo9bf39bc4-35" Port br-int Interface br-int type: internal Bridge "br-eth1" Port "eth1" Interface "eth1" Port "br-eth1" Interface "br-eth1" type: internal

    internal # brctl show bridge name bridge id STP enabled interfaces qbr4a6864a0-ec 8000.76768d6e2a8b no qvb4a6864a0-ec tap4a6864a0-ec qbr9bf39bc4-35 8000.f2cfb53ba35d no qvb9bf39bc4-35 tap9bf39bc4-35 virbr0 8000.000000000000 yes

yes

Ping issue in flat networking / two nodes / icehouse

Hi,

I 'm not able to ping the VMs (eth1 is being used as VM traffic). traffic and eth0 is being used to communicate b/w the nodes). Like I'm trying to ping the VM from 10.10.10.0 network to 30.30.30.0 network but no success. Even pinging to the gateway is having issue.

Please guide me if any thing wrong in the configuration:

From controller:

# less /etc/neutron/plugin.ini

[ml2]
tenant_network_types = local,vlan,gre,vxlan
mechanism_drivers = openvswitch
enable_security_group = True

[ovs]
flat_networks = eth1
bridge_mappings = eth3:br-ex,eth1:br-eth1

# ovs-vsctl show
11ccc131-ea29-47a7-9b31-f85ec75d97b1
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
        Port "eth3"
            Interface "eth3"
    Bridge br-int
        fail_mode: secure
        Port "tapa9d92edd-e3"
            tag: 1
            Interface "tapa9d92edd-e3"
                type: internal
        Port "qr-06ab148c-11"
            tag: 2
            Interface "qr-06ab148c-11"
                type: internal
        Port "tap2c5ca56f-26"
            tag: 2
            Interface "tap2c5ca56f-26"
                type: internal
        Port "tap79f6b7e1-9a"
            tag: 4095
            Interface "tap79f6b7e1-9a"
                type: internal
        Port br-int
            Interface br-int
                type: internal
        Port "qr-cc53dc22-93"
            tag: 1
            Interface "qr-cc53dc22-93"
                type: internal
    Bridge br-tun
        Port br-tun
            Interface br-tun
                type: internal
    Bridge "br-eth1"
        Port "eth1"
            Interface "eth1"
        Port "br-eth1"
            Interface "br-eth1"
                type: internal
    ovs_version: "1.11.0"

# ip netns
qrouter-80bece3b-d7e0-42ed-9721-db7652fd6a25
qdhcp-39a4fb7b-36ba-43e2-b38e-f859b456149d
qdhcp-a2c71bbc-eb72-4fd2-b9e6-1ea47a6c1f2f
qdhcp-fd9806aa-ebe4-4e13-a512-4dc0915dd23b

# ip netns exec qrouter-80bece3b-d7e0-42ed-9721-db7652fd6a25 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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

qr-cc53dc22-93 Link encap:Ethernet  HWaddr FA:16:3E:55:46:E9
          inet addr:10.10.10.1  Bcast:10.10.10.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fe55:46e9/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:684 (684.0 b)

qr-06ab148c-11 Link encap:Ethernet  HWaddr FA:16:3E:0B:47:EE
          inet addr:30.30.30.1  Bcast:30.30.30.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fe0b:47ee/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:762 (762.0 b)

From compute node:

# less /etc/neutron/plugin.ini

[ml2]
tenant_network_types = local,vlan,gre,vxlan
mechanism_drivers = openvswitch
enable_security_group = True

[ovs]
flat_networks = eth1
bridge_mappings = eth1:br-eth1

# ovs-vsctl show
462f7bdb-c6a8-4152-b615-3d1338dd2cd9
    Bridge br-tun
        Port br-tun
            Interface br-tun
                type: internal
    Bridge br-int
        fail_mode: secure
        Port "qvo4a6864a0-ec"
            tag: 1
            Interface "qvo4a6864a0-ec"
        Port "qvo9bf39bc4-35"
            tag: 2
            Interface "qvo9bf39bc4-35"
        Port br-int
            Interface br-int
                type: internal
    Bridge "br-eth1"
        Port "eth1"
            Interface "eth1"
        Port "br-eth1"
            Interface "br-eth1"
                type: internal

# brctl show

bridge name     bridge id               STP enabled     interfaces
qbr4a6864a0-ec          8000.76768d6e2a8b       no              qvb4a6864a0-ec
                                                        tap4a6864a0-ec
qbr9bf39bc4-35          8000.f2cfb53ba35d       no              qvb9bf39bc4-35
                                                        tap9bf39bc4-35
virbr0          8000.000000000000       yes

Ping issue in flat networking / two nodes / icehouse

Hi,

I 'm not able to ping the VMs instances (eth1 is being used as VM traffic and eth0 is being used to communicate b/w the nodes). Like I'm trying to ping the VM instance (by connecting to console of an instance directly) from 10.10.10.0 network to 30.30.30.0 network but no success. Even pinging to the gateway is having issue.

Please guide me if any thing wrong in the configuration:

From controller:

# less /etc/neutron/plugin.ini

[ml2]
tenant_network_types = local,vlan,gre,vxlan
mechanism_drivers = openvswitch
enable_security_group = True

[ovs]
flat_networks = eth1
bridge_mappings = eth3:br-ex,eth1:br-eth1

# ovs-vsctl show
11ccc131-ea29-47a7-9b31-f85ec75d97b1
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
        Port "eth3"
            Interface "eth3"
    Bridge br-int
        fail_mode: secure
        Port "tapa9d92edd-e3"
            tag: 1
            Interface "tapa9d92edd-e3"
                type: internal
        Port "qr-06ab148c-11"
            tag: 2
            Interface "qr-06ab148c-11"
                type: internal
        Port "tap2c5ca56f-26"
            tag: 2
            Interface "tap2c5ca56f-26"
                type: internal
        Port "tap79f6b7e1-9a"
            tag: 4095
            Interface "tap79f6b7e1-9a"
                type: internal
        Port br-int
            Interface br-int
                type: internal
        Port "qr-cc53dc22-93"
            tag: 1
            Interface "qr-cc53dc22-93"
                type: internal
    Bridge br-tun
        Port br-tun
            Interface br-tun
                type: internal
    Bridge "br-eth1"
        Port "eth1"
            Interface "eth1"
        Port "br-eth1"
            Interface "br-eth1"
                type: internal
    ovs_version: "1.11.0"

# ip netns
qrouter-80bece3b-d7e0-42ed-9721-db7652fd6a25
qdhcp-39a4fb7b-36ba-43e2-b38e-f859b456149d
qdhcp-a2c71bbc-eb72-4fd2-b9e6-1ea47a6c1f2f
qdhcp-fd9806aa-ebe4-4e13-a512-4dc0915dd23b

# ip netns exec qrouter-80bece3b-d7e0-42ed-9721-db7652fd6a25 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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

qr-cc53dc22-93 Link encap:Ethernet  HWaddr FA:16:3E:55:46:E9
          inet addr:10.10.10.1  Bcast:10.10.10.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fe55:46e9/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:684 (684.0 b)

qr-06ab148c-11 Link encap:Ethernet  HWaddr FA:16:3E:0B:47:EE
          inet addr:30.30.30.1  Bcast:30.30.30.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fe0b:47ee/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:762 (762.0 b)

From compute node:

# less /etc/neutron/plugin.ini

[ml2]
tenant_network_types = local,vlan,gre,vxlan
mechanism_drivers = openvswitch
enable_security_group = True

[ovs]
flat_networks = eth1
bridge_mappings = eth1:br-eth1

# ovs-vsctl show
462f7bdb-c6a8-4152-b615-3d1338dd2cd9
    Bridge br-tun
        Port br-tun
            Interface br-tun
                type: internal
    Bridge br-int
        fail_mode: secure
        Port "qvo4a6864a0-ec"
            tag: 1
            Interface "qvo4a6864a0-ec"
        Port "qvo9bf39bc4-35"
            tag: 2
            Interface "qvo9bf39bc4-35"
        Port br-int
            Interface br-int
                type: internal
    Bridge "br-eth1"
        Port "eth1"
            Interface "eth1"
        Port "br-eth1"
            Interface "br-eth1"
                type: internal

# brctl show

bridge name     bridge id               STP enabled     interfaces
qbr4a6864a0-ec          8000.76768d6e2a8b       no              qvb4a6864a0-ec
                                                        tap4a6864a0-ec
qbr9bf39bc4-35          8000.f2cfb53ba35d       no              qvb9bf39bc4-35
                                                        tap9bf39bc4-35
virbr0          8000.000000000000       yes
  • Network / Instances details:

[root@controller1 ~(keystone_admin)]# nova list +--------------------------------------+------+--------+------------+-------------+-------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+------+--------+------------+-------------+-------------------+ | 634bf36d-ca5c-48c3-8b8a-184e5b8bc1f3 | blue | ACTIVE | - | Running | net-10=10.10.10.2 | | 6e827f41-78d7-465e-b7d5-790ae47c44d4 | pink | ACTIVE | - | Running | net-30=30.30.30.2 | +--------------------------------------+------+--------+------------+-------------+-------------------+ [root@controller1 ~(keystone_admin)]# neutron net-list +--------------------------------------+--------+----------------------------------------------------+ | id | name | subnets | +--------------------------------------+--------+----------------------------------------------------+ | 39a4fb7b-36ba-43e2-b38e-f859b456149d | net-30 | d090be7e-64e0-4ff4-9430-1831379317c3 30.30.30.0/24 | | a2c71bbc-eb72-4fd2-b9e6-1ea47a6c1f2f | net-10 | d4872493-82a6-4697-9b55-613e1ba38796 10.10.10.0/24 | +--------------------------------------+--------+----------------------------------------------------+ [root@controller1 ~(keystone_admin)]# neutron subnet-list +--------------------------------------+---------------+---------------+------------------------------------------------+ | id | name | cidr | allocation_pools | +--------------------------------------+---------------+---------------+------------------------------------------------+ | d090be7e-64e0-4ff4-9430-1831379317c3 | | 30.30.30.0/24 | {"start": "30.30.30.2", "end": "30.30.30.254"} | | d4872493-82a6-4697-9b55-613e1ba38796 | | 10.10.10.0/24 | {"start": "10.10.10.2", "end": "10.10.10.254"} | +--------------------------------------+---------------+---------------+------------------------------------------------+

[root@controller1 ~(keystone_admin)]# neutron router-port-list 80bece3b-d7e0-42ed-9721-db7652fd6a25 +--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+ | id | name | mac_address | fixed_ips | +--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+ | 06ab148c-11bc-4129-be39-277e64d51952 | | fa:16:3e:0b:47:ee | {"subnet_id": "d090be7e-64e0-4ff4-9430-1831379317c3", "ip_address": "30.30.30.1"} | | cc53dc22-9348-4044-950a-fac8ccb089e1 | | fa:16:3e:55:46:e9 | {"subnet_id": "d4872493-82a6-4697-9b55-613e1ba38796", "ip_address": "10.10.10.1"} | +--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+

Ping issue in flat networking / two nodes / icehouse

Hi,

I 'm not able to ping the instances (eth1 is being used as VM traffic and eth0 is being used to communicate b/w the nodes). Like I'm trying to ping the instance (by connecting to console of an instance directly) from 10.10.10.0 network to 30.30.30.0 network but no success. Even pinging to the gateway is having issue.

Please guide me if any thing wrong in the configuration:

From controller:

# less /etc/neutron/plugin.ini

[ml2]
tenant_network_types = local,vlan,gre,vxlan
mechanism_drivers = openvswitch
enable_security_group = True

[ovs]
flat_networks = eth1
bridge_mappings = eth3:br-ex,eth1:br-eth1

# ovs-vsctl show
11ccc131-ea29-47a7-9b31-f85ec75d97b1
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
        Port "eth3"
            Interface "eth3"
    Bridge br-int
        fail_mode: secure
        Port "tapa9d92edd-e3"
            tag: 1
            Interface "tapa9d92edd-e3"
                type: internal
        Port "qr-06ab148c-11"
            tag: 2
            Interface "qr-06ab148c-11"
                type: internal
        Port "tap2c5ca56f-26"
            tag: 2
            Interface "tap2c5ca56f-26"
                type: internal
        Port "tap79f6b7e1-9a"
            tag: 4095
            Interface "tap79f6b7e1-9a"
                type: internal
        Port br-int
            Interface br-int
                type: internal
        Port "qr-cc53dc22-93"
            tag: 1
            Interface "qr-cc53dc22-93"
                type: internal
    Bridge br-tun
        Port br-tun
            Interface br-tun
                type: internal
    Bridge "br-eth1"
        Port "eth1"
            Interface "eth1"
        Port "br-eth1"
            Interface "br-eth1"
                type: internal
    ovs_version: "1.11.0"

# ip netns
qrouter-80bece3b-d7e0-42ed-9721-db7652fd6a25
qdhcp-39a4fb7b-36ba-43e2-b38e-f859b456149d
qdhcp-a2c71bbc-eb72-4fd2-b9e6-1ea47a6c1f2f
qdhcp-fd9806aa-ebe4-4e13-a512-4dc0915dd23b

# ip netns exec qrouter-80bece3b-d7e0-42ed-9721-db7652fd6a25 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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

qr-cc53dc22-93 Link encap:Ethernet  HWaddr FA:16:3E:55:46:E9
          inet addr:10.10.10.1  Bcast:10.10.10.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fe55:46e9/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:684 (684.0 b)

qr-06ab148c-11 Link encap:Ethernet  HWaddr FA:16:3E:0B:47:EE
          inet addr:30.30.30.1  Bcast:30.30.30.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fe0b:47ee/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:762 (762.0 b)

From compute node:

# less /etc/neutron/plugin.ini

[ml2]
tenant_network_types = local,vlan,gre,vxlan
mechanism_drivers = openvswitch
enable_security_group = True

[ovs]
flat_networks = eth1
bridge_mappings = eth1:br-eth1

# ovs-vsctl show
462f7bdb-c6a8-4152-b615-3d1338dd2cd9
    Bridge br-tun
        Port br-tun
            Interface br-tun
                type: internal
    Bridge br-int
        fail_mode: secure
        Port "qvo4a6864a0-ec"
            tag: 1
            Interface "qvo4a6864a0-ec"
        Port "qvo9bf39bc4-35"
            tag: 2
            Interface "qvo9bf39bc4-35"
        Port br-int
            Interface br-int
                type: internal
    Bridge "br-eth1"
        Port "eth1"
            Interface "eth1"
        Port "br-eth1"
            Interface "br-eth1"
                type: internal

# brctl show

bridge name     bridge id               STP enabled     interfaces
qbr4a6864a0-ec          8000.76768d6e2a8b       no              qvb4a6864a0-ec
                                                        tap4a6864a0-ec
qbr9bf39bc4-35          8000.f2cfb53ba35d       no              qvb9bf39bc4-35
                                                        tap9bf39bc4-35
virbr0          8000.000000000000       yes
  • Network / Instances details:

[root@controller1 ~(keystone_admin)]# nova list +--------------------------------------+------+--------+------------+-------------+-------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+------+--------+------------+-------------+-------------------+ | 634bf36d-ca5c-48c3-8b8a-184e5b8bc1f3 | blue | ACTIVE | - | Running | net-10=10.10.10.2 | | 6e827f41-78d7-465e-b7d5-790ae47c44d4 | pink | ACTIVE | - | Running | net-30=30.30.30.2 | +--------------------------------------+------+--------+------------+-------------+-------------------+ [root@controller1 ~(keystone_admin)]# neutron net-list +--------------------------------------+--------+----------------------------------------------------+ | id | name | subnets | +--------------------------------------+--------+----------------------------------------------------+ | 39a4fb7b-36ba-43e2-b38e-f859b456149d | net-30 | d090be7e-64e0-4ff4-9430-1831379317c3 30.30.30.0/24 | | a2c71bbc-eb72-4fd2-b9e6-1ea47a6c1f2f | net-10 | d4872493-82a6-4697-9b55-613e1ba38796 10.10.10.0/24 | +--------------------------------------+--------+----------------------------------------------------+ [root@controller1 ~(keystone_admin)]# neutron subnet-list +--------------------------------------+---------------+---------------+------------------------------------------------+ | id | name | cidr | allocation_pools | +--------------------------------------+---------------+---------------+------------------------------------------------+ | d090be7e-64e0-4ff4-9430-1831379317c3 | | 30.30.30.0/24 | {"start": "30.30.30.2", "end": "30.30.30.254"} | | d4872493-82a6-4697-9b55-613e1ba38796 | | 10.10.10.0/24 | {"start": "10.10.10.2", "end": "10.10.10.254"} | +--------------------------------------+---------------+---------------+------------------------------------------------+

[root@controller1 ~(keystone_admin)]# neutron router-port-list 80bece3b-d7e0-42ed-9721-db7652fd6a25 +--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+ | id | name | mac_address | fixed_ips | +--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+ | 06ab148c-11bc-4129-be39-277e64d51952 | | fa:16:3e:0b:47:ee | {"subnet_id": "d090be7e-64e0-4ff4-9430-1831379317c3", "ip_address": "30.30.30.1"} | | cc53dc22-9348-4044-950a-fac8ccb089e1 | | fa:16:3e:55:46:e9 | {"subnet_id": "d4872493-82a6-4697-9b55-613e1ba38796", "ip_address": "10.10.10.1"} | +--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+

So, from tcpdump, noticed no packets on controller node but only ARP requests on the compute node:

[root@compute1 ~]# brctl show bridge name bridge id STP enabled interfaces qbr4a6864a0-ec 8000.76768d6e2a8b no qvb4a6864a0-ec tap4a6864a0-ec qbr9bf39bc4-35 8000.f2cfb53ba35d no qvb9bf39bc4-35 tap9bf39bc4-35 virbr0 8000.000000000000 yes

[root@compute1 ~]# tcpdump -i qvb9bf39bc4-35 tcpdump: WARNING: qvb9bf39bc4-35: no IPv4 address assigned tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on qvb9bf39bc4-35, link-type EN10MB (Ethernet), capture size 65535 bytes 14:51:56.409541 ARP, Request who-has 30.30.30.1 tell 30.30.30.2, length 28 14:51:57.407811 ARP, Request who-has 30.30.30.1 tell 30.30.30.2, length 28 14:51:58.409780 ARP, Request who-has 30.30.30.1 tell 30.30.30.2, length 28 14:51:59.413914 ARP, Request who-has 30.30.30.1 tell 30.30.30.2, length 28 14:52:00.413723 ARP, Request who-has 30.30.30.1 tell 30.30.30.2, length 28

Ping issue in flat networking / two nodes / icehouse

Hi,

I 'm not able to ping the instances (eth1 is being used as VM traffic and eth0 is being used to communicate b/w the nodes). Like I'm trying to ping the instance (by connecting to console of an instance directly) from 10.10.10.0 network to 30.30.30.0 network but no success. Even pinging to the gateway is having issue.

Please guide me if any thing wrong in the configuration:

From controller:

# less /etc/neutron/plugin.ini

[ml2]
tenant_network_types = local,vlan,gre,vxlan
mechanism_drivers = openvswitch
enable_security_group = True

[ovs]
flat_networks = eth1
bridge_mappings = eth3:br-ex,eth1:br-eth1

# ovs-vsctl show
11ccc131-ea29-47a7-9b31-f85ec75d97b1
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
        Port "eth3"
            Interface "eth3"
    Bridge br-int
        fail_mode: secure
        Port "tapa9d92edd-e3"
            tag: 1
            Interface "tapa9d92edd-e3"
                type: internal
        Port "qr-06ab148c-11"
            tag: 2
            Interface "qr-06ab148c-11"
                type: internal
        Port "tap2c5ca56f-26"
            tag: 2
            Interface "tap2c5ca56f-26"
                type: internal
        Port "tap79f6b7e1-9a"
            tag: 4095
            Interface "tap79f6b7e1-9a"
                type: internal
        Port br-int
            Interface br-int
                type: internal
        Port "qr-cc53dc22-93"
            tag: 1
            Interface "qr-cc53dc22-93"
                type: internal
    Bridge br-tun
        Port br-tun
            Interface br-tun
                type: internal
    Bridge "br-eth1"
        Port "eth1"
            Interface "eth1"
        Port "br-eth1"
            Interface "br-eth1"
                type: internal
    ovs_version: "1.11.0"

# ip netns
qrouter-80bece3b-d7e0-42ed-9721-db7652fd6a25
qdhcp-39a4fb7b-36ba-43e2-b38e-f859b456149d
qdhcp-a2c71bbc-eb72-4fd2-b9e6-1ea47a6c1f2f
qdhcp-fd9806aa-ebe4-4e13-a512-4dc0915dd23b

# ip netns exec qrouter-80bece3b-d7e0-42ed-9721-db7652fd6a25 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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

qr-cc53dc22-93 Link encap:Ethernet  HWaddr FA:16:3E:55:46:E9
          inet addr:10.10.10.1  Bcast:10.10.10.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fe55:46e9/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:684 (684.0 b)

qr-06ab148c-11 Link encap:Ethernet  HWaddr FA:16:3E:0B:47:EE
          inet addr:30.30.30.1  Bcast:30.30.30.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fe0b:47ee/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:762 (762.0 b)

From compute node:

# less /etc/neutron/plugin.ini

[ml2]
tenant_network_types = local,vlan,gre,vxlan
mechanism_drivers = openvswitch
enable_security_group = True

[ovs]
flat_networks = eth1
bridge_mappings = eth1:br-eth1

# ovs-vsctl show
462f7bdb-c6a8-4152-b615-3d1338dd2cd9
    Bridge br-tun
        Port br-tun
            Interface br-tun
                type: internal
    Bridge br-int
        fail_mode: secure
        Port "qvo4a6864a0-ec"
            tag: 1
            Interface "qvo4a6864a0-ec"
        Port "qvo9bf39bc4-35"
            tag: 2
            Interface "qvo9bf39bc4-35"
        Port br-int
            Interface br-int
                type: internal
    Bridge "br-eth1"
        Port "eth1"
            Interface "eth1"
        Port "br-eth1"
            Interface "br-eth1"
                type: internal

# brctl show

bridge name     bridge id               STP enabled     interfaces
qbr4a6864a0-ec          8000.76768d6e2a8b       no              qvb4a6864a0-ec
                                                        tap4a6864a0-ec
qbr9bf39bc4-35          8000.f2cfb53ba35d       no              qvb9bf39bc4-35
                                                        tap9bf39bc4-35
virbr0          8000.000000000000       yes
  • Network / Instances details:

[root@controller1 ~(keystone_admin)]# nova list +--------------------------------------+------+--------+------------+-------------+-------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+------+--------+------------+-------------+-------------------+ | 634bf36d-ca5c-48c3-8b8a-184e5b8bc1f3 | blue | ACTIVE | - | Running | net-10=10.10.10.2 | | 6e827f41-78d7-465e-b7d5-790ae47c44d4 | pink | ACTIVE | - | Running | net-30=30.30.30.2 | +--------------------------------------+------+--------+------------+-------------+-------------------+ [root@controller1 ~(keystone_admin)]# neutron net-list +--------------------------------------+--------+----------------------------------------------------+ | id | name | subnets | +--------------------------------------+--------+----------------------------------------------------+ | 39a4fb7b-36ba-43e2-b38e-f859b456149d | net-30 | d090be7e-64e0-4ff4-9430-1831379317c3 30.30.30.0/24 | | a2c71bbc-eb72-4fd2-b9e6-1ea47a6c1f2f | net-10 | d4872493-82a6-4697-9b55-613e1ba38796 10.10.10.0/24 | +--------------------------------------+--------+----------------------------------------------------+ [root@controller1 ~(keystone_admin)]# neutron subnet-list +--------------------------------------+---------------+---------------+------------------------------------------------+ | id | name | cidr | allocation_pools | +--------------------------------------+---------------+---------------+------------------------------------------------+ | d090be7e-64e0-4ff4-9430-1831379317c3 | | 30.30.30.0/24 | {"start": "30.30.30.2", "end": "30.30.30.254"} | | d4872493-82a6-4697-9b55-613e1ba38796 | | 10.10.10.0/24 | {"start": "10.10.10.2", "end": "10.10.10.254"} | +--------------------------------------+---------------+---------------+------------------------------------------------+

[root@controller1 ~(keystone_admin)]# neutron router-port-list 80bece3b-d7e0-42ed-9721-db7652fd6a25 +--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+ | id | name | mac_address | fixed_ips | +--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+ | 06ab148c-11bc-4129-be39-277e64d51952 | | fa:16:3e:0b:47:ee | {"subnet_id": "d090be7e-64e0-4ff4-9430-1831379317c3", "ip_address": "30.30.30.1"} | | cc53dc22-9348-4044-950a-fac8ccb089e1 | | fa:16:3e:55:46:e9 | {"subnet_id": "d4872493-82a6-4697-9b55-613e1ba38796", "ip_address": "10.10.10.1"} | +--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+

So, from tcpdump, noticed no packets on controller node but only ARP requests on the compute node:

[root@compute1 ~]# brctl show bridge name bridge id STP enabled interfaces qbr4a6864a0-ec 8000.76768d6e2a8b no qvb4a6864a0-ec tap4a6864a0-ec qbr9bf39bc4-35 8000.f2cfb53ba35d no qvb9bf39bc4-35 tap9bf39bc4-35 virbr0 8000.000000000000 yes

[root@compute1 ~]# tcpdump -i qvb9bf39bc4-35 tcpdump: WARNING: qvb9bf39bc4-35: no IPv4 address assigned tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on qvb9bf39bc4-35, link-type EN10MB (Ethernet), capture size 65535 bytes 14:51:56.409541 ARP, Request who-has 30.30.30.1 tell 30.30.30.2, length 28 14:51:57.407811 ARP, Request who-has 30.30.30.1 tell 30.30.30.2, length 28 14:51:58.409780 ARP, Request who-has 30.30.30.1 tell 30.30.30.2, length 28 14:51:59.413914 ARP, Request who-has 30.30.30.1 tell 30.30.30.2, length 28 14:52:00.413723 ARP, Request who-has 30.30.30.1 tell 30.30.30.2, length 28

Kindly, let me know if I 'm missing something in the above configuration?

Regards.