Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenStack Icehouse Compute problems

Hi Folks,

Just recently got icehouse up and running with ML2 plugin. I have a 3 node cluster. Server, Compute and Network nodes. I am running ML2 with VLANs. Have multiple NICs in all three nodes. The problem I am running into, is that when the VM is up and running on the Compute node, the VM gets the DHCP IP address from the network services and comes up. I can assign the VM a floating IP. The problem is that I am not able to reach the VM e.g. the floating IP that is assigned to the VM is 192.168.1.71. I cannot ping the VM using this floating IP, and I cannot ssh to the VM. I confirmed by looking at the tcpdump that packets indeed are reaching the Compute via the Network Node. I can see the pings coming into the Compute for the VM IP address, but I don't see any response back.

I am kind of perplexed that DHCP is working fine, but after that the VM goes quiet. Below is how my ML2 configuration looks like along with the ifconfig output.

This looks like a bug with Icehouse compute using ML2 and VLANs

Thanks in advance for any help

Atif….

root@compute1:/etc/neutron/plugins/ml2# more ml2_conf.ini [ml2]

(ListOpt) List of network type driver entrypoints to be loaded from

the neutron.ml2.type_drivers namespace.

# type_drivers = vlan

(ListOpt) Ordered list of networking mechanism driver entrypoints

to be loaded from the neutron.ml2.mechanism_drivers namespace.

mechanism_drivers =

mechanism drivers = openvswitch

[ml2_type_vlan]

(ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples

specifying physical_network names usable for VLAN provider and

tenant networks, as well as ranges of VLAN tags on each

physical_network available for allocation as tenant networks.

# network_vlan_ranges = default:1000:2000

[securitygroup]

Controls if neutron security group is enabled or not.

It should be false when you use nova security group.

firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver enable_security_group = True

[ovs] bridge_mappings = default:br-eth1

root@compute1:/etc/neutron/plugins/ml2#

root@compute1:~# ifconfig -a br-eth1 Link encap:Ethernet HWaddr f0:1f:af:e8:c0:0c
inet6 addr: fe80::24b7:12ff:fe17:759d/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:36 errors:0 dropped:0 overruns:0 frame:0 TX packets:65 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3688 (3.6 KB) TX bytes:14898 (14.8 KB)

br-int Link encap:Ethernet HWaddr 3e:79:be:0d:5b:43
inet6 addr: fe80::2c29:27ff:fe44:edd4/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:48 errors:0 dropped:0 overruns:0 frame:0 TX packets:65 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4672 (4.6 KB) TX bytes:14841 (14.8 KB)

eth0 Link encap:Ethernet HWaddr f0:1f:af:e8:c0:0b
inet addr:192.168.1.61 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::f21f:afff:fee8:c00b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8425 errors:0 dropped:0 overruns:0 frame:0 TX packets:18507 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2081750 (2.0 MB) TX bytes:6547886 (6.5 MB) Interrupt:16

eth1 Link encap:Ethernet HWaddr f0:1f:af:e8:c0:0c
inet6 addr: fe80::f21f:afff:fee8:c00c/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:617 errors:0 dropped:0 overruns:0 frame:0 TX packets:374 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:78698 (78.6 KB) TX bytes:50846 (50.8 KB) Interrupt:17

int-br-eth1 Link encap:Ethernet HWaddr 26:3a:70:ea:a6:72
inet6 addr: fe80::243a:70ff:feea:a672/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:622 errors:0 dropped:0 overruns:0 frame:0 TX packets:379 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:79056 (79.0 KB) TX bytes:44986 (44.9 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:190 (190.0 B) TX bytes:190 (190.0 B)

ovs-system Link encap:Ethernet HWaddr 86:7e:5f:61:87:3e
BROADCAST 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)

phy-br-eth1 Link encap:Ethernet HWaddr 32:ab:06:ce:17:3e
inet6 addr: fe80::30ab:6ff:fece:173e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:379 errors:0 dropped:0 overruns:0 frame:0 TX packets:622 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:44986 (44.9 KB) TX bytes:79056 (79.0 KB)

qbr97a2bf9a-9e Link encap:Ethernet HWaddr 9e:24:35:73:bc:ca
inet6 addr: fe80::a87b:5dff:fedd:2f36/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1530 (1.5 KB) TX bytes:648 (648.0 B)

qvb97a2bf9a-9e Link encap:Ethernet HWaddr 9e:24:35:73:bc:ca
inet6 addr: fe80::9c24:35ff:fe73:bcca/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:317 errors:0 dropped:16 overruns:0 frame:0 TX packets:176 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:37822 (37.8 KB) TX bytes:19208 (19.2 KB)

qvo97a2bf9a-9e Link encap:Ethernet HWaddr 2a:8f:b5:7a:ac:24
inet6 addr: fe80::288f:b5ff:fe7a:ac24/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:176 errors:0 dropped:0 overruns:0 frame:0 TX packets:317 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:19208 (19.2 KB) TX bytes:37822 (37.8 KB)

tap97a2bf9a-9e Link encap:Ethernet HWaddr fe:16:3e:4b:96:1a
inet6 addr: fe80::fc16:3eff:fe4b:961a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:145 errors:0 dropped:0 overruns:0 frame:0 TX packets:115 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:13714 (13.7 KB) TX bytes:15514 (15.5 KB)

virbr0 Link encap:Ethernet HWaddr d2:57:24:ab:43:de
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST 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)

