File tree Expand file tree Collapse file tree 4 files changed +25
-20
lines changed
cookbooks/aws-parallelcluster-environment/resources/lustre Expand file tree Collapse file tree 4 files changed +25
-20
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,14 @@ This file is used to list changes made in each version of the AWS ParallelCluste
3131- Upgrade Intel MPI Library to 2021.12.1.8 (from 2021.9.0.43482).
3232
3333** BUG FIXES**
34- - Fixed an issue that prevented cluster updates from including EFS filesystems with encryption in transit.
35- - Fixed an issue that prevented slurmctld and slurmdbd services from restarting on head node reboot when
34+ - Fix an issue that prevented cluster updates from including EFS filesystems with encryption in transit.
35+ - Fix an issue that prevented slurmctld and slurmdbd services from restarting on head node reboot when
3636 EFS is used for shared internal data.
3737- On Ubuntu systems, remove default logrotate configuration for cloud-init log files that clashed with the
3838 configuration coming from Parallelcluster.
3939- Removing ` /etc/profile.d/pcluster.sh ` so that it's not executed at every user login and
4040 ` cfn_bootstrap_virtualenv ` is not added in PATH environment variable.
41+ - Fix image build failure with RHEL 8.10 or newer.
4142
42433.9.3
4344------
Original file line number Diff line number Diff line change 2626action :setup do
2727 version = node [ 'platform_version' ]
2828 log "Installing FSx for Lustre. Platform version: #{ version } , kernel version: #{ node [ 'cluster' ] [ 'kernel_release' ] } "
29- if version . to_f < 8.2
30- raise "FSx for Lustre is not supported in this RHEL version #{ version } , supported versions are >= 8.2"
31- elsif version . to_f == 8.7 && ( node [ 'cluster' ] [ 'kernel_release' ] . include? ( "4.18.0-425.3.1.el8" ) || node [ 'cluster' ] [ 'kernel_release' ] . include? ( "4.18.0-425.13.1.el8_7" ) )
32- # Rhel8.7 kernel 4.18.0-425.3.1.el8 and 4.18.0-425.13.1.el8_7 has broken kABI compat
33- # See https://access.redhat.com/solutions/6985596 and https://github.com/openzfs/zfs/issues/14724
34- raise "FSx for Lustre is not supported in kernel version #{ node [ 'cluster' ] [ 'kernel_release' ] } of RHEL #{ version } , please update the kernel version"
35- else
36- action_install_lustre
29+ if version . length == 3 # If version is 8.10 or more, this block is skipped
30+ if version . to_f < 8.2
31+ raise "FSx for Lustre is not supported in this RHEL version #{ version } , supported versions are >= 8.2"
32+ elsif version . to_f == 8.7 && ( node [ 'cluster' ] [ 'kernel_release' ] . include? ( "4.18.0-425.3.1.el8" ) || node [ 'cluster' ] [ 'kernel_release' ] . include? ( "4.18.0-425.13.1.el8_7" ) )
33+ # Rhel8.7 kernel 4.18.0-425.3.1.el8 and 4.18.0-425.13.1.el8_7 has broken kABI compat
34+ # See https://access.redhat.com/solutions/6985596 and https://github.com/openzfs/zfs/issues/14724
35+ raise "FSx for Lustre is not supported in kernel version #{ node [ 'cluster' ] [ 'kernel_release' ] } of RHEL #{ version } , please update the kernel version"
36+ else
37+ action_install_lustre
38+ end
3739 end
3840end
3941
Original file line number Diff line number Diff line change 2626action :setup do
2727 version = node [ 'platform_version' ]
2828 log "Installing FSx for Lustre. Platform version: #{ version } , kernel version: #{ node [ 'cluster' ] [ 'kernel_release' ] } "
29- if version . to_f < 8.2
30- raise "FSx for Lustre is not supported in this Rocky Linux version #{ version } , supported versions are >= 8.2"
31- elsif version . to_f == 8.7 && ( node [ 'cluster' ] [ 'kernel_release' ] . include? ( "4.18.0-425.3.1.el8" ) || node [ 'cluster' ] [ 'kernel_release' ] . include? ( "4.18.0-425.13.1.el8_7" ) )
32- # Rhel8.7 kernel 4.18.0-425.3.1.el8 and 4.18.0-425.13.1.el8_7 has broken kABI compat
33- # See https://access.redhat.com/solutions/6985596 and https://github.com/openzfs/zfs/issues/14724
34- raise "FSx for Lustre is not supported in kernel version #{ node [ 'cluster' ] [ 'kernel_release' ] } of Rocky Linux #{ version } , please update the kernel version"
35- else
36- action_install_lustre
29+ if version . length == 3 # If version is 8.10 or more, this block is skipped
30+ if version . to_f < 8.2
31+ raise "FSx for Lustre is not supported in this Rocky Linux version #{ version } , supported versions are >= 8.2"
32+ elsif version . to_f == 8.7 && ( node [ 'cluster' ] [ 'kernel_release' ] . include? ( "4.18.0-425.3.1.el8" ) || node [ 'cluster' ] [ 'kernel_release' ] . include? ( "4.18.0-425.13.1.el8_7" ) )
33+ # Rhel8.7 kernel 4.18.0-425.3.1.el8 and 4.18.0-425.13.1.el8_7 has broken kABI compat
34+ # See https://access.redhat.com/solutions/6985596 and https://github.com/openzfs/zfs/issues/14724
35+ raise "FSx for Lustre is not supported in kernel version #{ node [ 'cluster' ] [ 'kernel_release' ] } of Rocky Linux #{ version } , please update the kernel version"
36+ else
37+ action_install_lustre
38+ end
3739 end
3840end
3941
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ platforms:
7070 kernel_release : ' 5.15.0-1028-aws'
7171 - name : rhel8
7272 driver :
73- image : <% if ENV['KITCHEN_RHEL8_IMAGE'] %> <%= ENV['KITCHEN_RHEL8_IMAGE'] %> <% else %> registry.access.redhat.com/ubi8/ubi:8.9 <% end %>
73+ image : <% if ENV['KITCHEN_RHEL8_IMAGE'] %> <%= ENV['KITCHEN_RHEL8_IMAGE'] %> <% else %> registry.access.redhat.com/ubi8/ubi <% end %>
7474 intermediate_instructions :
7575 - RUN chmod +t /tmp
7676 attributes :
@@ -81,7 +81,7 @@ platforms:
8181 kernel_release : ' 4.18.0-477.13.1.el8_7.fake-value' # Use 477 version to match 8.8 kernel version available on docker
8282 - name : rocky8
8383 driver :
84- image : <% if ENV['KITCHEN_ROCKY8_IMAGE'] %> <%= ENV['KITCHEN_ROCKY8_IMAGE'] %> <% else %> dokken/rockylinux-8:sha-f885abd <% end %>
84+ image : <% if ENV['KITCHEN_ROCKY8_IMAGE'] %> <%= ENV['KITCHEN_ROCKY8_IMAGE'] %> <% else %> dokken/rockylinux-8 <% end %>
8585 attributes :
8686 cluster :
8787 base_os : rocky8
You can’t perform that action at this time.
0 commit comments