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
826 stars 312 forks source link

Limit node version #5444

Open biocyberman opened 1 year ago

biocyberman commented 1 year ago

I tested pcluster cli version 3.6.0 with node v18.16.1 (npm v9.5.1) and got the following error:

pcluster create-cluster --cluster-configuration config.yaml --cluster-name cluster-name --region us-east-2
{
  "message": "Cannot read properties of undefined (reading 'metadata')"

The guide already has a fix but I overlooked it: https://docs.aws.amazon.com/parallelcluster/latest/ug/install-v3-virtual-environment.html by doing: nvm install --lts=Gallium I took quite sometime until I get back to that fix thanks to the hunch that the message is due to wrong node version. So, it would be better to point out a specific range of compatible node versions.

enrico-usai commented 1 year ago

Hi @biocyberman thanks for pointing this out.

Let me mark it as Feature Enhancement, for sure we can improve the user experience here.