CML runner launch command not working
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- gcp, github-actions, terraform, typescript
Research direction
Reproduce the cml runner launch command with the provided GitHub Actions configuration and inspect the serial-console output. Start with cml/src/utils.js, which appears in the stack trace, and investigate the reported Terraform version failure; done means the provisioned GCP VM starts the CML service instead of being terminated.
Written by the indexing model from the issue text.
Description
Since beginning of this week, the cml runner launch command is failing to provision a VM.
The VM provisioning works, but the service is unable to start the VM gets terminated.
jobs:
deploy-runner:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: iterative/setup-cml@v2
- name: deploy runner
env:
GOOGLE_APPLICATION_CREDENTIALS_DATA: ${{ secrets.CML_AI_GCLOUD_SERVICE_ACCOUNT_KEY }}
run: |
cml runner launch --cloud=gcp --cloud-type=g2-standard-16+nvidia-l4*1 --name=test-name --labels="val,bk0000,L4" --token=${{ secrets.CML_GITHUB_TOKEN }} --repo=https://github.com/***/**.git --cloud-hdd-size=200 --idle-timeout=1200 --log=debug --cloud-region=us-central1-a
Some logs from the serial console
cml.sh[39067]: {"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)"}
Jun 12 08:50:32 cml-test-name-mqmvh9j6-5383uaw2 systemd[1]: cml.service: Main process exited, code=exited, status=1/FAILURE
Jun 12 08:50:32 cml-test-name-mqmvh9j6-5383uaw2 systemd[1]: cml.service: Failed with result 'exit-code'.
Would there be a fix for this issue? Or shoudl we use our own startup scripts?
Any suggestions are much appreciated
- Dominant language
- TypeScript
- Stars
- 34
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from iterative/setup-cml
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Add License?May be free again @casperdcl claimed this 1897 days ago, and no pull request is open. Open
All issues in iterative/setup-cml
Similar issues
-
clawsweeper:intake:bug clawsweeper:intake:needs-environment
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
openclaw/openclaw#212827 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
KT-2245 e2e specs that call the backend directly fall back to the developer's own Kronn on :3140Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Use one constant for the 10,000-character input limitPossibly taken @NginxL claimed this today. Opengood first issue refactor
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
aniru-dh21/snap-validate#51 ·
Maintainers usually reply within 1 day
-
dependencies effort: small good first issue priority: low
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
TMHSDigital/screencast-mcp#509 ·
Maintainers usually reply within 1 day
-
from-review tech-debt testing
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
blamechris/chroxy#9520 ·
Maintainers usually reply within 1 day