Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: API

XCP 1.1 OVS and active-backup mode seeing traffic on both interfaces

 

 

Xen api RSS feed   Index | Next | Previous | View Threaded


brooks at netgate

Jan 21, 2012, 4:39 PM

Post #1 of 5 (370 views)
Permalink
XCP 1.1 OVS and active-backup mode seeing traffic on both interfaces

I'm seeing traffic on both interfaces of an active-backup bond. This is a
bond of eth0 and eth1 with both management and vm traffic. Given the
requirement that a bonded management interface be in active-backup mode
and since balance-slb doesn't work unless the ports are connected to the
same switch (or stack) I have the bond in active-backup mode:

# xe pif-list
uuid=c5145148-5a9d-fe94-8129-d66fb26cb0f4 params=other-config
other-config (MRW) : bond-mode: active-backup

#ovs-vsctl list port
_uuid : a3320c0c-5511-4705-9355-fadbe8e06b90
bond_downdelay : 200
bond_fake_iface : true
bond_updelay : 31000
external_ids : {}
fake_bridge : false
interfaces : [59378258-2394-4c53-8708-e92106488a30,
c2c11a5e-b6d5-449c-b05f-b4d5ed2e53f1]
mac : "00:1b:24:3e:09:35"
name : "bond0"
other_config : {bond-miimon="100", bond-mode=active-backup,
bond-use_carrier="1"}
qos : []
tag : []
trunks : []

# ovs-appctl bond/show bond0
updelay: 31000 ms
downdelay: 200 ms
next rebalance: 9144 ms
slave eth1: enabled
active slave
hash 213: 5 kB load
00:1b:24:3e:09:35
slave eth0: enabled
hash 0: 1 kB load
a2:7f:92:f5:83:96
hash 51: 0 kB load
hash 251: 0 kB load
hash 255: 0 kB load


It would seem like it's setup and working correctly with eth1 being the
active interface. So, why am I seeing VM traffic on eth0?

# tcpdump -vv -i eth0

16:25:46.653749 IP (tos 0x0, ttl 245, id 40076, offset 0, flags [none],
proto: ICMP (1), length: 84) 65.102.12.15 > vpc: ICMP echo
request, id 27167, seq 18452, length 64

16:25:46.653805 IP (tos 0x0, ttl 64, id 31595, offset 0, flags [none],
proto: ICMP (1), length: 84) vpc > 65.102.12.15: ICMP echo
reply, id 27167, seq 18452, length 64

The problems I'm seeing are intermittent packet loss to both the VM and
to dom0 as well as the interfaces being dead after a live migration until
I send traffic from the VM. This same environment works fine under
XenServer 5.5 (running in linux bridge mode). There's very little
knowledge available in relation to OVS so any guidance would be
appreciated.

_______________________________________________
xen-api mailing list
xen-api [at] lists
http://lists.xensource.com/mailman/listinfo/xen-api


blp at cs

Jan 21, 2012, 8:32 PM

Post #2 of 5 (363 views)
Permalink
Re: XCP 1.1 OVS and active-backup mode seeing traffic on both interfaces [In reply to]

brooks [at] netgate writes:

> I'm seeing traffic on both interfaces of an active-backup bond. This
> is a bond of eth0 and eth1 with both management and vm traffic. Given
> the requirement that a bonded management interface be in active-backup
> mode and since balance-slb doesn't work unless the ports are connected
> to the same switch (or stack) I have the bond in active-backup mode:

The version of OVS in XCP 1.x accepts incoming packets on all
interfaces of active-backup bonds. We changed this behavior in
newer versions of OVS.
--
"MONO - Monochrome Emulation
This field is used to store your favorite bit."
--FreeVGA Attribute Controller Reference


_______________________________________________
xen-api mailing list
xen-api [at] lists
http://lists.xensource.com/mailman/listinfo/xen-api


brooks at netgate

Jan 22, 2012, 9:25 PM

Post #3 of 5 (344 views)
Permalink
Re: XCP 1.1 OVS and active-backup mode seeing traffic on both interfaces [In reply to]

Ben,

