Comment 1 for bug 1773756

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1773756] [NEW] [RFE] lazy installation of agent dependencies

The one we actually want is 'cpu-checker' as we want to know whether we
*could* launch a KVM guest on a given machine, and we could defer
installing the rest of the packages to actually launch them until we
actually have requested it.
We could potentially have a flag for disabling KVM support entirely, it
doesn't really make sense to do it on a per-machine level.

On Mon, May 28, 2018 at 2:34 AM, Dmitrii Shcherbakov <
<email address hidden>> wrote:

> Public bug reported:
>
> Currently every machine used by Juju has a set of packages installed
> unconditionally.
>
> Comparing cloud image manifest
>
> https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-
> amd64.manifest
>
> with systems provisioned via Juju & MAAS I can see the following
> additional packages installed:
>
> 1) controller machines:
> bridge-utils, cloud-image-utils, cloud-utils, cpu-checker, distro-info,
> genisoimage, juju-mongo-tools3.2, juju-mongodb3.2, libaio1:amd64,
> libboost-chrono1.58.0:amd64, libboost-filesystem1.58.0:amd64,
> libboost-iostreams1.58.0:amd64, libboost-program-options1.58.0:amd64,
> libboost-random1.58.0:amd64, libboost-regex1.58.0:amd64,
> libboost-system1.58.0:amd64, libboost-thread1.58.0:amd64,
> libgoogle-perftools4, libiscsi2:amd64, libnspr4:amd64, libnss3:amd64,
> libnss3-nssdb, libpcrecpp0v5:amd64, libplymouth4:amd64, librados2, librbd1,
> libsmartcols1:amd64, libsnappy1v5:amd64, libtcmalloc-minimal4, libunwind8,
> libyaml-cpp0.5v5:amd64, msr-tools, qemu-block-extra:amd64, qemu-utils,
> sharutils, ubuntu-fan
>
> non-controller ubuntu machines (without charms):
> bridge-utils, cloud-image-utils, cloud-utils, cpu-checker, distro-info,
> genisoimage, libaio1:amd64, libboost-iostreams1.58.0:amd64,
> libboost-random1.58.0:amd64, libboost-system1.58.0:amd64,
> libboost-thread1.58.0:amd64, libiscsi2:amd64, libnspr4:amd64,
> libnss3:amd64, libnss3-nssdb, librados2, librbd1, msr-tools,
> qemu-block-extra:amd64, qemu-utils, sharutils, ubuntu-fan
>
> libboost, cpu-checker, msr-tools, libnss, ceph rbd-related dependencies
> and some others are for qemu-utils
>
> Not every system we provision uses those packages as "kvm containers"
> are subjectively used less frequently than LXD containers in Juju
> models.
>
> Those dependencies should be made optional for at least 2 reasons:
>
> 1) some users/customers ask to reduce the amount of packages installed to
> have a smaller attack surface;
> 2) installation speed.
>
> ** Affects: juju
> Importance: Undecided
> Status: New
>
>
> ** Tags: cpe-onsite
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1773756
>
> Title:
> [RFE] lazy installation of agent dependencies
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1773756/+subscriptions
>