aws-samples / pcluster-manager

Manage AWS ParallelCluster through an easy to use web interface
https://pcluster.cloud
Apache License 2.0
65 stars 27 forks source link

Ubuntu 20.04 cluster - shell error #96

Open nyue opened 2 years ago

nyue commented 2 years ago

I created an Ubuntu 20.04 compute node cluster

When I shell (using the web ui) into the head node, I get the following errors

if [ -d '/opt/parallelcluster' ]; then source /opt/parallelcluster/cfnconfig; sudo su - $cfn_cluster_user; fi; /bin/bash
$ sh: 1: source: not found

Manually ssh into the headnode is fine.

Cheers

sean-smith commented 2 years ago

yes this is an issue with how Ubuntu does source.

For SSM to work all you need to do is:

sudo su - ubuntu

Let's leave this open until it's fixed.