From 7ec02acdf9e9c4a26b71720a5f9a8b89b1ce7ea3 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Wed, 14 Feb 2018 16:51:30 -0600 Subject: [PATCH] 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 --- ansible-role-requirements.yml | 2 +- tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible-role-requirements.yml b/ansible-role-requirements.yml index 7723310629..545af69d2e 100644 --- a/ansible-role-requirements.yml +++ b/ansible-role-requirements.yml @@ -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 diff --git a/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 b/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 index dcd58f3366..a682abe9f9 100644 --- a/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 +++ b/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 @@ -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: