Skip to content

Commit

Permalink
[Storage][IsolatedRegions] Adapt FSxLustre DNS domain for US isolated…
Browse files Browse the repository at this point in the history
… regions.

Signed-off-by: Giacomo Marciani <[email protected]>
  • Loading branch information
gmarciani committed May 24, 2024
1 parent 4cf6421 commit 7758a1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This file is used to list changes made in each version of the AWS ParallelCluste

**ENHANCEMENTS**
- Add support for external Slurmdbd.
- Add support for FSx Lustre in US isolated regions.

**CHANGES**
- Upgrade Cinc Client to version to 18.4.12 from 18.2.7.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ def initialize(node, resource, index)

if @dns_name.blank?
# Region Building Note: DNS names have the default AWS domain (amazonaws.com) also in China and GovCloud.
@dns_name = "#{@id}.fsx.#{node['cluster']['region']}.amazonaws.com"
domain = aws_region.start_with?("us-iso") ? aws_domain : CLASSIC_AWS_DOMAIN
@dns_name = "#{@id}.fsx.#{node['cluster']['region']}.#{domain}"
end

@mount_name = resource.fsx_mount_name_array[index]
Expand Down

0 comments on commit 7758a1c

Please sign in to comment.