← Back to issue list

lxd: LXD not installed when using remote

View original Github issue

Metadata

Project
snapcraft
Number
#1516
Type
pull request
State
merged
Author
kalikiana
Labels
—
Created
Updated
Closed

Current evaluation

Merged as commit 5f8b122e4, fixing incorrect lxc installation checks for LXD remotes and completing related test-scenario handling.

Resolution: closed resolved

Reason: PR snapcraft#1516 was merged in commit 5f8b122e4. The change corrects lxc detection when Snapcraft uses a remote LXD instance.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Whilst looking to simplify tests and add a new one more easily, I fixed the incomplete use of scenarios and an unexpected failure unveiled a bug. When using a LXD remote, we don't correctly check if lxc is installed.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged as commit 5f8b122e4, fixing incorrect lxc installation checks for LXD remotes and completing related test-scenario handling.
stealth/space-bunny-alpha — closed resolved Merged PR #1516 (commit 5f8b122e4) fixed the LXD plugin to correctly check whether lxc is installed when a LXD remote is used, and completed test scenario handling. Approved by 2 reviewers, 0 unresolved comments.
stealth/space-bunny-alpha — closed resolved Merged PR #1516 fixed incorrect lxc installation checks for LXD remotes and completed test scenario handling (commit 5f8b122e4).
qwen/qwen3.6-35b-a3b — — Merged fix for a bug where lxc installation was not correctly verified when using a LXD remote. Also corrected incomplete test scenario usage. Approved by two reviewers, modified two files.
qwen3.6-35b-a3b-mtp-q6 — — Merged a fix for an incorrect LXD installation check when using a remote. The update also corrected incomplete scenario usage in tests, ensuring proper lxc validation during remote operations.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#863 Fix LXD integration test failures by configuring required remotes craft-providers closed PR #863 was closed unmerged after its LXD remote fixture in commit 6c22337 still failed Linux integration and CLA checks; no main-branch resolution was found.
74%
#1916 lxd: initialize remote lazily snapcraft merged Merged PR #1916 as dd4404843, deferring LXD remote initialization until needed so clean operations no longer probe or start an unnecessary remote.
72%
#1866 lxd: setup LXD remote for multipass snapcraft closed Closed unmerged; its Multipass/LXD remote setup was replaced by #1916 (commit dd4404843), which reworked remote initialization to occur lazily.
72%
#318 lxd(remotes): fix deprecation warnings craft-providers merged Merged PR #318 corrected the configure_buildd_image_remote deprecation warning so its replacement advice was accurate, resolving #260.
72%
#36 lxd: introduce installation support craft-providers merged Merged PR #36 added LXD installation support, including installer logic and tests; implementation commit aab8fd0 was merged via 1a1212c.
71%
#57 lxd launcher: enable configuration of project & remote (CRAFT-304) craft-providers merged Merged PR #57 added configurable LXD project and remote support, with updated unit tests and new integration coverage; implemented in commit b420280.
70%