click to hide/show revision 2
No.2 Revision

OpenStack Icehouse Compute problems

Hi Folks,

Just recently got icehouse up and running with ML2 plugin. I have a 3 node cluster. Server, Compute and Network nodes. I am running ML2 with VLANs. Have multiple NICs in all three nodes. The problem I am running into, is that when the VM is up and running on the Compute node, the VM gets the DHCP IP address from the network services and comes up. I can assign the VM a floating IP. The problem is that I am not able to reach the VM e.g. the floating IP that is assigned to the VM is 192.168.1.71. I cannot ping the VM using this floating IP, and I cannot ssh to the VM. I confirmed by looking at the tcpdump that packets indeed are reaching the Compute via the Network Node. I can see the pings coming into the Compute for the VM IP address, but I don't see any response back.

I am kind of perplexed that DHCP is working fine, but after that the VM goes quiet. Below is how my ML2 configuration looks like along with the ifconfig output.

This looks like a bug with Icehouse compute using ML2 and VLANs

Thanks in advance for any help

Atif….

root@compute1:/etc/neutron/plugins/ml2# more ml2_conf.ini [ml2]

(ListOpt) List of network type driver entrypoints to be loaded from

the neutron.ml2.type_drivers namespace.

# type_drivers = vlan

(ListOpt) Ordered list of networking mechanism driver entrypoints

to be loaded from the neutron.ml2.mechanism_drivers namespace.

mechanism_drivers =

mechanism drivers = openvswitch

[ml2_type_vlan]

(ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples

specifying physical_network names usable for VLAN provider and

tenant networks, as well as ranges of VLAN tags on each

physical_network available for allocation as tenant networks.

# network_vlan_ranges = default:1000:2000

[securitygroup]

Controls if neutron security group is enabled or not.

It should be false when you use nova security group.

firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver enable_security_group = True

[ovs] bridge_mappings = default:br-eth1

root@compute1:/etc/neutron/plugins/ml2#

root@compute1:~# ifconfig -a br-eth1 Link encap:Ethernet HWaddr f0:1f:af:e8:c0:0c
inet6 addr: fe80::24b7:12ff:fe17:759d/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:36 errors:0 dropped:0 overruns:0 frame:0 TX packets:65 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3688 (3.6 KB) TX bytes:14898 (14.8 KB)

br-int Link encap:Ethernet HWaddr 3e:79:be:0d:5b:43
inet6 addr: fe80::2c29:27ff:fe44:edd4/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:48 errors:0 dropped:0 overruns:0 frame:0 TX packets:65 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4672 (4.6 KB) TX bytes:14841 (14.8 KB)

eth0 Link encap:Ethernet HWaddr f0:1f:af:e8:c0:0b
inet addr:192.168.1.61 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::f21f:afff:fee8:c00b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8425 errors:0 dropped:0 overruns:0 frame:0 TX packets:18507 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2081750 (2.0 MB) TX bytes:6547886 (6.5 MB) Interrupt:16

eth1 Link encap:Ethernet HWaddr f0:1f:af:e8:c0:0c
inet6 addr: fe80::f21f:afff:fee8:c00c/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:617 errors:0 dropped:0 overruns:0 frame:0 TX packets:374 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:78698 (78.6 KB) TX bytes:50846 (50.8 KB) Interrupt:17

int-br-eth1 Link encap:Ethernet HWaddr 26:3a:70:ea:a6:72
inet6 addr: fe80::243a:70ff:feea:a672/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:622 errors:0 dropped:0 overruns:0 frame:0 TX packets:379 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:79056 (79.0 KB) TX bytes:44986 (44.9 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:190 (190.0 B) TX bytes:190 (190.0 B)

ovs-system Link encap:Ethernet HWaddr 86:7e:5f:61:87:3e
BROADCAST 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)

phy-br-eth1 Link encap:Ethernet HWaddr 32:ab:06:ce:17:3e
inet6 addr: fe80::30ab:6ff:fece:173e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:379 errors:0 dropped:0 overruns:0 frame:0 TX packets:622 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:44986 (44.9 KB) TX bytes:79056 (79.0 KB)

qbr97a2bf9a-9e Link encap:Ethernet HWaddr 9e:24:35:73:bc:ca
inet6 addr: fe80::a87b:5dff:fedd:2f36/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1530 (1.5 KB) TX bytes:648 (648.0 B)

qvb97a2bf9a-9e Link encap:Ethernet HWaddr 9e:24:35:73:bc:ca
inet6 addr: fe80::9c24:35ff:fe73:bcca/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:317 errors:0 dropped:16 overruns:0 frame:0 TX packets:176 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:37822 (37.8 KB) TX bytes:19208 (19.2 KB)

qvo97a2bf9a-9e Link encap:Ethernet HWaddr 2a:8f:b5:7a:ac:24
inet6 addr: fe80::288f:b5ff:fe7a:ac24/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:176 errors:0 dropped:0 overruns:0 frame:0 TX packets:317 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:19208 (19.2 KB) TX bytes:37822 (37.8 KB)

tap97a2bf9a-9e Link encap:Ethernet HWaddr fe:16:3e:4b:96:1a
inet6 addr: fe80::fc16:3eff:fe4b:961a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:145 errors:0 dropped:0 overruns:0 frame:0 TX packets:115 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:13714 (13.7 KB) TX bytes:15514 (15.5 KB)

virbr0 Link encap:Ethernet HWaddr d2:57:24:ab:43:de
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST 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)

OpenStack Icehouse Compute problems

Hi Folks,

Just recently got icehouse up and running with ML2 plugin. I have a 3 node cluster. Server, Compute and Network nodes. I am running ML2 with VLANs. Have multiple NICs in all three nodes. The problem I am running into, is that when the VM is up and running on the Compute node, the VM gets the DHCP IP address from the network services and comes up. I can assign the VM a floating IP. The problem is that I am not able to reach the VM e.g. the floating IP that is assigned to the VM is 192.168.1.71. I cannot ping the VM using this floating IP, and I cannot ssh to the VM. I confirmed by looking at the tcpdump that packets indeed are reaching the Compute via the Network Node. I can see the pings coming into the Compute for the VM IP address, but I don't see any response back.

