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.
Reviewed: https:/ /review. openstack. org/527592 /git.openstack. org/cgit/ openstack/ openstack- ansible- lxc_hosts/ commit/ ?id=f179f21a669 5269259091f4ef1 b37630527185e9
Committed: https:/
Submitter: Zuul
Branch: master
commit f179f21a6695269 259091f4ef1b376 30527185e9
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 machine_ quota_disabled` has been added to disable or
The option `lxc_host_
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.freedeskto p.org/software/ systemd/ man/machinectl. html#set- limit%20% 5BNAME% 5D%20BYTES
Closes-Bug: #1745361 6808ac37a9ea79a 50e29671115
Change-Id: I85fefc6ce186bb
Signed-off-by: Kevin Carter <email address hidden>