core24 lxd image intermittenly fails to launch
Metadata
Current evaluation
core24 LXD image intermittently fails to launch due to cloud image server issues; escalated to Canonical's cloud image team but unresolved after 31 months
Suggested action: close stale
Reason: This is an external infrastructure issue with Canonical's cloud image servers, not a craft-providers bug. The maintainer escalated it to the cloud image team (rt.admin.canonical.com/Ticket/Display.html?id=161719) and noted a retry workaround exists. After 962 days open with 136 days since last activity and no resolution from the external team, the issue is effectively stale and out of craft-providers' control.
Impact:
45
Quick Win:
33.75
Staleness:
85
Complexity:
25
Confidence:
75
Support Request:
15
Issue body
### Bug Description
Launching the core24 image intermittently fails and is blocking up our CI.
### To Reproduce
1. `lxc remote add craft-com.ubuntu.cloud-buildd-daily https://cloud-images.ubuntu.com/buildd/daily --protocol simplestreams`
2. `lxc launch craft-com.ubuntu.cloud-buildd-daily:core24`
It often will start working after 5-10 attempts of retrying the second step.
The next troubleshooting step is to run `lxc launch --debug craft-com.ubuntu.cloud-buildd-daily:core24` then reach out to the LXD and/or cloud image teams.
### part yaml
_No response_
### Relevant log output
```shell
logger.debug(
"Failed to launch instance %s, retrying %s.",
instance_name,
retry_count,
)
logger.debug(str(error))
# Ignore first 3 failed "create" attempts that other craft-providers
# are creating the same instance.
# LXD: Instance is busy running a "create" operation
if retry_count >= 2 or (
error.stderr and '"create"' not in error.stderr.decode()
):
> raise LXDError(
brief=f"Failed to launch instance {instance_name!r}.",
details=errors.details_from_called_process_error(error),
) from error
E craft_providers.lxd.errors.LXDError: Failed to launch instance 'itest-SERAAXYI'.
E * Command that failed: 'lxc --project default launch craft-com.ubuntu.cloud-buildd-daily:core24 local:itest-SERAAXYI --config security.syscalls.intercept.mknod=true --config user.craft_providers.status=STARTING --config user.craft_providers.timer=2024-01-16T18:15:33.714268+00:00 --config user.craft_providers.pid=3215'
E * Command exit code: 1
E * Command output: b'Creating itest-SERAAXYI\n'
E * Command standard error output: b"Error: Failed instance creation: Couldn't find the requested image\n"
../../craft_providers/lxd/lxc.py:628: LXDError
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
45
Quick Win:
33.75
Staleness:
85
Complexity:
25
Confidence:
75
Support Request:
15
|
close stale | core24 LXD image intermittently fails to launch due to cloud image server issues; escalated to Canonical's cloud image team but unresolved after 31 months | |
| qwen/qwen3.6-35b-a3b |
Staleness:
65
Complexity:
40
Confidence:
85
Support Request:
10
|
keep open | core24 lxd image launch fails intermittently due to cloud image server issues. Escalated to cloud image team; currently blocked/waiting on external resolution. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
80
Complexity:
10
Confidence:
90
Support Request:
10
|
close not a bug | Intermittent failure launching core24 LXD image blocking CI. Maintainer identified it as an external cloud image server issue and escalated it. No longer actionable for this project. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
10
Confidence:
90
Support Request:
10
|
close stale | Intermittent failure launching core24 LXD image blocking CI. Maintainer identified it as an external cloud image server issue, not a bug in this project. Open for ~2.4 years. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.