I am kind of perplexed that DHCP is working fine, but after that the VM goes quiet. Below is how my ML2 configuration looks like along with the ifconfig output.

This looks like a bug with Icehouse compute using ML2 and VLANs

Thanks in advance for any help

Atif….

root@compute1:/etc/neutron/plugins/ml2# more ml2_conf.ini [ml2]

(ListOpt) List of network type driver entrypoints to be loaded from

the neutron.ml2.type_drivers namespace.

# type_drivers = vlan

(ListOpt) Ordered list of networking mechanism driver entrypoints

to be loaded from the neutron.ml2.mechanism_drivers namespace.

mechanism_drivers =

mechanism drivers = openvswitch

[ml2_type_vlan]

(ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples

specifying physical_network names usable for VLAN provider and

tenant networks, as well as ranges of VLAN tags on each

physical_network available for allocation as tenant networks.

# network_vlan_ranges = default:1000:2000

[securitygroup]

Controls if neutron security group is enabled or not.

It should be false when you use nova security group.

firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver enable_security_group = True

[ovs] bridge_mappings = default:br-eth1

root@compute1:/etc/neutron/plugins/ml2#

root@compute1:~# ifconfig -a br-eth1 Link encap:Ethernet HWaddr f0:1f:af:e8:c0:0c
inet6 addr: fe80::24b7:12ff:fe17:759d/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:36 errors:0 dropped:0 overruns:0 frame:0 TX packets:65 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3688 (3.6 KB) TX bytes:14898 (14.8 KB)

br-int Link encap:Ethernet HWaddr 3e:79:be:0d:5b:43
inet6 addr: fe80::2c29:27ff:fe44:edd4/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:48 errors:0 dropped:0 overruns:0 frame:0 TX packets:65 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4672 (4.6 KB) TX bytes:14841 (14.8 KB)

eth0 Link encap:Ethernet HWaddr f0:1f:af:e8:c0:0b
inet addr:192.168.1.61 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::f21f:afff:fee8:c00b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8425 errors:0 dropped:0 overruns:0 frame:0 TX packets:18507 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2081750 (2.0 MB) TX bytes:6547886 (6.5 MB) Interrupt:16

eth1 Link encap:Ethernet HWaddr f0:1f:af:e8:c0:0c
inet6 addr: fe80::f21f:afff:fee8:c00c/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:617 errors:0 dropped:0 overruns:0 frame:0 TX packets:374 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:78698 (78.6 KB) TX bytes:50846 (50.8 KB) Interrupt:17

int-br-eth1 Link encap:Ethernet HWaddr 26:3a:70:ea:a6:72
inet6 addr: fe80::243a:70ff:feea:a672/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:622 errors:0 dropped:0 overruns:0 frame:0 TX packets:379 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:79056 (79.0 KB) TX bytes:44986 (44.9 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:190 (190.0 B) TX bytes:190 (190.0 B)

ovs-system Link encap:Ethernet HWaddr 86:7e:5f:61:87:3e
BROADCAST 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)

phy-br-eth1 Link encap:Ethernet HWaddr 32:ab:06:ce:17:3e
inet6 addr: fe80::30ab:6ff:fece:173e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:379 errors:0 dropped:0 overruns:0 frame:0 TX packets:622 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:44986 (44.9 KB) TX bytes:79056 (79.0 KB)

qbr97a2bf9a-9e Link encap:Ethernet HWaddr 9e:24:35:73:bc:ca
inet6 addr: fe80::a87b:5dff:fedd:2f36/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1530 (1.5 KB) TX bytes:648 (648.0 B)

qvb97a2bf9a-9e Link encap:Ethernet HWaddr 9e:24:35:73:bc:ca
inet6 addr: fe80::9c24:35ff:fe73:bcca/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:317 errors:0 dropped:16 overruns:0 frame:0 TX packets:176 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:37822 (37.8 KB) TX bytes:19208 (19.2 KB)

qvo97a2bf9a-9e Link encap:Ethernet HWaddr 2a:8f:b5:7a:ac:24
inet6 addr: fe80::288f:b5ff:fe7a:ac24/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:176 errors:0 dropped:0 overruns:0 frame:0 TX packets:317 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:19208 (19.2 KB) TX bytes:37822 (37.8 KB)

tap97a2bf9a-9e Link encap:Ethernet HWaddr fe:16:3e:4b:96:1a
inet6 addr: fe80::fc16:3eff:fe4b:961a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:145 errors:0 dropped:0 overruns:0 frame:0 TX packets:115 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:13714 (13.7 KB) TX bytes:15514 (15.5 KB)

virbr0 Link encap:Ethernet HWaddr d2:57:24:ab:43:de
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST 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)

