Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

From instance able to ping only Network/Compute and Controller hosts not able to reach any other external address

Hi Gurus,

I have installed multi node openstack (One Controller, One Compute and One Network Node) liberty on Centos7 using packstack. I am able to ssh to instances and ping them from any node in the outside network (LAN). But from the instance I am able to ping only Control/Compute and Network Node. I am not able to reach any other external nodes. The whole setup it in Virtual Box and first interface in Virtual Box is Bridged and Second one I tried with internal network as well as NAT, Promiscuous mode is set to "Allow All" for both the interfaces.

[root@networker ~]# ovs-vsctl show 6a02ef34-1ad5-4214-bd1c-281431d1ffef Bridge br-ex Port br-ex Interface br-ex type: internal Port "qg-59513dde-c9" Interface "qg-59513dde-c9" type: internal Port "enp0s3" Interface "enp0s3" Bridge br-int fail_mode: secure Port br-int Interface br-int type: internal Port "qr-a62a51d0-b2" tag: 1 Interface "qr-a62a51d0-b2" type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port "tap417ad585-ba" tag: 1 Interface "tap417ad585-ba" type: internal Bridge br-tun fail_mode: secure Port br-tun Interface br-tun type: internal Port patch-int Interface patch-int type: patch options: {peer=patch-tun} Port "vxlan-c0a80150" Interface "vxlan-c0a80150" type: vxlan options: {df_default="true", in_key=flow, local_ip="192.168.1.82", out_key=flow, remote_ip="192.168.1.80"}

[root@networker ~]# ifconfig -a br-ex: flags=4163<up,broadcast,running,multicast> mtu 1500 inet 192.168.1.82 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::a00:27ff:fe36:d62c prefixlen 64 scopeid 0x20<link> inet6 2602:30a:c7f7:c660:a00:27ff:fe36:d62c prefixlen 64 scopeid 0x0<global> ether 08:00:27:36:d6:2c txqueuelen 0 (Ethernet) RX packets 8393 bytes 673222 (657.4 KiB) RX errors 0 dropped 60 overruns 0 frame 0 TX packets 6107 bytes 600506 (586.4 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

br-int: flags=4098<broadcast,multicast> mtu 1500 ether 0e:e4:ea:95:48:44 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 48 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

br-tun: flags=4098<broadcast,multicast> mtu 1500 ether d6:f9:f5:c5:c4:4e txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp0s3: flags=4163<up,broadcast,running,multicast> mtu 1500 inet 192.168.1.82 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::a00:27ff:fe36:d62c prefixlen 64 scopeid 0x20<link> ether 08:00:27:36:d6:2c txqueuelen 1000 (Ethernet) RX packets 25744 bytes 6835596 (6.5 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 6304 bytes 681928 (665.9 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp0s8: flags=4098<broadcast,multicast> mtu 1500 ether 08:00:27:89:cf:b1 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<up,loopback,running> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ovs-system: flags=4098<broadcast,multicast> mtu 1500 ether ea:67:5f:74:f7:7e txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Please help me to resolve this issue. Goal is to connect to internet from the instance for that now I am not able to ping the external gateway now.

From instance able to ping only Network/Compute and Controller hosts not able to reach any other external address

Hi Gurus,

I have installed multi node openstack (One Controller, One Compute and One Network Node) liberty on Centos7 using packstack. I am able to ssh to instances and ping them from any node in the outside network (LAN). But from the instance I am able to ping only Control/Compute and Network Node. I am not able to reach any other external nodes. The whole setup it in Virtual Box and first interface in Virtual Box is Bridged and Second one I tried with internal network as well as NAT, Promiscuous mode is set to "Allow All" for both the interfaces.

[root@networker ~]# ovs-vsctl show
6a02ef34-1ad5-4214-bd1c-281431d1ffef
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
        Port "qg-59513dde-c9"
            Interface "qg-59513dde-c9"
                type: internal
        Port "enp0s3"
            Interface "enp0s3"
    Bridge br-int
        fail_mode: secure
        Port br-int
            Interface br-int
                type: internal
        Port "qr-a62a51d0-b2"
            tag: 1
            Interface "qr-a62a51d0-b2"
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "tap417ad585-ba"
            tag: 1
            Interface "tap417ad585-ba"
                type: internal
    Bridge br-tun
        fail_mode: secure
        Port br-tun
            Interface br-tun
                type: internal
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port "vxlan-c0a80150"
            Interface "vxlan-c0a80150"
                type: vxlan
                options: {df_default="true", in_key=flow, local_ip="192.168.1.82", out_key=flow, remote_ip="192.168.1.80"}

remote_ip="192.168.1.80"}

[root@networker ~]# ifconfig -a -a

br-ex: flags=4163<up,broadcast,running,multicast> flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.82  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::a00:27ff:fe36:d62c  prefixlen 64  scopeid 0x20<link>
        inet6 2602:30a:c7f7:c660:a00:27ff:fe36:d62c  prefixlen 64  scopeid 0x0<global>
        ether 08:00:27:36:d6:2c  txqueuelen 0  (Ethernet)
        RX packets 8393  bytes 673222 (657.4 KiB)
        RX errors 0  dropped 60  overruns 0  frame 0
        TX packets 6107  bytes 600506 (586.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

0 br-int: flags=4098<broadcast,multicast> flags=4098<BROADCAST,MULTICAST> mtu 1500 ether 0e:e4:ea:95:48:44 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 48 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

0 br-tun: flags=4098<broadcast,multicast> flags=4098<BROADCAST,MULTICAST> mtu 1500 ether d6:f9:f5:c5:c4:4e txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

0 enp0s3: flags=4163<up,broadcast,running,multicast> flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.82 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::a00:27ff:fe36:d62c prefixlen 64 scopeid 0x20<link> ether 08:00:27:36:d6:2c txqueuelen 1000 (Ethernet) RX packets 25744 bytes 6835596 (6.5 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 6304 bytes 681928 (665.9 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

0 enp0s8: flags=4098<broadcast,multicast> flags=4098<BROADCAST,MULTICAST> mtu 1500 ether 08:00:27:89:cf:b1 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

0 lo: flags=73<up,loopback,running> flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

0 ovs-system: flags=4098<broadcast,multicast> flags=4098<BROADCAST,MULTICAST> mtu 1500 ether ea:67:5f:74:f7:7e txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

0

Please help me to resolve this issue. Goal is to connect to internet from the instance for that now I am not able to ping the external gateway now.