Role lxc_hosts for OpenStack-Ansible
Go to file
Kevin Carter c4a076d2c0 Clean-up old systemd prep and allow machinctl to grow
This is a backport of:
- https://review.openstack.org/527592
- https://review.openstack.org/545801

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 <kevin.carter@rackspace.com>
2018-02-19 15:24:29 +00:00
defaults Clean-up old systemd prep and allow machinctl to grow 2018-02-19 15:24:29 +00:00
doc Remove pip_install dependency 2017-12-05 11:54:12 +00:00
examples [DOCS] Create separate example playbook file 2016-08-11 20:21:22 -05:00
files Create an LXC create template for machinectl 2017-10-05 00:01:40 -05:00
handlers Clean-up old systemd prep and allow machinctl to grow 2018-02-19 15:24:29 +00:00
meta Remove pip_install dependency 2017-12-05 11:54:12 +00:00
releasenotes Clean-up old systemd prep and allow machinctl to grow 2018-02-19 15:24:29 +00:00
tasks Clean-up old systemd prep and allow machinctl to grow 2018-02-19 15:24:29 +00:00
templates Allow NetworkManager to work (if present) 2018-01-08 09:22:51 -06:00
tests Merge "Point to Queens instead of master" into stable/queens 2018-02-15 14:52:28 +00:00
vars Merge "Clear the cached machine-id" into stable/queens 2018-02-19 15:16:45 +00:00
zuul.d Zuul: Remove project name 2018-02-06 02:04:38 -08:00
.gitignore Updated from OpenStack Ansible Tests 2017-06-22 15:19:02 +00:00
.gitreview Update .gitreview for stable/queens 2018-02-14 15:45:50 +00:00
CONTRIBUTING.rst [DOCS] - Removing tags: and category: 2016-08-18 15:16:58 -04:00
LICENSE IRR for lxc_host 2015-11-03 04:22:57 -06:00
README.rst Update URLs in documents according to document migration 2017-07-14 09:35:14 +08:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-01-22 16:53:49 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-12-06 00:05:34 +00:00
manual-test.rc Use centralised test scripts 2016-09-27 16:47:07 +01:00
run_tests.sh Updated from OpenStack Ansible Tests 2017-11-10 13:15:08 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-14 09:35:14 +08:00
setup.py Updated from global requirements 2017-03-02 11:51:17 +00:00
test-requirements.txt Updated from global requirements 2018-01-24 01:16:07 +00:00
tox.ini Point to Queens instead of master 2018-02-15 14:07:07 +00:00

README.rst

Team and repository tags

image

OpenStack-Ansible LXC hosts

Ansible role that configures a host for running LXC containers.

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-lxc_hosts/latest

The project home is at:

http://launchpad.net/openstack-ansible