← Back to issue list

lxd: improve error messages

View original Github issue

Metadata

Project
craft-providers
Number
#161
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #161 consolidated duplicate LXD error messages and added help text to other errors in commit 18d4470.

Resolution: closed resolved

Reason: PR #161 was merged, implementing the stated LXD error-message improvements. The resolving commit is 18d4470, titled "lxd: improve error messages (#161)".

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- 1. Consolidate duplicate error messages into one location. 2. Add help message to other errors.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #161 consolidated duplicate LXD error messages and added help text to other errors in commit 18d4470.
stealth/space-bunny-alpha — closed resolved Merged PR #161 as commit 18d4470, consolidating duplicate LXD error messages and adding help text to improve failure diagnostics.
stealth/space-bunny-alpha — closed resolved Merged PR #161 as commit 18d4470, centralizing duplicate LXD error messages and adding help text for other LXD errors.
stealth/space-bunny-alpha — closed resolved Merged LXD error-message improvements in #161 (commit 18d4470), consolidating duplicate messages and adding help text to other errors.
stealth/space-bunny-alpha — closed resolved Merged in craft-providers#161 (commit 18d4470), consolidating duplicate LXD errors and adding help text to other error messages.
qwen/qwen3.6-35b-a3b — closed resolved Merged pull request consolidating duplicate LXD error messages and adding help messages to improve user feedback.

Update history

Date Change
created

Related issues

Issue Project State Summary Similarity
#1647 lxd: better surfacing of errors snapcraft merged Merged in snapcraft#1647 as commit 71f48bdc9, improving LXD error handling so callers return silent, correctly coded errors without printing messages twice.
78%
#29 lxd: introduce errors module and LXDError craft-providers merged PR #29 merged into main (merge commit ceafb67, commit 509204c 'lxd: introduce errors module and LXDError'), adding craft_providers/lxd/errors.py with LXDError plus LXDInstallationError and LXDUnstableImageError.
75%
#1842 lxd: Change "Terminating" message to debug level snapcraft merged Merged PR #1842 in commit 1d3e50c4c, lowering the LXD "Terminating" log message from normal output to debug level.
75%
#2095 lxd: proper error classes for container errors snapcraft merged Merged as caf555acb, introducing dedicated LXD error classes, improving architecture lookup error handling, and adding unit tests.
75%
#606 tests: update LXD error message craft-providers merged Merged PR #606 updated an LXD integration test’s expected error message after a progressive LXD snap release changed the output.
72%
#378 lxd: update logging semantics craft-providers merged Merged as commit ed66930, #378 lowered most LXD warnings to debug, added limited info logs, and fixed #377; Multipass remained pending.
72%
#1771 lxd: suppress traceback when lxc launch / init fails snapcraft merged Merged as commit 1a7a4f7d0: LXD launch/init failures now suppress Python tracebacks and rely on lxc's useful error output.
70%