Skip to content
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

nodejs is unsupported version in setup.sh #279

Open
gwolski opened this issue Nov 3, 2024 · 2 comments
Open

nodejs is unsupported version in setup.sh #279

gwolski opened this issue Nov 3, 2024 · 2 comments

Comments

@gwolski
Copy link

gwolski commented Nov 3, 2024

I have been using nodejs version 18.20.2 to deploy parallecluster 3.9.1 and 3.11.1 but have been failing to get 3.10.1 deployed due to error messages in my CreateParallelClusterConfig cloudwatch log about not finding rpds.rpds:


timestamp message
1730586652150 INIT_START Runtime Version: python:3.12.v36 Runtime Version ARN: arn:aws:lambda:us-west-2::runtime:188d9ca2e2714ff5637bd2bbe06ceb81ec3bc408a0f277dab104c14cd814b081
1730586653191 [ERROR] Runtime.ImportModuleError: Unable to import module 'CreateParallelClusterConfig': No module named 'rpds.rpds' Traceback (most recent call last):
1730586653254 INIT_REPORT Init Duration: 1104.83 ms Phase: init Status: error Error Type: Runtime.ImportModuleError
1730586654186 [ERROR] Runtime.ImportModuleError: Unable to import module 'CreateParallelClusterConfig': No module named 'rpds.rpds' Traceback (most recent call last):
1730586654254 INIT_REPORT Init Duration: 987.82 ms Phase: invoke Status: error Error Type: Runtime.ImportModuleError
1730586654254 START RequestId: a3c4f82f-22c2-4a64-b5d8-b8e1139b5f3d Version: $LATEST
1730586654263 END RequestId: a3c4f82f-22c2-4a64-b5d8-b8e1139b5f3d
1730586654263 REPORT RequestId: a3c4f82f-22c2-4a64-b5d8-b8e1139b5f3d Duration: 997.06 ms Billed Duration: 998 ms Memory Size: 2048 MB Max Memory Used: 80 MB Status: error Error Type: Runtime.ImportModuleError
1730586718310 [ERROR] Runtime.ImportModuleError: Unable to import module 'CreateParallelClusterConfig': No module named 'rpds.rpds' Traceback (most recent call last):
1730586718372 INIT_REPORT Init Duration: 966.83 ms Phase: invoke Status: error Error Type: Runtime.ImportModuleError
1730586718372 START RequestId: a3c4f82f-22c2-4a64-b5d8-b8e1139b5f3d Version: $LATEST
1730586718382 END RequestId: a3c4f82f-22c2-4a64-b5d8-b8e1139b5f3d
1730586718382 REPORT RequestId: a3c4f82f-22c2-4a64-b5d8-b8e1139b5f3d Duration: 976.10 ms Billed Duration: 977 ms Memory Size: 2048 MB Max Memory Used: 80 MB Status: error Error Type: Runtime.ImportModuleError
1730586846454 [ERROR] Runtime.ImportModuleError: Unable to import module 'CreateParallelClusterConfig': No module named 'rpds.rpds' Traceback (most recent call last):
1730586846522 INIT_REPORT Init Duration: 987.50 ms Phase: invoke Status: error Error Type: Runtime.ImportModuleError
1730586846522 START RequestId: a3c4f82f-22c2-4a64-b5d8-b8e1139b5f3d Version: $LATEST
1730586846532 END RequestId: a3c4f82f-22c2-4a64-b5d8-b8e1139b5f3d
1730586846532 REPORT RequestId: a3c4f82f-22c2-4a64-b5d8-b8e1139b5f3d Duration: 996.60 ms Billed Duration: 997 ms Memory Size: 2048 MB Max Memory Used: 80 MB Status: error Error Type: Runtime.ImportModuleError

Thinking this might be an issue with me moving forward with different versions of nodejs (18.20.2) and CDK (2.130.0 or 2.165.0) I've reverted back to original setup.sh. I get big warning messages during deployment:--------------------------------------------

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! !!
!! Node 16 has reached end-of-life on 2023-09-11 and is not supported. !!
!! Please upgrade to a supported node version as soon as possible. !!
!! !!
!! This software is currently running on node v16.20.2. !!
!! As of the current release of this software, supported node releases are: !!
!! - ^20.0.0 (Planned end-of-life: 2026-04-30) !!
!! - ^18.0.0 (Planned end-of-life: 2025-04-30) !!
!! !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

This is very disconcerting. Should/Can this not be moved forward?

I'm still debugging why I can't a 3.10.1 cluster deployed. I've done a clean pull, deploying a 3.10.1 custom AMI. Will then try 3.11.1 again to prove it still works with 3.11.1.

@cartalla
Copy link
Contributor

cartalla commented Nov 5, 2024

Issue #280 was the root cause of why you weren't able to deploy.
It wasn't related to the nodejs or CDK version.

@gwolski
Copy link
Author

gwolski commented Nov 6, 2024

Understood it isn't related to my issue, but having big red warnings pop up while doing the build would be disconcerting to noobies - it was for me originally, hence that is why I moved forward.

I'm just suggesting you make the move forward. I have successfully used nodejs 18.20.2 and CDK 2.130.0. But I just don't know enough if that is "safe" and the right thing to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants