OpenStack 实例无法在计算节点之间 ping

问题描述

我们使用的测试平台是 OpenStack (Stein) + OpenDaylight (Neon) + Open vSwitch (v2.11.1)。这是一种一体化部署 (OPNFV-9.0.0)。

实例可以在同一个计算节点上互相ping通, 但如果实例在不同的计算节点上,则无法相互ping通。

计算节点可以互相ping通。

以下是我们环境中的 2 个计算节点和下面的命令“ovs-vsctl show”:

Topology

vm1 ping vm2 显示目标主机无法访问。

Cmp001:

Manager "tcp:172.16.10.40:6640"
        is_connected: true
    Bridge br-floating
        Port "ens6"
            Interface "ens6"
        Port br-floating
            Interface br-floating
                type: internal
        Port br-floating-int-patch
            Interface br-floating-int-patch
                type: patch
                options: {peer=br-floating-pa}
    Bridge br-int
        Controller "tcp:172.16.10.40:6653"
            is_connected: true
        fail_mode: secure
        Port "tun9a4f2733bb3"
            Interface "tun9a4f2733bb3"
                type: vxlan
                options: {exts=gpe,key=flow,local_ip="10.1.0.5",remote_ip=flow}
        Port "tap59535eb9-ef"
            Interface "tap59535eb9-ef"
        Port br-floating-pa
            Interface br-floating-pa
                type: patch
                options: {peer=br-floating-int-patch}
        Port "tapc58e6fd1-cf"
            Interface "tapc58e6fd1-cf"
        Port "tap8bb9f6de-a9"
            Interface "tap8bb9f6de-a9"
        Port "tap5f490693-e5"
            Interface "tap5f490693-e5"
        Port "tund818d69b326"
            Interface "tund818d69b326"
                type: vxlan
                options: {exts=gpe,remote_ip="10.1.0.2"}
        Port br-int
            Interface br-int
                type: internal
        Port "tapef79fa77-ab"
            Interface "tapef79fa77-ab"
        Port "tapa9e63637-8a"
            Interface "tapa9e63637-8a"
    ovs_version: "2.11.1"

Cmp002:

Manager "tcp:172.16.10.40:6640"
        is_connected: true
    Manager "ptcp:6640:127.0.0.1"
    Bridge br-floating
        Port br-floating-int-patch
            Interface br-floating-int-patch
                type: patch
                options: {peer=br-floating-pa}
        Port br-floating
            Interface br-floating
                type: internal
        Port "ens6"
            Interface "ens6"
    Bridge br-int
        Controller "tcp:172.16.10.40:6653"
            is_connected: true
        fail_mode: secure
        Port br-floating-pa
            Interface br-floating-pa
                type: patch
                options: {peer=br-floating-int-patch}
        Port "tap50868440-95"
            Interface "tap50868440-95"
        Port "tapa496a81b-0c"
            Interface "tapa496a81b-0c"
        Port "tun8d223879efb"
            Interface "tun8d223879efb"
                type: vxlan
                options: {exts=gpe,local_ip="10.1.0.6",remote_ip=flow}
        Port br-int
            Interface br-int
                type: internal
        Port "tun941edf0fa60"
            Interface "tun941edf0fa60"
                type: vxlan
                options: {exts=gpe,remote_ip="10.1.0.2"}
    ovs_version: "2.11.1"

有人可以就这个问题给我们一些建议吗? 谢谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)