Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

neutron vms unable to reach internet

Hi,

I have configured a 3 node OpenStack cluster with 1 controller, 1 network and 1 compute node. I have followed standard Juno installation guide. After the installation, I am able to configure VMs, assign flowing IPs from external network, etc. But VMs are not able to reach internet.

I am using GRE networking in Neutron configuration.

Standard installation doc was followed for configuring.

Regards, Sagar

neutron vms unable to reach internet

Hi,

I have configured a 3 node OpenStack cluster with 1 controller, 1 network and 1 compute node. I have followed standard Juno installation guide. After the installation, I am able to configure VMs, assign flowing IPs from external network, etc. But VMs are not able to reach internet.

I am using GRE networking in Neutron configuration.

Standard installation doc was followed for configuring.

ovs-vsctl show

36b1aeb7-8432-4144-bd0a-68aa8933870a Bridge br-tun Port "gre-0a000003" Interface "gre-0a000003" type: gre options: {df_default="true", in_key=flow, local_ip="10.0.0.2", out_key=flow, remote_ip="10.0.0.3"} Port br-tun Interface br-tun type: internal Port patch-int Interface patch-int type: patch options: {peer=patch-tun} Bridge br-int fail_mode: secure Port "tapab36d38f-6a" tag: 2 Interface "tapab36d38f-6a" type: internal Port "qr-a0075c91-a2" tag: 1 Interface "qr-a0075c91-a2" type: internal Port br-int Interface br-int type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port "qr-e4595880-3c" tag: 2 Interface "qr-e4595880-3c" type: internal Port "tap7f9c751f-e1" tag: 1 Interface "tap7f9c751f-e1" type: internal Port "qr-a854fa8d-b3" tag: 3 Interface "qr-a854fa8d-b3" type: internal Port "tapc7cb94a2-f5" tag: 3 Interface "tapc7cb94a2-f5" type: internal Bridge br-ex Port "em2.130" Interface "em2.130" Port "qg-05f97ec3-45" Interface "qg-05f97ec3-45" type: internal Port "qg-5ea012d2-95" Interface "qg-5ea012d2-95" type: internal Port "qg-167b276d-80" Interface "qg-167b276d-80" type: internal Port br-ex Interface br-ex type: internal ovs_version: "2.0.1"

ifconfig output is as given below:

br-ex Link encap:Ethernet HWaddr 00:0f:53:28:34:91 inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:255.255.255.0 UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:64112 errors:0 dropped:0 overruns:0 frame:0 TX packets:169 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:21614586 (21.6 MB) TX bytes:7922 (7.9 KB)

br-int Link encap:Ethernet HWaddr 3e:70:30:1b:5a:4b UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:65 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:4826 (4.8 KB) TX bytes:0 (0.0 B)

br-tun Link encap:Ethernet HWaddr 46:e8:ed:16:72:4b UP BROADCAST RUNNING MTU:1500 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)

em1 Link encap:Ethernet HWaddr 00:0f:53:28:34:90 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:81458 errors:0 dropped:12 overruns:0 frame:0 TX packets:746 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:24309774 (24.3 MB) TX bytes:91419 (91.4 KB) Interrupt:32

em2 Link encap:Ethernet HWaddr 00:0f:53:28:34:91 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:80780 errors:0 dropped:293 overruns:0 frame:0 TX packets:2149 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:24295577 (24.2 MB) TX bytes:147648 (147.6 KB) Interrupt:36

em1.1000 Link encap:Ethernet HWaddr 00:0f:53:28:34:90 inet addr:10.0.0.2 Bcast:10.0.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:356 errors:0 dropped:0 overruns:0 frame:0 TX packets:746 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:42484 (42.4 KB) TX bytes:84327 (84.3 KB)

Regards, Sagar

neutron vms unable to reach internet

Hi,

I have configured a 3 node OpenStack cluster with 1 controller, 1 network and 1 compute node. I have followed standard Juno installation guide. After the installation, I am able to configure VMs, assign flowing IPs from external network, etc. But VMs are not able to reach internet.

I am using GRE networking in Neutron configuration.

Standard installation doc was followed for configuring.

# ovs-vsctl show

show 36b1aeb7-8432-4144-bd0a-68aa8933870a Bridge br-tun Port "gre-0a000003" Interface "gre-0a000003" type: gre options: {df_default="true", in_key=flow, local_ip="10.0.0.2", out_key=flow, remote_ip="10.0.0.3"} Port br-tun Interface br-tun type: internal Port patch-int Interface patch-int type: patch options: {peer=patch-tun} Bridge br-int fail_mode: secure Port "tapab36d38f-6a" tag: 2 Interface "tapab36d38f-6a" type: internal Port "qr-a0075c91-a2" tag: 1 Interface "qr-a0075c91-a2" type: internal Port br-int Interface br-int type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port "qr-e4595880-3c" tag: 2 Interface "qr-e4595880-3c" type: internal Port "tap7f9c751f-e1" tag: 1 Interface "tap7f9c751f-e1" type: internal Port "qr-a854fa8d-b3" tag: 3 Interface "qr-a854fa8d-b3" type: internal Port "tapc7cb94a2-f5" tag: 3 Interface "tapc7cb94a2-f5" type: internal Bridge br-ex Port "em2.130" Interface "em2.130" Port "qg-05f97ec3-45" Interface "qg-05f97ec3-45" type: internal Port "qg-5ea012d2-95" Interface "qg-5ea012d2-95" type: internal Port "qg-167b276d-80" Interface "qg-167b276d-80" type: internal Port br-ex Interface br-ex type: internal ovs_version: "2.0.1"

