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

cml launch fails to start runners with terraform error #1479

Open
thatGreekGuy96 opened this issue Oct 1, 2024 · 1 comment
Open

cml launch fails to start runners with terraform error #1479

thatGreekGuy96 opened this issue Oct 1, 2024 · 1 comment

Comments

@thatGreekGuy96
Copy link

Hello,
I am getting the following error when trying to launch some runners with cml launch on github actions.

{"level":"error","message":"terraform,version\n\t\n\t","stack":"Error: terraform,version\n\t\n\t\n    at /snapshot/cml/src/utils.js:38:18\n    at exithandler (node:child_process:406:5)\n    at ChildProcess.errorhandler (node:child_process:418:5)\n    at ChildProcess.emit (node:events:527:28)\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)\n    at onErrorNT (node:internal/child_process:478:16)\n    at processTicksAndRejections (node:internal/process/task_queues:83:21)"}

The exact command i'm trying to run is:

 cml runner launch \
    --cloud=aws \
    --cloud-region=eu-west-2 \
    --cloud-type=m7i.large \
    --cloud-hdd-size 100 \

I am running cml version 0.20.4 and setting it up using the iterative/setup-cml@v3 action.

Thank you in advance!

@amrishparmar
Copy link

amrishparmar commented Oct 15, 2024

For anyone else who finds this issue we found that the problem may be related to some interaction with the latest Ubuntu version. We were using the default ubuntu-latest which now maps to 24.04. Explicitly setting this to 22.04 resulted in this error going away.

e.g.

jobs:
  deploy-runner:
    runs-on: ubuntu-22.04

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