-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add EFS access point support (aws-parallelcluster#2337) #2779
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: Thomas Heinen <t.heinen@reply.de>
cookbooks/aws-parallelcluster-environment/recipes/config/efs.rb
Outdated
Show resolved
Hide resolved
|
||
# Path needs to be fully qualified, for example "shared/temp" becomes "/shared/temp" | ||
efs_shared_dir = "/#{efs_shared_dir}" unless efs_shared_dir.start_with?('/') | ||
|
||
# See reference of mount options: https://docs.aws.amazon.com/efs/latest/ug/automount-with-efs-mount-helper.html | ||
mount_options = "_netdev,noresvport" | ||
if efs_encryption_in_transit == "true" | ||
if efs_accesspoint_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be covered in the unit test.
Example: https://github.com/aws/aws-parallelcluster-cookbook/blob/develop/cookbooks/aws-parallelcluster-environment/spec/unit/resources/efs_spec.rb#L295
cookbooks/aws-parallelcluster-environment/resources/efs/partial/_mount_umount.rb
Outdated
Show resolved
Hide resolved
cookbooks/aws-parallelcluster-environment/attributes/environment.rb
Outdated
Show resolved
Hide resolved
Hi @thheinen, Made a first round of review and unblocked PR checks. |
cookbooks/aws-parallelcluster-environment/attributes/environment.rb
Outdated
Show resolved
Hide resolved
Signed-off-by: Thomas Heinen <t.heinen@reply.de>
aws-parallelcluster-cookbook CHANGELOG | ||
====================================== | ||
|
||
This file is used to list changes made in each version of the AWS ParallelCluster cookbook. | ||
|
||
3.11.0 | ||
------ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this whole file changed?
LGTM! It can be merged when the CLI changes are ready! |
Description of changes
Add support to specify EFS access points per issue aws/aws-parallelcluster#2337
Tests
Tested mounting EFS with and without accesspoints from an aws-parallelcluster cluster.
More tests to be done but opening a draft PR for discussion and early feedback
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.