Thank you. Now the question is, can a newer version of OVF be installed
into XCP 1.1? If not active-backup bonding in XCP 1.1 is useless.


On Sat, 21 Jan 2012, Ben Pfaff wrote:

> brooks [at] netgate writes:
>
>> I'm seeing traffic on both interfaces of an active-backup bond. This
>> is a bond of eth0 and eth1 with both management and vm traffic. Given
>> the requirement that a bonded management interface be in active-backup
>> mode and since balance-slb doesn't work unless the ports are connected
>> to the same switch (or stack) I have the bond in active-backup mode:
>
> The version of OVS in XCP 1.x accepts incoming packets on all
> interfaces of active-backup bonds. We changed this behavior in
> newer versions of OVS.

_______________________________________________
xen-api mailing list
xen-api [at] lists
http://lists.xensource.com/mailman/listinfo/xen-api


blp at cs

Jan 22, 2012, 9:29 PM

Post #4 of 5 (354 views)
Permalink
Re: XCP 1.1 OVS and active-backup mode seeing traffic on both interfaces [In reply to]

Yes, you can install a newer version of OVS on XCP. The
instructions you need are in INSTALL.XenServer.

I wouldn't say that active-backup bonding in XCP 1.1 is
"useless". It works fine in many use cases, just not in yours.

brooks [at] netgate writes:

> Thank you. Now the question is, can a newer version of OVF be
> installed into XCP 1.1? If not active-backup bonding in XCP 1.1 is
> useless.
>
>
> On Sat, 21 Jan 2012, Ben Pfaff wrote:
>
>> brooks [at] netgate writes:
>>
>>> I'm seeing traffic on both interfaces of an active-backup bond. This
>>> is a bond of eth0 and eth1 with both management and vm traffic. Given
>>> the requirement that a bonded management interface be in active-backup
>>> mode and since balance-slb doesn't work unless the ports are connected
>>> to the same switch (or stack) I have the bond in active-backup mode:
>>
>> The version of OVS in XCP 1.x accepts incoming packets on all
>> interfaces of active-backup bonds. We changed this behavior in
>> newer versions of OVS.
>

--
Ben Pfaff
http://benpfaff.org


_______________________________________________
xen-api mailing list
xen-api [at] lists
http://lists.xensource.com/mailman/listinfo/xen-api


brooks at netgate

Jan 22, 2012, 11:28 PM

Post #5 of 5 (355 views)
Permalink
Re: XCP 1.1 OVS and active-backup mode seeing traffic on both interfaces [In reply to]

Thank you. Why was active-backup architected to accept packets on all
interfaces? Depending on your physical architecture that has the
potential to play havoc with the ARP tables in the switches.

I'll try installing a newer version of OVS tomorrow.

Thanks again. I really appreciate your help.

On Sun, 22 Jan 2012, Ben Pfaff wrote:

> Yes, you can install a newer version of OVS on XCP. The
> instructions you need are in INSTALL.XenServer.
>
> I wouldn't say that active-backup bonding in XCP 1.1 is
> "useless". It works fine in many use cases, just not in yours.
>
> brooks [at] netgate writes:
>
>> Thank you. Now the question is, can a newer version of OVF be
>> installed into XCP 1.1? If not active-backup bonding in XCP 1.1 is
>> useless.
>>
>>
>> On Sat, 21 Jan 2012, Ben Pfaff wrote:
>>
>>> brooks [at] netgate writes:
>>>
>>>> I'm seeing traffic on both interfaces of an active-backup bond. This
>>>> is a bond of eth0 and eth1 with both management and vm traffic. Given
>>>> the requirement that a bonded management interface be in active-backup
>>>> mode and since balance-slb doesn't work unless the ports are connected
>>>> to the same switch (or stack) I have the bond in active-backup mode:
>>>
>>> The version of OVS in XCP 1.x accepts incoming packets on all
>>> interfaces of active-backup bonds. We changed this behavior in
>>> newer versions of OVS.

_______________________________________________
xen-api mailing list
xen-api [at] lists
http://lists.xensource.com/mailman/listinfo/xen-api

Xen api RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.