"2.0.1" ifconfig output is as given below:

below: br-ex Link encap:Ethernet HWaddr 00:0f:53:28:34:91 inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:255.255.255.0 UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:64112 errors:0 dropped:0 overruns:0 frame:0 TX packets:169 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:21614586 (21.6 MB) TX bytes:7922 (7.9 KB)

KB) br-int Link encap:Ethernet HWaddr 3e:70:30:1b:5a:4b UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:65 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:4826 (4.8 KB) TX bytes:0 (0.0 B)

B) br-tun Link encap:Ethernet HWaddr 46:e8:ed:16:72:4b UP BROADCAST RUNNING MTU:1500 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) em1 Link encap:Ethernet HWaddr 00:0f:53:28:34:90 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:81458 errors:0 dropped:12 overruns:0 frame:0 TX packets:746 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:24309774 (24.3 MB) TX bytes:91419 (91.4 KB) Interrupt:32

Interrupt:32 em2 Link encap:Ethernet HWaddr 00:0f:53:28:34:91 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:80780 errors:0 dropped:293 overruns:0 frame:0 TX packets:2149 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:24295577 (24.2 MB) TX bytes:147648 (147.6 KB) Interrupt:36

Interrupt:36 em1.1000 Link encap:Ethernet HWaddr 00:0f:53:28:34:90 inet addr:10.0.0.2 Bcast:10.0.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:356 errors:0 dropped:0 overruns:0 frame:0 TX packets:746 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:42484 (42.4 KB) TX bytes:84327 (84.3 KB)

KB)

Regards, Sagar

neutron vms unable to reach internet

Hi,

I have configured a 3 node OpenStack cluster with 1 controller, 1 network and 1 compute node. I have followed standard Juno installation guide. After the installation, I am able to configure VMs, assign flowing IPs from external network, etc. But VMs are not able to reach internet.

I am using GRE networking in Neutron configuration.

Standard installation doc was followed for configuring.

# ovs-vsctl show
36b1aeb7-8432-4144-bd0a-68aa8933870a
    Bridge br-tun
        Port "gre-0a000003"
            Interface "gre-0a000003"
                type: gre
                options: {df_default="true", in_key=flow, local_ip="10.0.0.2", out_key=flow, remote_ip="10.0.0.3"}
        Port br-tun
            Interface br-tun
                type: internal
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
    Bridge br-int
        fail_mode: secure
        Port "tapab36d38f-6a"
            tag: 2
            Interface "tapab36d38f-6a"
                type: internal
        Port "qr-a0075c91-a2"
            tag: 1
            Interface "qr-a0075c91-a2"
                type: internal
        Port br-int
            Interface br-int
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "qr-e4595880-3c"
            tag: 2
            Interface "qr-e4595880-3c"
                type: internal
        Port "tap7f9c751f-e1"
            tag: 1
            Interface "tap7f9c751f-e1"
                type: internal
        Port "qr-a854fa8d-b3"
            tag: 3
            Interface "qr-a854fa8d-b3"
                type: internal
        Port "tapc7cb94a2-f5"
            tag: 3
            Interface "tapc7cb94a2-f5"
                type: internal
    Bridge br-ex
        Port "em2.130"
            Interface "em2.130"
        Port "qg-05f97ec3-45"
            Interface "qg-05f97ec3-45"
                type: internal
        Port "qg-5ea012d2-95"
            Interface "qg-5ea012d2-95"
                type: internal
        Port "qg-167b276d-80"
            Interface "qg-167b276d-80"
                type: internal
        Port br-ex
            Interface br-ex
                type: internal
    ovs_version: "2.0.1"


ifconfig output is as given below:

br-ex     Link encap:Ethernet  HWaddr 00:0f:53:28:34:91
          inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:64112 errors:0 dropped:0 overruns:0 frame:0
          TX packets:169 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:21614586 (21.6 MB)  TX bytes:7922 (7.9 KB)

br-int    Link encap:Ethernet  HWaddr 3e:70:30:1b:5a:4b
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:65 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:4826 (4.8 KB)  TX bytes:0 (0.0 B)

br-tun    Link encap:Ethernet  HWaddr 46:e8:ed:16:72:4b
          UP BROADCAST RUNNING  MTU:1500  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)

em1       Link encap:Ethernet  HWaddr 00:0f:53:28:34:90
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:81458 errors:0 dropped:12 overruns:0 frame:0
          TX packets:746 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:24309774 (24.3 MB)  TX bytes:91419 (91.4 KB)
          Interrupt:32

