Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fail build image when using a kernel version not supported by FSx for…
… Lustre Initially we decided to not fail, because when we released the first version of RH8 support only 8.4 was available, so we didn't want to release a broken functionality. Anyway at that point we can use the same approach we're using for CentOS7 and fail the build if the kernel version is not compatible with FSx for Lustre. This will permit us and users to discover this incompatibility at build image time, rather than at cluster creation time if using FSx storage. ### Tests Verified with an AMI with kernel `4.18.0-425.13.1.el8_7.x86_64` ``` bash kitchen.ec2.sh environment-install converge lustre-rhel8 ... [2023-11-22T15:13:09+00:00] FATAL: RuntimeError: test_resource[resource] (aws-parallelcluster-tests::test_resource line 30) had an error: RuntimeError: lustre[test] (aws-parallelcluster-tests::test_resource line 8) had an error: RuntimeError: FSx for Lustre is not supported in kernel version 4.18.0-425.13.1.el8_7.x86_64 of RHEL 8.7, please update the kernel version ``` Signed-off-by: Enrico Usai <[email protected]>
- Loading branch information