← Back to issue list

snapcraft lxd + snapd transition in progress

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1859469
Type
issue
State
closed
Author
~adam-collard
Labels
—
Created
Updated
Closed

Current evaluation

Fixed in newer Snapcraft releases; Snapcraft 3.9.4's LXD bootstrap could conflict with an in-progress snapd/core transition. Affected 3.9 systems could clear it with `snapcraft clean --use-lxd`.

Resolution: closed resolved

Reason: The final maintainer comment from @~mr-cal on 2026-07-23 states that newer Snapcraft versions fix the problem, although no fixing PR, commit, or release is identified. Maintainer @~sergiusens previously documented `snapcraft clean --use-lxd` as the workaround.

Evaluated by: mr-cal-bot

No scores available.

Issue body

$ snapcraft version snapcraft, version 3.9.4 $ snapcraft --use-lxd Launching a container. /snap/snapcraft/3888/lib/python3.6/site-packages/pylxd/models/_model.py:116: UserWarning: Attempted to set unknown attribute "type" on instance of "Container" key, self.__class__.__name__ Waiting for cloud-init ..................... status: done error: transition to snapd snap in progress, no other changes allowed until this is done An error occurred when trying to execute 'snap install --channel stable snapd' with 'LXD': returned exit code 10. Unable to reproduce using latest/stable (3.8)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed in newer Snapcraft releases; Snapcraft 3.9.4's LXD bootstrap could conflict with an in-progress snapd/core transition. Affected 3.9 systems could clear it with `snapcraft clean --use-lxd`.
stealth/space-bunny-alpha — closed resolved Closed after confirmation that newer Snapcraft versions fixed the LXD container failure caused by an in-progress snapd transition.
stealth/space-bunny-alpha — closed stale Closed as non-reproducible and abandoned: Snapcraft 3.9.4 hit a snapd-transition conflict under LXD, but the failure could not be reproduced on stable 3.8.
stealth/space-bunny-alpha — closed stale Closed as stale/non-reproducible: the LXD failure during a snapd transition did not recur on Snapcraft 3.8, and no fixing PR or commit was identified.
qwen3.6-35b-a3b-mtp-q6 — — Closed as non-reproducible and abandoned. The snapcraft lxd command failed due to a snapd transition conflict, but the issue was resolved in version 3.8 and later.
qwen/qwen3.6-35b-a3b
Staleness: 100
Complexity: 10
Confidence: 95
Support Request: 15
close stale Reports a transient snapd transition error when running snapcraft with LXD on version 3.9.4. No activity for over 6 years; issue is obsolete due to significant version updates and resolved upstream.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 20
Confidence: 95
Support Request: 10
close stale Reports a snapcraft 3.9.4 LXD launch failure due to a snapd transition error. No maintainer response, zero comments, and over six years old. Obsolete version and transient environment state make it irrelevant today.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 25
Confidence: 90
Support Request: 65
close stale Reports a transient snapd transition error when running snapcraft 3.9.4 with LXD. Unable to reproduce on newer versions. Issue is over 6 years old with no maintainer response.

Update history

Date Change
created

Related issues

Issue Project State Summary Similarity
#1666735 snapcraft cleanbuild does not work with lxd installed via snap snapcraft (launchpad) closed Fixed by merged canonical/snapcraft#1199 (commit 417989880), making cleanbuild LXD detection packaging-independent instead of relying on apt package metadata.
72%
#1703344 snapcraft cleanbuild exits with a traceback when lxd is not installed snapcraft (launchpad) closed Fixed cleanbuild’s traceback when LXD is absent by handling the missing lxc executable and reporting a clear error. Merged in snapcraft#1400.
71%