Comment 6 for bug 1817774

Revision history for this message
Richard Harding (rharding) wrote :

Thanks, the fact that the client is installed makes sense now. I appreciate the analysis that helped me look and note that lxd added that sysctl file in Apr 2017 and we had added this to the snap setup in Feb 2017. I think it's just that we originally needed that config and set some default and lxd later set a larger default that we missed was added and would negate the need for Juju to set this when using the client.

https://github.com/lxc/lxd-pkg-ubuntu/commits/8dc4a41e780000c323e119ba14f4463b4c222c8e/debian/lxd.sysctl

https://github.com/juju/juju/commit/609dbb29a77e01f54d602be8ca373a9a171f8653#diff-8f4e953fdcce135fef1df9e88717ab5d

We'll look at updating the snap definition and see if we can test/validate that we no longer need the lxd tweaks and update it.

For the immediate aid for your case I'd suggest testing removing the file 'usr/lib/sysctl.d/juju-2.conf' and kicking the system.