em2       Link encap:Ethernet  HWaddr 00:0f:53:28:34:91
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:80780 errors:0 dropped:293 overruns:0 frame:0
          TX packets:2149 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:24295577 (24.2 MB)  TX bytes:147648 (147.6 KB)
          Interrupt:36

em1.1000  Link encap:Ethernet  HWaddr 00:0f:53:28:34:90
          inet addr:10.0.0.2  Bcast:10.0.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:356 errors:0 dropped:0 overruns:0 frame:0
          TX packets:746 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:42484 (42.4 KB)  TX bytes:84327 (84.3 KB)

following is the output inside the VM:

$ curl http://169.254.169.254/latest/meta-data
ami-id
ami-launch-index
ami-manifest-path
block-device-mapping/
hostname
instance-action
instance-id
instance-type
kernel-id
local-hostname
local-ipv4
placement/
public-hostname
public-ipv4
public-keys/
ramdisk-id
reservation-id

Regards, Sagar

neutron vms unable to reach internet

Hi,

I have configured a 3 node OpenStack cluster with 1 controller, 1 network and 1 compute node. I have followed standard Juno installation guide. After the installation, I am able to configure VMs, assign flowing IPs from external network, etc. But VMs are not able to reach internet.

I am using GRE networking in Neutron configuration.

Standard installation doc was followed for configuring.

# ovs-vsctl show
36b1aeb7-8432-4144-bd0a-68aa8933870a
    Bridge br-tun
        Port "gre-0a000003"
            Interface "gre-0a000003"
                type: gre
                options: {df_default="true", in_key=flow, local_ip="10.0.0.2", out_key=flow, remote_ip="10.0.0.3"}
        Port br-tun
            Interface br-tun
                type: internal
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
    Bridge br-int
        fail_mode: secure
        Port "tapab36d38f-6a"
            tag: 2
            Interface "tapab36d38f-6a"
                type: internal
        Port "qr-a0075c91-a2"
            tag: 1
            Interface "qr-a0075c91-a2"
                type: internal
        Port br-int
            Interface br-int
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "qr-e4595880-3c"
            tag: 2
            Interface "qr-e4595880-3c"
                type: internal
        Port "tap7f9c751f-e1"
            tag: 1
            Interface "tap7f9c751f-e1"
                type: internal
        Port "qr-a854fa8d-b3"
            tag: 3
            Interface "qr-a854fa8d-b3"
                type: internal
        Port "tapc7cb94a2-f5"
            tag: 3
            Interface "tapc7cb94a2-f5"
                type: internal
    Bridge br-ex
        Port "em2.130"
            Interface "em2.130"
        Port "qg-05f97ec3-45"
            Interface "qg-05f97ec3-45"
                type: internal
        Port "qg-5ea012d2-95"
            Interface "qg-5ea012d2-95"
                type: internal
        Port "qg-167b276d-80"
            Interface "qg-167b276d-80"
                type: internal
        Port br-ex
            Interface br-ex
                type: internal
    ovs_version: "2.0.1"


ifconfig output is as given below:

br-ex     Link encap:Ethernet  HWaddr 00:0f:53:28:34:91
          inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:64112 errors:0 dropped:0 overruns:0 frame:0
          TX packets:169 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:21614586 (21.6 MB)  TX bytes:7922 (7.9 KB)

br-int    Link encap:Ethernet  HWaddr 3e:70:30:1b:5a:4b
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:65 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:4826 (4.8 KB)  TX bytes:0 (0.0 B)

br-tun    Link encap:Ethernet  HWaddr 46:e8:ed:16:72:4b
          UP BROADCAST RUNNING  MTU:1500  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)

em1       Link encap:Ethernet  HWaddr 00:0f:53:28:34:90
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:81458 errors:0 dropped:12 overruns:0 frame:0
          TX packets:746 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:24309774 (24.3 MB)  TX bytes:91419 (91.4 KB)
          Interrupt:32

em2       Link encap:Ethernet  HWaddr 00:0f:53:28:34:91
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:80780 errors:0 dropped:293 overruns:0 frame:0
          TX packets:2149 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:24295577 (24.2 MB)  TX bytes:147648 (147.6 KB)
          Interrupt:36

em1.1000  Link encap:Ethernet  HWaddr 00:0f:53:28:34:90
          inet addr:10.0.0.2  Bcast:10.0.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:356 errors:0 dropped:0 overruns:0 frame:0
          TX packets:746 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:42484 (42.4 KB)  TX bytes:84327 (84.3 KB)

following is the output inside the VM:

$ curl http://169.254.169.254/latest/meta-data
ami-id
ami-launch-index
ami-manifest-path
block-device-mapping/
hostname
instance-action
instance-id
instance-type
kernel-id
local-hostname
local-ipv4
placement/
public-hostname
public-ipv4
public-keys/
ramdisk-id
reservation-id

Regards, Sagar