Prevent overlayfs use in test when kernel < 3.18 or release == trusty

The overlayfs version in kernel version < 3.18 was not production-ready
and should be avoided on Trusty due general instability. This patch
prevents overlayfs from being used when implementing an AIO with
kernel version and release versions that are not not suitable.

Related-Bug: #1612412
Related-Bug: #1631690
Change-Id: I224c27ed645c3f3817721baccd5d9e5ce19f3a03
This commit is contained in:
Jesse Pretorius 2016-08-05 15:42:58 +01:00 committed by Jesse Pretorius (odyssey4me)
parent 9fd0746b78
commit 0a5a11704f

View File

@ -87,7 +87,7 @@ repo_build_pip_no_binary:
# The container backing store is set to 'overlayfs' to speed up the # The container backing store is set to 'overlayfs' to speed up the
# AIO build time. # AIO build time.
lxc_container_backing_store: overlayfs lxc_container_backing_store: "{{ ((ansible_kernel | version_compare('3.18.0-0-generic', '<')) or (ansible_distribution_release | lower == 'trusty')) | ternary('dir', 'overlayfs') }}"
## Enable LBaaSv2 in the AIO ## Enable LBaaSv2 in the AIO
neutron_plugin_base: neutron_plugin_base: