You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for writing to us Sean!
So the experience on the click of the Shell button was something that we recently worked on, with #164 .
This will be available with next release of PCUI.
We took the decision to remove the SSM default substack because it risked breaking customers trust for the following reason: the SSM document used to perform the script you mentioned would customize the user experience for every single SSM session that the customer initiates in that region where PCUI is deployed.
With our customers interests at heart, since there is no way as of today to specify a different SSM document to customize the SSM shell expeirience (the only way possible is through the 'SSM-SessionManagerRunShell' document), we decided to remove the SSMSessionProfile-cfn.yaml substack and let the Shell user be the default one, which is: the user gets logged in as ssm-user, which the predictable default for SSM shell session.
This way we don't interfere with what customers may already have had in their account for the region in which PCUI is deployed.
As a suggestion, you can create (or update) the SSM document named SSM-SessionManagerRunShell to perform all the needed operations/scripts to customize your Shell experience just by running from the CLI (assuming you have AWS CLI v2 and valid IAM credentials in you local shell, and assuming you have an existing SSM-SessionManagerRunShell document in your region of choice):
Description
When using the "Shell" button on ubuntu the user doesn't get switched to
ubuntu
.Here's the output from SSM shell:
This looks to be the problem: https://stackoverflow.com/questions/13702425/source-command-not-found-in-sh-shell
This causes job submission to fail as the
root
user isn't supposed to run slurm jobs. I think it can be fixed by updating the following line:aws-parallelcluster-ui/infrastructure/SSMSessionProfile-cfn.yaml
Line 30 in 1a6260a
/bin/bash
instead of/bin/dash
.The text was updated successfully, but these errors were encountered: