[SRU] Cloudpipe VPN instance can loose connectivity after starting openvpn
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Cor Cornelisse | ||
Essex |
Fix Released
|
Undecided
|
Unassigned | ||
nova (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Chuck Short |
Bug Description
Cloudpipe openvpn tap has a high chance of not working in Essex
A fix for bug 921838 changed the MAC addresses generated by libvirt to start with a very high first octet.
A cloudpipe instance thus has a high numbered MAC address on eth0
Upon openvpn start, a tap interface will be joined to a bridge br0, together with eth0.
Since the tap MAC address is also randomly generated, and the eth0 MAC is on the high-end side of the MAC-Address address space, chances are very high the tap MAC address will turn out lower than the eth0 MAC address.
A feature of the linux kernel is, the bridge will take the lowest MAC address of all interfaces in the bridge to become the bridge MAC address.
As soon as openvpn is started in the cloudpipe instance, br0 will change its MAC to the tap MAC and after the old MAC address is gone from the ARP table connectivity is lost to the cloudpipe instance.
Since what the kernel is doing is completely valid, there are two possible approaches imho:
- Have libvirt generate a low numbered mac address for cloudpipe instances
or
- Make sure a second mac-address is randomly generated, higher than the eth0 MAC address, and specify it in the openvpn config using (lladdr)
I'll write up something to realize the latter (option 2)
Related branches
- Chuck Short: Pending requested
-
Diff: 56 lines (+14/-4)3 files modifieddebian/changelog (+8/-0)
debian/control (+6/-3)
debian/nova-console.install (+0/-1)
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
milestone: | none → folsom-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova (Ubuntu): | |
status: | New → In Progress |
Changed in nova (Ubuntu Precise): | |
status: | New → In Progress |
summary: |
- Cloudpipe VPN instance can loose connectivity after starting openvpn + [SRU] Cloudpipe VPN instance can loose connectivity after starting + openvpn |
Changed in nova (Ubuntu Precise): | |
assignee: | nobody → Chuck Short (zulcss) |
milestone: | none → ubuntu-12.04.1 |
tags: |
added: verification-done removed: verification-needed |
Changed in nova (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in nova: | |
milestone: | folsom-1 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/6327
Review: https:/