← Back to issue list

Launching an instance on an unknown Ubuntu host crashes.

View original Github issue

Metadata

Project
craft-providers
Number
#846
Type
issue
State
closed
Author
bepri
Labels
Status: Triaged
Created
Updated
Closed

Current evaluation

Fixed in craft-providers 2.3.0: PR #852 (commit 2707796) makes unknown Ubuntu host versions log a warning instead of crashing compatibility checks.

Resolution: closed resolved

Reason: PR #852 was merged as commit 2707796, adding handling for unrecognized Ubuntu versions; the maintainer confirmed the fix was available in 2.3.0, and the reporter verified Ubuntu 26.04 builds on edge.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description A build instance cannot be launched when executing a build on a Resolute host system. I believe the fix is just adding it to this enum: https://github.com/canonical/craft-providers/blob/e05abf73c61d41fc2f8673f63eef8e83b9e19cb3/craft_providers/bases/ubuntu.py#L56 ### To Reproduce Try to build anything on 26.04 ### part yaml ```shell ``` ### Relevant log output ```shell https://pastebin.com/raw/VrWjKx7b ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed in craft-providers 2.3.0: PR #852 (commit 2707796) makes unknown Ubuntu host versions log a warning instead of crashing compatibility checks.
qwen/qwen3.6-35b-a3b — closed resolved Fixed in craft-providers 2.3.0 by catching missing BuilddBaseAlias for unknown host versions and logging a warning instead of crashing.

Update history

Date Change
created

Related work

  • Likely Fixed By: craft-providers#852 (confidence 100%)

    Commit 2707796 skips guest compatibility checks with a warning when the host Ubuntu version is unknown.

Related issues

Issue Project State Summary Similarity
#852 fix(bases): ignore unknown Ubuntu versions in bases check. craft-providers merged Merged PR #852 (commit 2707796), fixing launch crashes on unknown Ubuntu hosts by ignoring unsupported bases; the fix shipped in craft-providers 2.3.0.
71%