aws / aws/aws-parallelcluster

EFS Home from a second account

Open
#6,862 0 comments 0 reactions 0 assignees View on GitHub
Feature Request
Dominant language
Python
Stars
888
Forks
314
Avg merge
1d 10h
Merged PRs (30d)
43

Description

I need to mount a home directory that is in another account. When I use the FilesystemId, pcluster indicates that the Id is unknown; likely because its in another account.

Other things I've tried:
I have written a OnNodeConfigured script that adds an fstab entry that mounts the filesystem using a mountpoint we have created. When I mount this to /h, the cluster provisions successfully and can run jobs but users don't have their login home at /home. When I mount this directory to /home, the cluster complains that the /home directory can not be mounted by the compute nodes when I submit a job.

In the OnNodeConfigured script I also tried removing the export from the head node's /etc/exports and the pre-existing /home mount from the /etc/fstab files on the compute nodes. The cfn-init process then fails.

In all cases the cluster and compute nodes successfully mount the EFS filesystem that its in the other account so I think network/vpc/security group permissions are set up ok.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the cross-account EFS setup described for pcluster, including the FilesystemId and OnNodeConfigured paths. Compare the resulting /etc/exports and /etc/fstab behavior on the head and compute nodes; done means users receive the EFS-backed /home directory and jobs submit successfully without cfn-init failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.