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:
parent
9fd0746b78
commit
0a5a11704f
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user