root@compute1:/etc/neutron/plugins/ml2# ip a 1: lo: <loopback,up,lower_up> mtu 65536 qdisc noqueue state UNKNOWN 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: eth0: <broadcast,multicast,up,lower_up> mtu 1500 qdisc mq state UP qlen 1000 link/ether f0:1f:af:e8:c0:0b brd ff:ff:ff:ff:ff:ff inet 192.168.1.61/24 brd 192.168.1.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::f21f:afff:fee8:c00b/64 scope link valid_lft forever preferred_lft forever 3: eth1: <broadcast,multicast,promisc,up,lower_up> mtu 1500 qdisc mq master ovs-system state UP qlen 1000 link/ether f0:1f:af:e8:c0:0c brd ff:ff:ff:ff:ff:ff inet6 fe80::f21f:afff:fee8:c00c/64 scope link valid_lft forever preferred_lft forever 4: ovs-system: <broadcast,multicast> mtu 1500 qdisc noop state DOWN link/ether 0a:85:fb:5f:ce:3c brd ff:ff:ff:ff:ff:ff 5: br-eth1: <broadcast,up,lower_up> mtu 1500 qdisc noqueue state UNKNOWN link/ether f0:1f:af:e8:c0:0c brd ff:ff:ff:ff:ff:ff inet6 fe80::2875:aff:fedc:b34/64 scope link valid_lft forever preferred_lft forever 6: br-int: <broadcast,up,lower_up> mtu 1500 qdisc noqueue state UNKNOWN link/ether 3e:79:be:0d:5b:43 brd ff:ff:ff:ff:ff:ff inet6 fe80::e490:37ff:fedc:1eca/64 scope link valid_lft forever preferred_lft forever 7: virbr0: <no-carrier,broadcast,multicast,up> mtu 1500 qdisc noqueue state DOWN link/ether ce:45:fe:28:cc:ee brd ff:ff:ff:ff:ff:ff inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0 valid_lft forever preferred_lft forever 8: phy-br-eth1: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast master ovs-system state UP qlen 1000 link/ether 52:3e:9b:53:73:dd brd ff:ff:ff:ff:ff:ff inet6 fe80::503e:9bff:fe53:73dd/64 scope link valid_lft forever preferred_lft forever 9: int-br-eth1: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast master ovs-system state UP qlen 1000 link/ether c2:88:c9:43:bb:fa brd ff:ff:ff:ff:ff:ff inet6 fe80::c088:c9ff:fe43:bbfa/64 scope link valid_lft forever preferred_lft forever 10: qbrff1ea31f-f0: <broadcast,multicast,up,lower_up> mtu 1500 qdisc noqueue state UP link/ether f2:9b:d2:36:4f:0e brd ff:ff:ff:ff:ff:ff inet6 fe80::1832:e9ff:fe9e:8656/64 scope link valid_lft forever preferred_lft forever 11: qvoff1ea31f-f0: <broadcast,multicast,promisc,up,lower_up> mtu 1500 qdisc pfifo_fast master ovs-system state UP qlen 1000 link/ether e2:f1:5e:86:dd:fa brd ff:ff:ff:ff:ff:ff inet6 fe80::e0f1:5eff:fe86:ddfa/64 scope link valid_lft forever preferred_lft forever 12: qvbff1ea31f-f0: <broadcast,multicast,promisc,up,lower_up> mtu 1500 qdisc pfifo_fast master qbrff1ea31f-f0 state UP qlen 1000 link/ether f2:9b:d2:36:4f:0e brd ff:ff:ff:ff:ff:ff inet6 fe80::f09b:d2ff:fe36:4f0e/64 scope link valid_lft forever preferred_lft forever 13: tapff1ea31f-f0: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast master qbrff1ea31f-f0 state UNKNOWN qlen 500 link/ether fe:16:3e:92:55:96 brd ff:ff:ff:ff:ff:ff inet6 fe80::fc16:3eff:fe92:5596/64 scope link valid_lft forever preferred_lft forever

root@compute1:/etc/neutron/plugins/ml2# ovs-vsctl list-br br-eth1 br-int root@compute1:/etc/neutron/plugins/ml2# root@compute1:/etc/neutron/plugins/ml2# ovs-vsctl list-ports br-eth1 eth1 phy-br-eth1 root@compute1:/etc/neutron/plugins/ml2# root@compute1:/etc/neutron/plugins/ml2# ovs-vsctl list-ports br-int int-br-eth1 int-br-int int-phy-br-eth1 phy-br-int qvoff1ea31f-f0

click to hide/show revision 4
No.4 Revision

OpenStack Icehouse Compute problemsdhcp worked but cannot ping or ssh to instance

Hi Folks,

Just recently got icehouse up and running with ML2 plugin. I have a 3 node cluster. Server, Compute and Network nodes. I am running ML2 with VLANs. Have multiple NICs in all three nodes. The problem I am running into, is that when the VM is up and running on the Compute node, the VM gets the DHCP IP address from the network services and comes up. I can assign the VM a floating IP. The problem is that I am not able to reach the VM e.g. the floating IP that is assigned to the VM is 192.168.1.71. I cannot ping the VM using this floating IP, and I cannot ssh to the VM. I confirmed by looking at the tcpdump that packets indeed are reaching the Compute via the Network Node. I can see the pings coming into the Compute for the VM IP address, but I don't see any response back.

I am kind of perplexed that DHCP is working fine, but after that the VM goes quiet. Below is how my ML2 configuration looks like along with the ifconfig output.

This looks like a bug with Icehouse compute using ML2 and VLANs

Thanks in advance for any help

Atif….

root@compute1:/etc/neutron/plugins/ml2# more ml2_conf.ini
[ml2]

[ml2] # (ListOpt) List of network type driver entrypoints to be loaded from

from # the neutron.ml2.type_drivers namespace.

namespace. # type_drivers = vlan

vlan # (ListOpt) Ordered list of networking mechanism driver entrypoints

entrypoints # to be loaded from the neutron.ml2.mechanism_drivers namespace.

namespace. # mechanism_drivers =

= mechanism drivers = openvswitch

[ml2_type_vlan]

openvswitch [ml2_type_vlan] # (ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples

tuples # specifying physical_network names usable for VLAN provider and

and # tenant networks, as well as ranges of VLAN tags on each

each # physical_network available for allocation as tenant networks.

networks. # network_vlan_ranges = default:1000:2000

[securitygroup]

default:1000:2000 [securitygroup] # Controls if neutron security group is enabled or not.

not. # It should be false when you use nova security group.

group. firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver enable_security_group = True

True [ovs] bridge_mappings = default:br-eth1

root@compute1:/etc/neutron/plugins/ml2#

default:br-eth1 root@compute1:/etc/neutron/plugins/ml2# root@compute1:~# ifconfig -a br-eth1 Link encap:Ethernet HWaddr f0:1f:af:e8:c0:0c
inet6 addr: fe80::24b7:12ff:fe17:759d/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:36 errors:0 dropped:0 overruns:0 frame:0 TX packets:65 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3688 (3.6 KB) TX bytes:14898 (14.8 KB)

KB) br-int Link encap:Ethernet HWaddr 3e:79:be:0d:5b:43
inet6 addr: fe80::2c29:27ff:fe44:edd4/64 Scope:Link UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:48 errors:0 dropped:0 overruns:0 frame:0 TX packets:65 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4672 (4.6 KB) TX bytes:14841 (14.8 KB)

KB) eth0 Link encap:Ethernet HWaddr f0:1f:af:e8:c0:0b
inet addr:192.168.1.61 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::f21f:afff:fee8:c00b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8425 errors:0 dropped:0 overruns:0 frame:0 TX packets:18507 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2081750 (2.0 MB) TX bytes:6547886 (6.5 MB) Interrupt:16

eth1 Link encap:Ethernet HWaddr f0:1f:af:e8:c0:0c
inet6 addr: fe80::f21f:afff:fee8:c00c/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:617 errors:0 dropped:0 overruns:0 frame:0 TX packets:374 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:78698 (78.6 KB) TX bytes:50846 (50.8 KB) Interrupt:17

int-br-eth1 Link encap:Ethernet HWaddr 26:3a:70:ea:a6:72
inet6 addr: fe80::243a:70ff:feea:a672/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:622 errors:0 dropped:0 overruns:0 frame:0 TX packets:379 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:79056 (79.0 KB) TX bytes:44986 (44.9 KB)

KB) lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:190 (190.0 B) TX bytes:190 (190.0 B)

B) ovs-system Link encap:Ethernet HWaddr 86:7e:5f:61:87:3e
BROADCAST 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)

B) phy-br-eth1 Link encap:Ethernet HWaddr 32:ab:06:ce:17:3e
inet6 addr: fe80::30ab:6ff:fece:173e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:379 errors:0 dropped:0 overruns:0 frame:0 TX packets:622 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:44986 (44.9 KB) TX bytes:79056 (79.0 KB)

KB) qbr97a2bf9a-9e Link encap:Ethernet HWaddr 9e:24:35:73:bc:ca
inet6 addr: fe80::a87b:5dff:fedd:2f36/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1530 (1.5 KB) TX bytes:648 (648.0 B)

B) qvb97a2bf9a-9e Link encap:Ethernet HWaddr 9e:24:35:73:bc:ca
inet6 addr: fe80::9c24:35ff:fe73:bcca/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:317 errors:0 dropped:16 overruns:0 frame:0 TX packets:176 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:37822 (37.8 KB) TX bytes:19208 (19.2 KB)

KB) qvo97a2bf9a-9e Link encap:Ethernet HWaddr 2a:8f:b5:7a:ac:24
inet6 addr: fe80::288f:b5ff:fe7a:ac24/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:176 errors:0 dropped:0 overruns:0 frame:0 TX packets:317 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:19208 (19.2 KB) TX bytes:37822 (37.8 KB)

KB) tap97a2bf9a-9e Link encap:Ethernet HWaddr fe:16:3e:4b:96:1a
inet6 addr: fe80::fc16:3eff:fe4b:961a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:145 errors:0 dropped:0 overruns:0 frame:0 TX packets:115 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:13714 (13.7 KB) TX bytes:15514 (15.5 KB)

KB) virbr0 Link encap:Ethernet HWaddr d2:57:24:ab:43:de
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST 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)

