Fix LXC volume size

With the change to allow volumes to dynamically grow we need to define
the default volume size to contain a valid size modifier. At present the
value is creating a sparse file that is 1024 bytes. This change sets the
size to gigabytes.

The role pin is updated to include the changes in the lxc_hosts role
which use this method of configuration. Without it the quota setting
end up with a GG at the end, which is invalid and the command fails.

Change-Id: Ib9b23b023d2ad03ce72c4abce5dc9e51d4643ac0
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2018-02-14 16:51:30 -06:00 committed by Jesse Pretorius
parent fb89747807
commit 7ec02acdf9
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@
- name: lxc_hosts
scm: git
src: https://git.openstack.org/openstack/openstack-ansible-lxc_hosts
version: 0c6d6c89acda8db63d93e6514359a03e782089aa
version: 588f1ba9d1a89c3ff1e2bb14edb9bbbf929e7368
- name: memcached_server
scm: git
src: https://git.openstack.org/openstack/openstack-ansible-memcached_server

View File

@ -178,7 +178,7 @@ lxc_container_backing_store: "machinectl"
# Allow the container store sufficient space to build everything we need.
# Size is in GB:
lxc_host_machine_volume_size: 1024
lxc_host_machine_volume_size: 1024G
## Enable LBaaSv2 in the AIO
neutron_plugin_base: