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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ This file is used to list changes made in each version of the AWS ParallelCluste
- Remove generation of DSA keys for login nodes as DSA, which became unsupported in OpenSSH 9.7+.
- Set instance ID and instance type information in Slurm upon compute nodes launch.
- Install NVIDIA drivers without the option 'no-cc-version-check', which is now deprecated in the NVIDIA installer.
- Reduce RHEL/Rocky Linux boot time by the following network customization:
- Configuring higher priority to IPv4 than IPv6
- Disabling Internet connectivity check
- Configuring only IPv4 IMDS endpoint to cloud-init

**BUG FIXES**
- Remove usage of cfn-init for compute node bootstrapping to reduce node scale-up time.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
datasource:
Ec2:
metadata_urls: [ 'http://169.254.169.254' ]
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
plugins = ifcfg-rh,
dhcp = dhclient

[connection]
ipv4.route-metric=100
ipv6.route-metric=200

[connectivity]
enabled=false

[logging]
# When debugging NetworkManager, enabling debug logging is of great help.
#
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
datasource:
Ec2:
metadata_urls: [ 'http://169.254.169.254' ]
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
plugins = ifcfg-rh,
dhcp = dhclient

[connection]
ipv4.route-metric=100
ipv6.route-metric=200

[connectivity]
enabled=false

[logging]
# When debugging NetworkManager, enabling debug logging is of great help.
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@
mode '0644'
end

# Disable ipv6 IMDS in cloud init to speed up
cookbook_file '99-disable-ipv6-metadata.cfg' do
path '/etc/cloud/cloud.cfg.d/99-disable-ipv6-metadata.cfg'
source 'dns_domain/99-disable-ipv6-metadata.cfg'
cookbook 'aws-parallelcluster-slurm'
user 'root'
group 'root'
mode '0644'
end

action_update_search_domain
network_service 'Restart network service'
end
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@
mode '0644'
end

# Disable ipv6 IMDS in cloud init to speed up
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add tests for these?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, can we add unit tests in a separate PR?

cookbook_file '99-disable-ipv6-metadata.cfg' do
path '/etc/cloud/cloud.cfg.d/99-disable-ipv6-metadata.cfg'
source 'dns_domain/99-disable-ipv6-metadata.cfg'
cookbook 'aws-parallelcluster-slurm'
user 'root'
group 'root'
mode '0644'
end

action_update_search_domain
network_service 'Restart network service'
end
Loading