Skip to content

Commit 57352fe

Browse files
himani2411Himani Anil Deshpande
andauthored
[Ubuntu24] Install Lustre client for Ubuntu24 (#2912)
Co-authored-by: Himani Anil Deshpande <[email protected]>
1 parent 52fae13 commit 57352fe

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ This file is used to list changes made in each version of the AWS ParallelCluste
77
------
88
**ENHANCEMENTS**
99
- Add support for Ubuntu 24.04.
10-
Notice that ParallelCluster official AMI for Ubuntu 24.04 does not support Lustre.
1110
- Disable unused services like cups and wpa_supplicant from Official ParallelCluster AMIs to improve security.
1211

1312
**CHANGES**

cookbooks/aws-parallelcluster-environment/resources/lustre/partial/_install_lustre_debian.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# See the License for the specific language governing permissions and limitations under the License.
1515

1616
action :setup do
17-
return if node['platform_version'].to_i == 24
1817
apt_repository 'fsxlustreclientrepo' do
1918
uri "https://fsx-lustre-client-repo.s3.amazonaws.com/ubuntu"
2019
components ['main']

cookbooks/aws-parallelcluster-environment/test/controls/lustre_spec.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
end
2828
end
2929

30-
if os_properties.redhat? && inspec.os.release.to_f >= 8.2 && !os_properties.on_docker? && !os_properties.ubuntu2404?
30+
if os_properties.redhat? && inspec.os.release.to_f >= 8.2 && !os_properties.on_docker?
3131
# TODO: restore installation and check on docker when Lustre is available for RH8.9
3232
# See: https://docs.aws.amazon.com/fsx/latest/LustreGuide/install-lustre-client.html
3333
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"))
@@ -55,7 +55,7 @@
5555
end
5656
end
5757

58-
if os_properties.debian_family? && !os_properties.ubuntu2404?
58+
if os_properties.debian_family?
5959
describe apt('https://fsx-lustre-client-repo.s3.amazonaws.com/ubuntu') do
6060
it { should exist }
6161
it { should be_enabled }
@@ -89,7 +89,7 @@
8989

9090
control 'tag:install_lustre_lnet_kernel_module_enabled' do
9191
title "Verify that lnet kernel module is enabled"
92-
only_if { !os_properties.on_docker? && !os_properties.alinux? && !os_properties.ubuntu2404? }
92+
only_if { !os_properties.on_docker? && !os_properties.alinux? }
9393
describe kernel_module("lnet") do
9494
it { should be_loaded }
9595
it { should_not be_disabled }
@@ -98,15 +98,15 @@
9898
end
9999

100100
control 'lustre_mounted' do
101-
only_if { !os_properties.on_docker? && !os_properties.ubuntu2404? }
101+
only_if { !os_properties.on_docker? }
102102
describe mount('/shared_dir') do
103103
it { should be_mounted }
104104
its('type') { should eq 'lustre' }
105105
end
106106
end
107107

108108
control 'lustre_unmounted' do
109-
only_if { !os_properties.on_docker? && !os_properties.ubuntu2404? }
109+
only_if { !os_properties.on_docker? }
110110

111111
describe mount('/shared_dir') do
112112
it { should_not be_mounted }

0 commit comments

Comments
 (0)