B) root@compute1:/etc/neutron/plugins/ml2# ip a 1: lo: <loopback,up,lower_up> <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 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: eth0: <broadcast,multicast,up,lower_up> <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000 link/ether f0:1f:af:e8:c0:0b brd ff:ff:ff:ff:ff:ff inet 192.168.1.61/24 brd 192.168.1.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::f21f:afff:fee8:c00b/64 scope link valid_lft forever preferred_lft forever 3: eth1: <broadcast,multicast,promisc,up,lower_up> <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP qlen 1000 link/ether f0:1f:af:e8:c0:0c brd ff:ff:ff:ff:ff:ff inet6 fe80::f21f:afff:fee8:c00c/64 scope link valid_lft forever preferred_lft forever 4: ovs-system: <broadcast,multicast> <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN link/ether 0a:85:fb:5f:ce:3c brd ff:ff:ff:ff:ff:ff 5: br-eth1: <broadcast,up,lower_up> <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN link/ether f0:1f:af:e8:c0:0c brd ff:ff:ff:ff:ff:ff inet6 fe80::2875:aff:fedc:b34/64 scope link valid_lft forever preferred_lft forever 6: br-int: <broadcast,up,lower_up> <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN link/ether 3e:79:be:0d:5b:43 brd ff:ff:ff:ff:ff:ff inet6 fe80::e490:37ff:fedc:1eca/64 scope link valid_lft forever preferred_lft forever 7: virbr0: <no-carrier,broadcast,multicast,up> <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN link/ether ce:45:fe:28:cc:ee brd ff:ff:ff:ff:ff:ff inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0 valid_lft forever preferred_lft forever 8: phy-br-eth1: <broadcast,multicast,up,lower_up> <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UP qlen 1000 link/ether 52:3e:9b:53:73:dd brd ff:ff:ff:ff:ff:ff inet6 fe80::503e:9bff:fe53:73dd/64 scope link valid_lft forever preferred_lft forever 9: int-br-eth1: <broadcast,multicast,up,lower_up> <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UP qlen 1000 link/ether c2:88:c9:43:bb:fa brd ff:ff:ff:ff:ff:ff inet6 fe80::c088:c9ff:fe43:bbfa/64 scope link valid_lft forever preferred_lft forever 10: qbrff1ea31f-f0: <broadcast,multicast,up,lower_up> <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP link/ether f2:9b:d2:36:4f:0e brd ff:ff:ff:ff:ff:ff inet6 fe80::1832:e9ff:fe9e:8656/64 scope link valid_lft forever preferred_lft forever 11: qvoff1ea31f-f0: <broadcast,multicast,promisc,up,lower_up> <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UP qlen 1000 link/ether e2:f1:5e:86:dd:fa brd ff:ff:ff:ff:ff:ff inet6 fe80::e0f1:5eff:fe86:ddfa/64 scope link valid_lft forever preferred_lft forever 12: qvbff1ea31f-f0: <broadcast,multicast,promisc,up,lower_up> <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbrff1ea31f-f0 state UP qlen 1000 link/ether f2:9b:d2:36:4f:0e brd ff:ff:ff:ff:ff:ff inet6 fe80::f09b:d2ff:fe36:4f0e/64 scope link valid_lft forever preferred_lft forever 13: tapff1ea31f-f0: <broadcast,multicast,up,lower_up> <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbrff1ea31f-f0 state UNKNOWN qlen 500 link/ether fe:16:3e:92:55:96 brd ff:ff:ff:ff:ff:ff inet6 fe80::fc16:3eff:fe92:5596/64 scope link valid_lft forever preferred_lft forever

forever root@compute1:/etc/neutron/plugins/ml2# ovs-vsctl list-br br-eth1 br-int root@compute1:/etc/neutron/plugins/ml2# root@compute1:/etc/neutron/plugins/ml2# ovs-vsctl list-ports br-eth1 eth1 phy-br-eth1 root@compute1:/etc/neutron/plugins/ml2# root@compute1:/etc/neutron/plugins/ml2# ovs-vsctl list-ports br-int int-br-eth1 int-br-int int-phy-br-eth1 phy-br-int qvoff1ea31f-f0

qvoff1ea31f-f0