Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ This file is used to list changes made in each version of the AWS ParallelCluste
------
**ENHANCEMENTS**
- Add support for Ubuntu 24.04.
Notice that ParallelCluster official AMI for Ubuntu 24.04 does not support Lustre.
- Disable unused services like cups and wpa_supplicant from Official ParallelCluster AMIs to improve security.

**CHANGES**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and limitations under the License.

action :setup do
return if node['platform_version'].to_i == 24
apt_repository 'fsxlustreclientrepo' do
uri "https://fsx-lustre-client-repo.s3.amazonaws.com/ubuntu"
components ['main']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
end
end

if os_properties.redhat? && inspec.os.release.to_f >= 8.2 && !os_properties.on_docker? && !os_properties.ubuntu2404?
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"))
Expand Down Expand Up @@ -55,7 +55,7 @@
end
end

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

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

control 'lustre_mounted' do
only_if { !os_properties.on_docker? && !os_properties.ubuntu2404? }
only_if { !os_properties.on_docker? }
describe mount('/shared_dir') do
it { should be_mounted }
its('type') { should eq 'lustre' }
end
end

control 'lustre_unmounted' do
only_if { !os_properties.on_docker? && !os_properties.ubuntu2404? }
only_if { !os_properties.on_docker? }

describe mount('/shared_dir') do
it { should_not be_mounted }
Expand Down
Loading