Compute node vswitch seems can't contact network node vswitch

asked 2015-10-22 11:03:16 -0600

X gravatar image

I have 3 nodes building openstack base on Kilo Ubuntu 14.04.3.

Controller - mgmt(eth0)
Network - mgmt(eth0) ,gre(eth1),external(p1p1)
Compute - mgmt(eth0) ,gre(eth1)
mgmt is Intel i210 ,gre is Mellanox 10G MT27500
mgmt is 192.168.127.xx
gre is 10.0.1.xx
external 203.0.113.xx

Issue: Instance can't get IP from DHCP agent.
Analyze:
1. Check first stage on Compute node
When instance send DHCP request ,use tcpdump to check qbr/qvo/qvb can get DHCP request package.
2. Check Network node use ip netns exec qr..... can't receive any DHCP request.
ip netns exec qr.... ping 203.0.113.22 is ok ,203.0.113.22 is my external node.
ip netns exec qr.... ping 192.168.1.1 is ok ,192.168.1.1 is my internal gateway.
3. Create 2 instances ,and set IP address manually 192.168.1.5 and 192.168.1.6 ,ping each other is ok.
but both of instances ping 192.168.1.1 can't be reachable .

Some config and log below

Compute Node

root@compute01:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    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: p1p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 74:d4:35:64:46:97 brd ff:ff:ff:ff:ff:ff
    inet 10.0.2.31/24 brd 10.0.2.255 scope global p1p1
       valid_lft forever preferred_lft forever
    inet6 fe80::76d4:35ff:fe64:4697/64 scope link
       valid_lft forever preferred_lft forever
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 40:8d:5c:16:a2:4f brd ff:ff:ff:ff:ff:ff
    inet 192.168.127.246/24 brd 192.168.127.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::428d:5cff:fe16:a24f/64 scope link
       valid_lft forever preferred_lft forever
4: p1p2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 74:d4:35:64:46:99 brd ff:ff:ff:ff:ff:ff
5: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP group default qlen 1000
    link/ether 40:8d:5c:16:a2:4e brd ff:ff:ff:ff:ff:ff
    inet 10.0.1.31/24 brd 10.0.1.255 scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::428d:5cff:fe16:a24e/64 scope link
       valid_lft forever preferred_lft forever
6: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 40:8d:5c:16:a2:4f brd ff:ff:ff:ff:ff:ff
7: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
    link/ether fa:73 ...
(more)
edit retag flag offensive close merge delete