← Back to issue list

fix: upgrade LXD to an existing channel

View original Github issue

Metadata

Project
craft-actions
Number
#7
Type
pull request
State
merged
Author
cjdcordeiro
Labels
Created
Updated
Closed

Current evaluation

Merged following approval and CI checks. Updated the rockcraft action to use the latest/stable LXD channel, replacing the unavailable 5.9/stable version to align with upstream Rockcraft.

Suggested action:

No scores available.

Issue body

fixes https://github.com/canonical/craft-actions/issues/6. LXD is no longer available in 5.9/stable, so this PR is making the rockcraft action use the same LXD channel as the one used in the source [Rockcraft project](https://github.com/canonical/rockcraft/blob/main/spread.yaml#LL66C30-L66C43) - `latest/stable`.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged following approval and CI checks. Updated the rockcraft action to use the latest/stable LXD channel, replacing the unavailable 5.9/stable version to align with upstream Rockcraft.
qwen3.6-35b-a3b-mtp-q6 Merged. Updated the rockcraft action to use the latest/stable LXD channel instead of the unavailable 5.9/stable channel, resolving issue #6 and aligning with the upstream Rockcraft configuration.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#27 fix: use lxd from "5.21/stable" craft-actions merged Merged a fix switching the LXD channel from latest/stable to 5.21/stable. This resolves Rockcraft overlay compatibility issues and aligns with the recommended LTS release. Approved by two reviewers with a three-file change.
89%
#58 fix: configure lxd for pro builds in stable craft-actions merged Merged fix configuring LXD with a Pro token for stable builds, enabling successful rockcraft pro testing. Approved by two reviewers, passed all CI checks, and implemented by external contributor alesancor1.
73%
#6 Issues installing LXD craft-actions closed Fixed by switching the LXD snap channel from 5.9/stable to a valid release track. Resolution merged in canonical/craft-actions#7.
73%
#178 `rockcraft` crashes at the `update apt cache` step rockcraft open Rockcraft fails at 'update apt cache' on GitHub ubuntu-22.04 runners due to Docker iptables rules blocking LXD container networking. Maintainers identified the root cause and pointed to canonical/setup-lxd or rockcraft-pack actions as the fix. Reporter acknowledged the solution in Jan 2023. No labels, no activity since.
73%
#195 LXD 5.0 fails to build rocks on Ubuntu 22.04 rockcraft closed LXD 5.0 caused rockcraft pack failures due to shared mount propagation breaking fuse-overlayfs. The issue was resolved by applying mount --make-rprivate to prevent unmount propagation. Fix verified and closed after Rockcraft integration.
72%