-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid to fail when building RHEL8.7 AMI with kernel not supported by …
…Lustre The latest RHEL8.7 kernel 4.18.0-425.19.2.el8_7 introduced a kABI regression, causing Lustre to re-release the client compiled for this latest version. This change means that this same client will not modprobe for kernel 4.18.0-425.13.1.el8_7. With this patch we're skipping Lustre installation and printing a warning in the log, like we did for 4.18.0-425.3.1.el8 that has a similar issue. ### Tests EC2: ``` # RHEL-8.7.0_HVM-20230330-x86_64-56-Hourly2-GP2 in eu-west-1 # with kernel 4.18.0-425.13.1.el8_7 export KITCHEN_RHEL8_AMI=ami-0fa2f7b35eeb82b7a bash kitchen.ec2.sh environment-install test lustre-rhel8 ``` Before the patch: this test was failing on converge phase, After the patch: converge is passing and printing the following WARN message: ``` WARN: 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 ``` Docker: ``` bash kitchen.docker.sh environment-install test lustre-rhel8 ``` This test passes because in docker we have RHEL 8.8 with a fake value for kernel version and we're skipping modprobe command. Use 477 version in the kernel release test variable to match 8.8 kernel version available on docker. ### References * 4.18.0-425.3.1 issue: https://access.redhat.com/solutions/6985596 * 4.18.0-425.19.2 issue: openzfs/zfs#14724 Signed-off-by: Enrico Usai <[email protected]>
- Loading branch information
1 parent
878e6d0
commit 94e3f07
Showing
4 changed files
with
88 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters