[openstack-dev] [neutron][vpnaas] Can we require kernel 3.8+ for use with StrongSwan IPSec VPN for Kilo?

Paul Michali pc at michali.net
Tue Jan 20 16:40:42 UTC 2015


Review https://review.openstack.org/#/c/146508/ is adding support for
StrongSwan VPN, which needs mount bind to be able to specify different
paths for config files.

The code, which used some older patch, does a test for /proc/1/ns/net,
instead of /proc/1/ns/mnt, because it stated that the latter is only
supported in kernel 3.8+. That was a while ago, and I'm wondering if the
condition is still true.  If we know that for Kilo and on, we'll be dealing
with 3.8+ kernels, we could use the more accurate test.

Can we require 3.8+ kernel for this?
If so, how and where do we ensure that is true?

Also, if you can kindly review the code here:
https://review.openstack.org/#/c/146508/5/neutron_vpnaas/services/vpn/common/netns_wrapper.py,
I'd really appreciate it, as I'm not versed in the Linux proc files at all.

Thanks!


PCM (Paul Michali)

IRC............ pc_m (irc.freenode.com)
Twitter....... @pmichali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150120/08ce75ee/attachment.html>


More information about the OpenStack-dev mailing list