providers: set lxd project to 'charmcraft'
Metadata
Current evaluation
Merged PR #925 in d82b9bb8, fixing the LXD provider regression by using the charmcraft project instead of default.
Resolution: closed resolved
Reason: Implementation commit 2839906c was merged as d82b9bb8. It configures Charmcraft's LXD provider to use the charmcraft project, resolving the regression introduced by the provider-interface migration in PR #899.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Set the project to `charmcraft` instead of the default project `default`.
This fixes a regression from migrating to the new craft-providers interface.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #925 in d82b9bb8, fixing the LXD provider regression by using the charmcraft project instead of default. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/charmcraft#925: set the LXD project to charmcraft, fixing a regression from the craft-providers migration. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/charmcraft#925, setting the LXD project to charmcraft instead of default to fix a craft-providers migration regression. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #925 (commit 2839906c), setting the LXD project to charmcraft instead of default and fixing a craft-providers migration regression. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a fix setting the LXD project to 'charmcraft' instead of 'default', resolving a regression from the craft-providers migration. Approved by one reviewer, the change updates two files with a +10/-4 diff. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Updates the LXD project setting from 'default' to 'charmcraft', fixing a regression caused by the migration to the new craft-providers interface. |
Update history
No update history recorded yet.
Related work
-
Caused By:
charmcraft#899
(confidence 98%)
PR #899 migrated providers to the new craft-providers interface and introduced the LXD default-project regression.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1640 Incompatibility with latest LXD LTS | charmcraft | closed | Fixed in Charmcraft 2.6.0 by merged PR #1641 (commit 2248543f), shipping the craft-providers 1.23.1 fix for LXD versions with the LTS suffix; released to stable. | |
| #554 Issues with concurrent builds | charmcraft | closed | Concurrent LXD setup races were fixed by Craft Providers #158 (commit 3069492), and the maintainer confirmed the fix was included in Charmcraft. | |
| #899 providers: use new craft-providers interface | charmcraft | merged | Merged PR #899 (merge commit 538aec31, implementation 5e5acb7c): removed Charmcraft's own Provider/LXDProvider/MultipassProvider classes in favour of craft-providers', and moved charmcraft/providers/providers.py to charmcraft/providers.py. Resolves CRAFT-1279. | |
| #506 Build a charmed failed | charmcraft | closed | LXD 3.x lacked project support causing 'unknown flag: --project'. No Charmcraft fix; maintainers asked for lxc/os info (Aug 2021), reporter never replied, issue closed stale Jan 2024. | |
| #1260 Charmcraft hangs or fails with LXD 5.18 | charmcraft | closed | LXD released a fix for the 5.18 image lookup failure; Charmcraft’s separate edge retry hang was fixed by craft-providers#415 (commit da95d03). | |
| #647 `charmcraft build` sometimes fails on `apt install` inside the lxd container | charmcraft | closed | Closed as a duplicate of #567; its dpkg-lock fix merged via PR #745 (commit b1adccd5), adding provider warmup to avoid competing APT updates. | |
| #1132 LXD race condition when packing multiple charms simultaneously | charmcraft | closed | The concurrent LXD project-creation race was fixed in Charmcraft edge and 2.4.0; a follow-up instance-copy race was addressed by craft-providers PR #357. | |
| #419 providers: gracefully handle when LXD not installed (CRAFT-329) | charmcraft | merged | Merged #419 to handle missing LXD: builds now require the provider, while cleanup safely skips container operations when LXD is unavailable. | |
| #31 feat: charmcraft actions | craft-actions | merged | Merged in commit 91513c1, adding charmcraft/setup to install Charmcraft and LXD and charmcraft/pack to run setup and package charms. | |
| #757 craft-providers leaves base lxd instance running on error | craft-providers | closed | 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. |