Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Havana - Dual Node using using Neutron GRE

Hi there,

I'm working on implementing POC based on Havana bits. Main goal for now is to get GRE to work :) Please find below details of the installation environment and issues we are facing. Any advise and support will be highly appreciated.

Thanks,

INSTALLATION ENVIRONMENT: - Two physical machines running CentOS 6.5 based install of Linux (2.6.32-431.el6.x86_64) - Each Server has 2 network interfaces each configured with static IP addresses. For this installation eth2 will be "management traffic" and eth3 will be "Data traffic". The following IP addresses are used: -- control + Neutron (combined) host eth2 172.16.1.71, eth3 172.16.10.71 -- compute host eth2 172.16.1.72, eth3 172.16.1.72 - Iptables is disabled. Also we have set selinux to permissive.

Basically we followed the steps on the wiki page to get things deployed and OVS configured. http://wiki.stackinsider.org/index.php/Red_Hat_RDO_-_Dual_Node_using_Neutron_GRE_-_Havana

From Horizon interface, we configured Tenant Network and Started a VM. But unfortunately it is failing to get an IP from DHCP.

Checked the networking and OVS configuration, it looked good to me. Please find below the details

CONTROLLER & NEUTRON NODE (Combined)

ifconfig br-ex Link encap:Ethernet HWaddr E8:39:35:C5:55:EC inet addr:172.16.10.71 Bcast:172.16.10.255 Mask:255.255.255.0 inet6 addr: fe80::ea39:35ff:fec5:55ec/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:72867 errors:0 dropped:0 overruns:0 frame:0 TX packets:14 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:9041998 (8.6 MiB) TX bytes:944 (944.0 b)

br-int Link encap:Ethernet HWaddr 4A:74:7A:97:C6:4C inet6 addr: fe80::ac84:79ff:fe42:16b7/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:243 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:12874 (12.5 KiB) TX bytes:468 (468.0 b)

br-tun Link encap:Ethernet HWaddr EE:BF:98:D4:00:4F inet6 addr: fe80::9087:70ff:fe14:c7b1/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:468 (468.0 b)

eth2 Link encap:Ethernet HWaddr E8:39:35:C5:55:E8 inet addr:172.16.1.71 Bcast:172.16.1.255 Mask:255.255.255.0 inet6 addr: fe80::ea39:35ff:fec5:55e8/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:477700 errors:0 dropped:0 overruns:0 frame:0 TX packets:331140 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:199887899 (190.6 MiB) TX bytes:68040243 (64.8 MiB)

eth3 Link encap:Ethernet HWaddr E8:39:35:C5:55:EC inet6 addr: fe80::ea39:35ff:fec5:55ec/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:104789 errors:0 dropped:0 overruns:0 frame:0 TX packets:88 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000

RX bytes:11802221 (11.2 MiB) TX bytes:8894 (8.6 KiB)

ovs-vsctl show 0a417588-8098-4efb-b011-148b0ee0bc6d Bridge br-ex Port br-ex Interface br-ex type: internal Port "eth3" Interface "eth3" Bridge br-int Port "tap8559e27b-f4" tag: 2 Interface "tap8559e27b-f4" type: internal Port br-int Interface br-int type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Bridge br-tun Port patch-int Interface patch-int type: patch options: {peer=patch-tun} Port br-tun Interface br-tun type: internal Port "gre-2" Interface "gre-2" type: gre options: {in_key=flow, local_ip="172.16.10.71", out_key=flow, remote_ip="172.16.10.72"} ovs_version: "1.11.0"

COMPUTE NODE

ifconfig br-int Link encap:Ethernet HWaddr CA:5F:AF:13:51:44 inet6 addr: fe80::a406:65ff:fe81:4d72/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:276 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:18216 (17.7 KiB) TX bytes:468 (468.0 b)

br-tun Link encap:Ethernet HWaddr 4A:88:F8:73:AB:4B inet6 addr: fe80::6471:8bff:fe73:4ea0/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:468 (468.0 b)

eth2 Link encap:Ethernet HWaddr E8:39:35:C5:C6:38 inet addr:172.16.1.72 Bcast:172.16.1.255 Mask:255.255.255.0 inet6 addr: fe80::ea39:35ff:fec5:c638/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:331979 errors:0 dropped:0 overruns:0 frame:0 TX packets:291146 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:173616550 (165.5 MiB) TX bytes:75658191 (72.1 MiB)

eth3 Link encap:Ethernet HWaddr E8:39:35:C5:C6:3C inet addr:172.16.10.72 Bcast:172.16.10.255 Mask:255.255.255.0 inet6 addr: fe80::ea39:35ff:fec5:c63c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:26554 errors:0 dropped:0 overruns:0 frame:0 TX packets:368 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2315278 (2.2 MiB) TX bytes:31816 (31.0 KiB)

qbr07ac9d38-0a Link encap:Ethernet HWaddr 72:48:A5:B8:9D:27 inet6 addr: fe80::3ca1:feff:fe8b:e9c2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1220 (1.1 KiB) TX bytes:468 (468.0 b)

qvb07ac9d38-0a Link encap:Ethernet HWaddr 72:48:A5:B8:9D:27 inet6 addr: fe80::7048:a5ff:feb8:9d27/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:6 errors:0 dropped:0 overruns:0 frame:0 TX packets:14 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:468 (468.0 b) TX bytes:1800 (1.7 KiB)

qvo07ac9d38-0a Link encap:Ethernet HWaddr 7E:F9:C1:60:68:6A inet6 addr: fe80::7cf9:c1ff:fe60:686a/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:14 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1800 (1.7 KiB) TX bytes:468 (468.0 b)

tap07ac9d38-0a Link encap:Ethernet HWaddr FE:16:3E:4D:D0:76 inet6 addr: fe80::fc16:3eff:fe4d:d076/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6 errors:0 dropped:0 overruns:0 frame:0 TX packets:18 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:1224 (1.1 KiB) TX bytes:2088 (2.0 KiB)

virbr0 Link encap:Ethernet HWaddr 52:54:00:A1:07:B8 inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST 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)


ovs-vsctl show efd88fc3-122d-4290-a2e4-a80e5aa8f66e Bridge br-int Port br-int Interface br-int type: internal Port "qvo07ac9d38-0a" tag: 3 Interface "qvo07ac9d38-0a" Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Bridge br-tun Port "gre-1" Interface "gre-1" type: gre options: {in_key=flow, local_ip="172.16.10.72", out_key=flow, remote_ip="172.16.10.71"} Port patch-int Interface patch-int type: patch options: {peer=patch-tun} Port br-tun Interface br-tun type: internal ovs_version: "1.11.0"

On the controller & Neutron (Combined) node, Neutron services look healthy

neutron agent-list +--------------------------------------+--------------------+-----------------+-------+----------------+ | id | agent_type | host | alive | admin_state_up | +--------------------------------------+--------------------+-----------------+-------+----------------+ | 21cb019f-6877-472d-bbe7-36bec683c231 | Open vSwitch agent | ctr01.infra.lab | :-) | True | | 476cf302-e9d7-4d82-971b-31010cd06158 | Open vSwitch agent | cpt01.infra.lab | :-) | True | | 7f568874-9c54-4ef8-b2bd-07343ab5a361 | L3 agent | ctr01.infra.lab | :-) | True | | e6f52945-7a4d-4dac-9bab-a1634a63a7d6 | DHCP agent | ctr01.infra.lab | :-) | True | +--------------------------------------+--------------------+-----------------+-------+----------------+

Nova services as well are healthy nova-manage service list Binary Host Zone Status State Updated_At nova-consoleauth ctr01.infra.lab internal enabled :-) 2014-04-18 18:15:30 nova-scheduler ctr01.infra.lab internal enabled :-) 2014-04-18 18:15:32 nova-conductor ctr01.infra.lab internal enabled :-) 2014-04-18 18:15:29 nova-compute cpt01.infra.lab nova enabled :-) 2014-04-18 18:15:36 nova-cert ctr01.infra.lab internal enabled :-) 2014-04-18 18:15:32

