[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-10-21 Thread David Sommerseth
*** This bug is a duplicate of bug 1598522 *** https://bugs.launchpad.net/bugs/1598522 I am the one who added the systemd unit files to upstream OpenVPN. These files are now getting a few updates [1] and will ship as the recommended unit files in the coming OpenVPN 2.4 release. The OpenVPN

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-07-14 Thread Scott Crooks
*** This bug is a duplicate of bug 1598522 *** https://bugs.launchpad.net/bugs/1598522 Is there a timeline for this fix? It seems like a pretty simple fix, and it's a bit nerve-racking every time I have to reboot an OpenVPN server :) -- You received this bug notification because you are a

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-07-14 Thread Scott Crooks
*** This bug is a duplicate of bug 1598522 *** https://bugs.launchpad.net/bugs/1598522 Is there a timeline for this fix? It seems like a pretty simple fix, and it's a bit nerve-racking every time I have to reboot an OpenVPN server :) -- You received this bug notification because you are a

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-07-05 Thread Stas
*** This bug is a duplicate of bug 1598522 *** https://bugs.launchpad.net/bugs/1598522 I have just tried It works OK, however, they assume that server configuration is in /etc/openvpn/server/.conf, in current ubuntu package it

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-07-04 Thread Malte Zacharias
*** This bug is a duplicate of bug 1598522 *** https://bugs.launchpad.net/bugs/1598522 I can confirm the above reports as well as the description in #1595822. OpenVPN is started too early in the boot process. Cloud-Init will default to configure tun0 instead of the guests main network

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-07-03 Thread Simon Déziel
There is a nice explanation of the bug in the duplicate LP: #1598522. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1580356 Title: OpenVPN causes reboot failure on Xenial in AWS To manage

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-06-28 Thread Samuli Seppänen
Upstream OpenVPN has two unit files, one for servers, one for clients: Have you tested whether these unit files work better? ** Bug watch added: community.openvpn.net/openvpn/ #462

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-06-27 Thread Scott Harney
Doing as the OP suggested does work. the following modification of lib/systemd/system/openvpn@.service allows the AWS xenial instance to reboot with openvpn service enabled $ diff -u /lib/systemd/system/openvpn@.service roles/openvpn_server/files/openvpn@.service ---

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-06-27 Thread Scott Harney
I tested that theory of modifying openvpn.service with network- online.target to no avail. Can confirm this issue in ubuntu/images/hvm- ssd/ubuntu-xenial-16.04-amd64-server-20160610 (ami-d06a90b0) as well. Will try modifying openvpn.@service as suggested by OP to see if that resolves. -- You

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-06-07 Thread Samuli Seppänen
This link might be of interest: Much of the same info can be viewed with $ man 7 systemd.special It seems that network-online.target should be used instead of network.target. I think fixing this in openvpn.service instead of

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-06-06 Thread Simon Déziel
** Changed in: openvpn (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1580356 Title: OpenVPN causes reboot failure on Xenial in AWS To manage

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-06-06 Thread WoJ
I confirm that the issue is present with the AMI Ubuntu image 20160516.1. I systematically reproduce it by - launching an instance of the AMI image on EC2 - apt update ; apt install openvpn - configuring the OpenVN server with any configuration (static key for instance

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-05-19 Thread Robie Basak
** Tags added: systemd-boot -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1580356 Title: OpenVPN causes reboot failure on Xenial in AWS To manage notifications about this bug go to:

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-05-18 Thread Scott Crooks
Simon, Yes, the instance I used as a test was using DHCP. AWS is a bit odd in that sense since, for all intents and purposes, your instance has a static internal IP address that persists across reboots. However, the instance thinks it's using DHCP. It would be as if you configured DHCP on the

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-05-18 Thread Scott Crooks
Simon, Yes, the instance I used as a test was using DHCP. AWS is a bit odd in that sense since, for all intents and purposes, your instance has a static internal IP address that persists across reboots. However, the instance thinks it's using DHCP. It would be as if you configured DHCP on the

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-05-16 Thread Simon Déziel
Hi Scott, I just finished migrating my VPN to Xenial. I cannot reproduce your issue using a static IP configuration in /etc/network/interfaces. I'll try to set things up with DHCP and see how it goes. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-05-16 Thread Scott Crooks
Greetings, Any status on this? The thread I opened on the openvpn-user mailing list has confirmed as well that this is an issue. See here: http://article.gmane.org/gmane.network.openvpn.user/36909 -- You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-05-16 Thread Scott Crooks
Greetings, Any status on this? The thread I opened on the openvpn-user mailing list has confirmed as well that this is an issue. See here: http://article.gmane.org/gmane.network.openvpn.user/36909 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-05-10 Thread Scott Crooks
Simon, The configuration was more or less the same, just different port numbers. Here they are for documentation purposes. Again, the only differences are the protocol, and the IP pools. UDP Config: port 1618 proto udp dev tun ca /etc/openvpn/openvpnudp-files/ca.crt cert

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-05-10 Thread Scott Crooks
Simon, The configuration was more or less the same, just different port numbers. Here they are for documentation purposes. Again, the only differences are the protocol, and the IP pools. UDP Config: port 1618 proto udp dev tun ca /etc/openvpn/openvpnudp-files/ca.crt cert

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-05-10 Thread Simon Déziel
Thanks Scott. Could you also attach the OpenVPN configs since they apparently don't match the gist [1]. Thanks 1: https://gist.github.com/sc250024/001e05d64cd02fe746ae1772baccd24a -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-05-10 Thread Scott Crooks
Simon, The setup I have is running two OpenVPN daemons on the same port (1618) but on different protocols (TCP/UDP). The post that Chris made in the AWS forum above had a much simpler, single virtual interface setup. root@ip-10-0-0-9:~# ip addr 1: lo: mtu 65536 qdisc

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-05-10 Thread Scott Crooks
Simon, The setup I have is running two OpenVPN daemons on the same port (1618) but on different protocols (TCP/UDP). The post that Chris made in the AWS forum above had a much simpler, single virtual interface setup. root@ip-10-0-0-9:~# ip addr 1: lo: mtu 65536 qdisc

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-05-10 Thread Simon Déziel
If you could attach "ip addr" and "ip route" output here that would be good, thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1580356 Title: OpenVPN causes reboot failure on Xenial in AWS To

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-05-10 Thread Scott Crooks
Simon, Also, which commands do you want to see? Just `ip route` ? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openvpn in Ubuntu. https://bugs.launchpad.net/bugs/1580356 Title: OpenVPN causes reboot failure on Xenial in AWS To

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-05-10 Thread Scott Crooks
Simon, Sure. Would you prefer a Github Gist, or can I paste the outputs here directly? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1580356 Title: OpenVPN causes reboot failure on Xenial in AWS

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-05-10 Thread Scott Crooks
Simon, Sure. Would you prefer a Github Gist, or can I paste the outputs here directly? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openvpn in Ubuntu. https://bugs.launchpad.net/bugs/1580356 Title: OpenVPN causes reboot failure

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-05-10 Thread Scott Crooks
Simon, Also, which commands do you want to see? Just `ip route` ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1580356 Title: OpenVPN causes reboot failure on Xenial in AWS To manage

[Bug 1580356] Re: OpenVPN causes reboot failure on Xenial in AWS

2016-05-10 Thread Simon Déziel
Scott, could you please provide some information about the routing/IP configuration before the reboot? ** Changed in: openvpn (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.