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/545850 /git.openstack. org/cgit/ openstack/ openstack- ansible- lxc_hosts/ commit/ ?id=c4a076d2c05 08cf30f242462de cb342d58f88058
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit c4a076d2c0508cf 30f242462decb34 2d58f88058
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
This is a backport of: /review. openstack. org/527592 /review. openstack. org/545801
- https:/
- https:/
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>