← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1631038] Re: Need /etc/sysctl.d/10-juju.conf

 

This bug was fixed in the package juju-core - 2.0.0-0ubuntu0.16.04.2

---------------
juju-core (2.0.0-0ubuntu0.16.04.2) xenial; urgency=medium

  * DPKG_MAINTSCRIPT_ARCH doesn't work in .config, use dpkg check (LP:
#1614969)

 -- Nicholas Skaggs <nicholas.skaggs@xxxxxxxxxxxxx>  Mon, 31 Oct 2016
15:55:49 -0400

** Changed in: juju-core (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1631038

Title:
  Need /etc/sysctl.d/10-juju.conf

Status in juju-release-tools:
  Fix Committed
Status in juju-core package in Ubuntu:
  Fix Released
Status in juju-core source package in Xenial:
  Fix Released
Status in juju-core source package in Yakkety:
  Fix Released
Status in juju-core source package in Zesty:
  Fix Released

Bug description:
  In order to increase the number of containers that can be used with
  the lxd provider we need an /etc/sysctl.d/10-juju.conf file setting:

      fs.inotify.max_user_watches = 524288
      fs.inotify.max_user_instances = 256

  This is a partial fix for bug #1602192.

  [SRU Information]

  [Impact]
  This represent a partial workaround to the problem of being unable to launch double digit containers via LXD. While upstream work within the kernel and LXD should provide a better solution, this seeks to mitigate the specific case of running a charm bundle locally via LXD.

  [Verification]
  First confirm the values are now set by checking with

  sysctl -a | grep fs.inotify.max_user_

  Then, try running a bunch of lxc containers. You should be able to
  start around 20 before they fail.

  To test juju, start 13 containers using lxc. Then perform a juju
  bootstrap and deploy the ubuntu charm. Using the old package, the
  deploy should never complete. With the changes, you should be able to
  deploy. NOTE: You will still hit an upper limit depending on your
  machine of around 20 or so containers. This test is intended to
  demonstrate you can deploy even with more than 13 running lxc
  containers.

  As an additional verification, you can attempt to deploy a large
  bundle like canonical-kubernetes, hadoop, or another bigdata charm. Be
  sure to remove any pre-existing containers before deploying as these
  bundles will start more than a dozen on there own.

  [Regression Potential]
  As these values are not currently set, there is no potential for regressions. Rather, the risk is on setting the values.

  [Other]
  This change tweaks kernel settings that will change the users machine for all running binaries -- not just LXD and juju. These values have been chosen as reasonable defaults and as safe to implement. See the discussion on bug 1602192.

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-release-tools/+bug/1631038/+subscriptions