diff --git a/cookbooks/aws-parallelcluster-environment/resources/lustre/partial/_install_lustre_centos_redhat.rb b/cookbooks/aws-parallelcluster-environment/resources/lustre/partial/_install_lustre_centos_redhat.rb index ebcd4e4bf..f61f0c439 100644 --- a/cookbooks/aws-parallelcluster-environment/resources/lustre/partial/_install_lustre_centos_redhat.rb +++ b/cookbooks/aws-parallelcluster-environment/resources/lustre/partial/_install_lustre_centos_redhat.rb @@ -28,10 +28,12 @@ command "yum-config-manager --setopt=\*.skip_if_unavailable=1 --save" end + # TODO: restore installation on docker when Lustre is available for RH8.9 + # See: https://docs.aws.amazon.com/fsx/latest/LustreGuide/install-lustre-client.html package %w(kmod-lustre-client lustre-client dracut) do retries 3 retry_delay 5 - end + end unless redhat_on_docker? || rocky_on_docker? kernel_module 'lnet' unless redhat_on_docker? || rocky_on_docker? end diff --git a/cookbooks/aws-parallelcluster-environment/test/controls/lustre_spec.rb b/cookbooks/aws-parallelcluster-environment/test/controls/lustre_spec.rb index 3b49305ef..febd78005 100644 --- a/cookbooks/aws-parallelcluster-environment/test/controls/lustre_spec.rb +++ b/cookbooks/aws-parallelcluster-environment/test/controls/lustre_spec.rb @@ -27,7 +27,9 @@ end end - if os_properties.redhat? && inspec.os.release.to_f >= 8.2 + if os_properties.redhat? && inspec.os.release.to_f >= 8.2 && !os_properties.on_docker? + # TODO: restore installation and check on docker when Lustre is available for RH8.9 + # See: https://docs.aws.amazon.com/fsx/latest/LustreGuide/install-lustre-client.html unless inspec.os.release.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")) describe package('kmod-lustre-client') do it { should be_installed }