`cml runner launch` stopped working for GCP

Open
#1,494 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
gcp, terraform, ubuntu
Domain
cli, cloud, devops

Research direction

Start by reproducing cml runner launch for GCP and inspect the Terraform configuration or entry point that selects the Ubuntu machine image. Verify which supported Ubuntu image is available in GCP, then confirm that launching a runner succeeds with the updated image selection.

Written by the indexing model from the issue text.

Description

Since this week, we have been unable to launch GCP runners using cml runner launch, and we suspect the following error might be the root cause:

***"level":"error","message":"terraform error: Error: Failed creating the machine: googleapi: Error 404: The resource 'projects/ubuntu-os-cloud/global/images/family/ubuntu-2004-lts' was not found, notFound"***

Ubuntu 20.04 LTS has reached end of support in May, and is therefore likely no longer available as a machine image in GCP.

Is there something we can do as a quick fix to force the use of 22.04 LTS or 24.04 LTS machine images?

Dominant language
JavaScript
Stars
4.2k
Forks
345
PR merge metrics
No merged PRs in 30d

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from iterative/cml

All issues in iterative/cml

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.