Havana - Dual Node using using Neutron GRE

Hi there,

I'm working on implementing POC based on Havana bits. Main goal for now is to get GRE to work :) Please find below details of the installation environment and issues we are facing. Any advise and support will be highly appreciated.

Thanks,

INSTALLATION ENVIRONMENT: - Two physical machines running CentOS 6.5 based install of Linux (2.6.32-431.el6.x86_64) - Each Server has 2 network interfaces each configured with static IP addresses. For this installation eth2 will be "management traffic" and eth3 will be "Data traffic". The following IP addresses are used: -- control + Neutron (combined) host eth2 172.16.1.71, eth3 172.16.10.71 -- compute host eth2 172.16.1.72, eth3 172.16.1.72 - Iptables is disabled. Also we have set selinux to permissive.

Basically we followed the steps on the wiki page to get things deployed and OVS configured. http://wiki.stackinsider.org/index.php/Red_Hat_RDO_-_Dual_Node_using_Neutron_GRE_-_Havana

From Horizon interface, we configured Tenant Network and Started a VM. But unfortunately it is failing to get an IP from DHCP.

Checked the networking and OVS configuration, it looked good to me. Please find below the details

CONTROLLER & NEUTRON NODE (Combined)

ifconfig

br-ex Link encap:Ethernet HWaddr E8:39:35:C5:55:EC inet addr:172.16.10.71 Bcast:172.16.10.255 Mask:255.255.255.0 inet6 addr: fe80::ea39:35ff:fec5:55ec/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:72867 errors:0 dropped:0 overruns:0 frame:0 TX packets:14 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:9041998 (8.6 MiB) TX bytes:944 (944.0 b)

br-int Link encap:Ethernet HWaddr 4A:74:7A:97:C6:4C inet6 addr: fe80::ac84:79ff:fe42:16b7/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:243 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:12874 (12.5 KiB) TX bytes:468 (468.0 b)

br-tun Link encap:Ethernet HWaddr EE:BF:98:D4:00:4F inet6 addr: fe80::9087:70ff:fe14:c7b1/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:468 (468.0 b)

eth2 Link encap:Ethernet HWaddr E8:39:35:C5:55:E8 inet addr:172.16.1.71 Bcast:172.16.1.255 Mask:255.255.255.0 inet6 addr: fe80::ea39:35ff:fec5:55e8/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:477700 errors:0 dropped:0 overruns:0 frame:0 TX packets:331140 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:199887899 (190.6 MiB) TX bytes:68040243 (64.8 MiB)

eth3 Link encap:Ethernet HWaddr E8:39:35:C5:55:EC inet6 addr: fe80::ea39:35ff:fec5:55ec/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:104789 errors:0 dropped:0 overruns:0 frame:0 TX packets:88 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000

RX bytes:11802221 (11.2 MiB) TX bytes:8894 (8.6 KiB)

ovs-vsctl show

0a417588-8098-4efb-b011-148b0ee0bc6d Bridge br-ex Port br-ex Interface br-ex type: internal Port "eth3" Interface "eth3" Bridge br-int Port "tap8559e27b-f4" tag: 2 Interface "tap8559e27b-f4" type: internal Port br-int Interface br-int type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Bridge br-tun Port patch-int Interface patch-int type: patch options: {peer=patch-tun} Port br-tun Interface br-tun type: internal Port "gre-2" Interface "gre-2" type: gre options: {in_key=flow, local_ip="172.16.10.71", out_key=flow, remote_ip="172.16.10.72"} ovs_version: "1.11.0"

COMPUTE NODE

ifconfig

br-int Link encap:Ethernet HWaddr CA:5F:AF:13:51:44 inet6 addr: fe80::a406:65ff:fe81:4d72/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:276 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:18216 (17.7 KiB) TX bytes:468 (468.0 b)

br-tun Link encap:Ethernet HWaddr 4A:88:F8:73:AB:4B inet6 addr: fe80::6471:8bff:fe73:4ea0/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:468 (468.0 b)

eth2 Link encap:Ethernet HWaddr E8:39:35:C5:C6:38 inet addr:172.16.1.72 Bcast:172.16.1.255 Mask:255.255.255.0 inet6 addr: fe80::ea39:35ff:fec5:c638/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:331979 errors:0 dropped:0 overruns:0 frame:0 TX packets:291146 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:173616550 (165.5 MiB) TX bytes:75658191 (72.1 MiB)

eth3 Link encap:Ethernet HWaddr E8:39:35:C5:C6:3C inet addr:172.16.10.72 Bcast:172.16.10.255 Mask:255.255.255.0 inet6 addr: fe80::ea39:35ff:fec5:c63c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:26554 errors:0 dropped:0 overruns:0 frame:0 TX packets:368 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2315278 (2.2 MiB) TX bytes:31816 (31.0 KiB)

qbr07ac9d38-0a Link encap:Ethernet HWaddr 72:48:A5:B8:9D:27 inet6 addr: fe80::3ca1:feff:fe8b:e9c2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1220 (1.1 KiB) TX bytes:468 (468.0 b)

qvb07ac9d38-0a Link encap:Ethernet HWaddr 72:48:A5:B8:9D:27 inet6 addr: fe80::7048:a5ff:feb8:9d27/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:6 errors:0 dropped:0 overruns:0 frame:0 TX packets:14 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:468 (468.0 b) TX bytes:1800 (1.7 KiB)

qvo07ac9d38-0a Link encap:Ethernet HWaddr 7E:F9:C1:60:68:6A inet6 addr: fe80::7cf9:c1ff:fe60:686a/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:14 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1800 (1.7 KiB) TX bytes:468 (468.0 b)

tap07ac9d38-0a Link encap:Ethernet HWaddr FE:16:3E:4D:D0:76 inet6 addr: fe80::fc16:3eff:fe4d:d076/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6 errors:0 dropped:0 overruns:0 frame:0 TX packets:18 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:1224 (1.1 KiB) TX bytes:2088 (2.0 KiB)

virbr0 Link encap:Ethernet HWaddr 52:54:00:A1:07:B8 inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST 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)


ovs-vsctl show

efd88fc3-122d-4290-a2e4-a80e5aa8f66e Bridge br-int Port br-int Interface br-int type: internal Port "qvo07ac9d38-0a" tag: 3 Interface "qvo07ac9d38-0a" Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Bridge br-tun Port "gre-1" Interface "gre-1" type: gre options: {in_key=flow, local_ip="172.16.10.72", out_key=flow, remote_ip="172.16.10.71"} Port patch-int Interface patch-int type: patch options: {peer=patch-tun} Port br-tun Interface br-tun type: internal ovs_version: "1.11.0"

On the controller & Neutron (Combined) node, Neutron services look healthy

neutron agent-list

+--------------------------------------+--------------------+-----------------+-------+----------------+ | id | agent_type | host | alive | admin_state_up | +--------------------------------------+--------------------+-----------------+-------+----------------+ | 21cb019f-6877-472d-bbe7-36bec683c231 | Open vSwitch agent | ctr01.infra.lab | :-) | True | | 476cf302-e9d7-4d82-971b-31010cd06158 | Open vSwitch agent | cpt01.infra.lab | :-) | True | | 7f568874-9c54-4ef8-b2bd-07343ab5a361 | L3 agent | ctr01.infra.lab | :-) | True | | e6f52945-7a4d-4dac-9bab-a1634a63a7d6 | DHCP agent | ctr01.infra.lab | :-) | True | +--------------------------------------+--------------------+-----------------+-------+----------------+

Nova services as well are healthy nova-manage service list

Binary Host Zone Status State Updated_At nova-consoleauth ctr01.infra.lab internal enabled :-) 2014-04-18 18:15:30 nova-scheduler ctr01.infra.lab internal enabled :-) 2014-04-18 18:15:32 nova-conductor ctr01.infra.lab internal enabled :-) 2014-04-18 18:15:29 nova-compute cpt01.infra.lab nova enabled :-) 2014-04-18 18:15:36 nova-cert ctr01.infra.lab internal enabled :-) 2014-04-18 18:15:32