LXDProvider.launched_environment() fails on Fedora 39
Metadata
Current evaluation
Fedora 39 hosts crashed in LXDProvider.launched_environment() because ensure_guest_compatible() parsed VERSION_ID as a BuilddBaseAlias. Fixed by PR #762 (commit 789c32e), which skips LXD compat checks on non-Ubuntu hosts.
Resolution: closed resolved
Reason: Maintainer tigarmo closed the issue with 'Fixed in #762'; PR #762 'fix: only do LXD compat checks on Ubuntu' was merged as commit 789c32e, adding an early return in craft_providers/bases/checks.py when the host os-release ID is not 'ubuntu'. The regression had been introduced by merged PR #720 (craft-providers 2.3.0) and tracked internally as CRAFT-4565.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fedora 39 hosts crashed in LXDProvider.launched_environment() because ensure_guest_compatible() parsed VERSION_ID as a BuilddBaseAlias. Fixed by PR #762 (commit 789c32e), which skips LXD compat checks on non-Ubuntu hosts. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Fixed in #762 by handling non-Ubuntu host OS releases (like Fedora 39) in ensure_guest_compatible(), resolving the ValueError when parsing VERSION_ID. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/craft-providers#762
(confidence 99%)
Merged PR 'fix: only do LXD compat checks on Ubuntu' (commit 789c32e); cited by the maintainer in the closing comment.
-
Caused By:
canonical/craft-providers#720
(confidence 90%)
Merged feature PR adding ensure_guest_compatible() checks, shipped in craft-providers 2.3.0; identified by mr-cal as the source of the regression.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #762 fix: only do LXD compat checks on Ubuntu | craft-providers | merged | Merged PR #762 as commit 789c32e, limiting LXD guest compatibility checks to Ubuntu and fixing Fedora 39 launched_environment failures (#753). |