← Back to issue list

craft-providers leaves base lxd instance running on error

View original Github issue

Metadata

Project
craft-providers
Number
#757
Type
issue
State
closed
Author
dimaqq
Labels
Type: Bug
Created
Updated
Closed

Current evaluation

Closed without a code fix after transfer from Charmcraft; tracking continued only in internal ticket CRAFT-4577, with no linked PR, commit, or maintainer explanation.

Resolution: closed stale

Reason: The issue was transferred because craft-providers was identified as the root cause, then closed without a resolving PR or commit. The only recorded follow-up was internal ticket CRAFT-4577.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description an instance is left running when `charmcraft pack` exits with an error ### To Reproduce - fresh install - hit an error like canonical/charmcraft#2302 - look at lxc instances ### Environment regular mode, lxd, ubuntu 24.04 host ### charmcraft.yaml ```yaml n/a ``` ### Relevant log output ```shell ⋊> dima@bb ⋊> /c/hexanator-legacy on custom-ops-pre-release ⨯ lxc list --all-projects 10:02:08 +------------+---------------------------------------------------------------+---------+-----------------------+------+-----------+-----------+ | PROJECT | NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS | +------------+---------------------------------------------------------------+---------+-----------------------+------+-----------+-----------+ | charmcraft | base-instance-charmcraft-buildd-base-v7--20d64a5acd5c317c9c8d | RUNNING | 10.216.249.225 (eth0) | | CONTAINER | 0 | +------------+---------------------------------------------------------------+---------+-----------------------+------+-----------+-----------+ # let's see what it's doing ⋊> dima@bb ⋊> /c/hexanator-legacy on custom-ops-pre-release ⨯ lxc --project charmcraft exec base-instance-charmcraft-buildd-base-v7--20d64a5acd5c317c9c8d bash 10:03:47 root@charmcraft-hexanator-legacy-amd64-16539066:~# ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 00:56 ? 00:00:00 /sbin/init root 34 1 0 00:56 ? 00:00:00 /lib/systemd/systemd-journald root 54 1 0 00:56 pts/0 00:00:00 /sbin/agetty -o -p -- \u --noclear --keep-baud console 115200,38400,9600 linux systemd+ 84 1 0 00:56 ? 00:00:00 /lib/systemd/systemd-resolved systemd+ 101 1 0 00:56 ? 00:00:00 /lib/systemd/systemd-networkd root 287 0 0 01:04 pts/1 00:00:00 bash root 290 287 0 01:04 pts/1 00:00:00 ps -ef root@charmcraft-hexanator-legacy-amd64-16539066:~# ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale Closed without a code fix after transfer from Charmcraft; tracking continued only in internal ticket CRAFT-4577, with no linked PR, commit, or maintainer explanation.
stealth/space-bunny-alpha — closed stale Transferred to canonical/craft-providers#757 and closed without a code fix; tracking continued internally as CRAFT-4577.
qwen/qwen3.6-35b-a3b — — Transferred to craft-providers and closed without a fix. The issue was deferred to internal tracking via Jira CRAFT-4577, with no pull request merged or code changes applied.
qwen/qwen3.6-35b-a3b
Staleness: 75
Complexity: 45
Confidence: 70
Support Request: 5
needs triage Bug where charmcraft pack leaves a base LXD instance running after an error. Transferred to craft-providers and tracked internally, awaiting maintainer assessment.
qwen3.6-35b-a3b-mtp-q6
Staleness: 70
Complexity: 40
Confidence: 75
Support Request: 10
needs triage Bug where charmcraft pack leaves a base LXD instance running after an error. Transferred to craft-providers with an internal Jira ticket, but remains unassigned and untriaged for over a year.

Update history

Date Change
closed

Related issues

Issue Project State Summary Similarity
#139 Craft-application does not create unique LXD base instances craft-application closed Closed with no linked PR or commit after more than three years of inactivity; the underlying optional compatibility-tag collision remained tracked in canonical/craft-providers#454.
75%
#925 providers: set lxd project to 'charmcraft' charmcraft merged Merged PR #925 in d82b9bb8, fixing the LXD provider regression by using the charmcraft project instead of default.
71%