Comment 3 for bug 1745361

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-lxc_hosts (master)

Reviewed: https://review.openstack.org/527592
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-lxc_hosts/commit/?id=f179f21a6695269259091f4ef1b37630527185e9
Submitter: Zuul
Branch: master

commit f179f21a6695269259091f4ef1b37630527185e9
Author: Kevin Carter <email address hidden>
Date: Wed Dec 13 00:12:56 2017 -0600

    Clean-up old systemd prep and allow machinctl to grow

    The machinectl cache is currently set image to 16G by default. If
    multiple container images are imported into the cache this may be too
    small by default. This change sets the cache to "64G" by default allowing
    the cache more room to grow by.

    This change also disables the quota system once the limit has been set
    The option `lxc_host_machine_quota_disabled` has been added to disable or
    enable the quota system as needed. This is done after the default limit has
    been set so an adequately sized sparce file can be created should it not
    already exist.

    > More documentation can be seen here [0] with regard to the set-limit
      option.

    Because we support both modern and older systemd, the cache prep tasks
    for old systemd have been updated so that deployers using earlier
    versions of systemd can benefit from the ability to grow an existing
    cache via playbook run.

    [0] https://www.freedesktop.org/software/systemd/man/machinectl.html#set-limit%20%5BNAME%5D%20BYTES

    Closes-Bug: #1745361
    Change-Id: I85fefc6ce186bb6808ac37a9ea79a50e29671115
    Signed-off-by: Kevin Carter <email address hidden>