aws / aws-parallelcluster

AWS ParallelCluster is an AWS supported Open Source cluster management tool to deploy and manage HPC clusters in the AWS cloud.
https://github.com/aws/aws-parallelcluster
Apache License 2.0
830 stars 312 forks source link

EFS mount error in China region #1839

Closed Iwillsky closed 4 years ago

Iwillsky commented 4 years ago

Environment:

Additional context:

sudo sed -i "s/amazonaws.com/amazonaws.com.cn/g" /etc/chef/cookbooks/aws-parallelcluster/recipes/efs_mount.rb

Although we can point to a pre_install.sh including above code, we really hope this bug can be fixed to be adaptive to China region without region-sensitive.

Similar code is here FYR: s3_domain = "https://s3.#{node['cfncluster']['cfn_region']}.amazonaws.com" s3_domain = "#{s3_domain}.cn" if node['cfncluster']['cfn_region'].start_with?("cn-")

enrico-usai commented 4 years ago

Hi @Iwillsky thanks for pointing this out. It's definitely a bug.

lukeseawalker commented 4 years ago

Hi @Iwillsky, EFS support for China is targeted for next release.

Iwillsky commented 4 years ago

Thanks. It will be convenient to China customers. We ❤️ aws.

Iwillsky commented 4 years ago

Hi @lukeseawalker , We also found similar hard-coded url in fsx_mount.rb. It would be better if resolved together in the next release.

lukeseawalker commented 4 years ago

Hi @Iwillsky, it has been taken care by this PR https://github.com/aws/aws-parallelcluster-cookbook/pull/640 Thanks

lukeseawalker commented 4 years ago

AWS ParallelCluster 2.8.0 with EFS support in China has been released https://github.com/aws/aws-parallelcluster/releases/tag/v2.8.0