incus 下载镜像出错
先决条件 (Prerequisites)
- [x] 我已确认这个问题没有在其他 issues中提出过。 I am sure that this problem has NEVER been discussed in other issues.
发生了什么(What happened)
官方镜像
| default-mirror-images | https://images.linuxcontainers.org | simplestreams | none | YES | NO | NO | 以下为官方镜像正确时间 serial: "20251026_13:00"
incus image show default-mirror-images:alpine/3.22/cloud
auto_update: false
properties:
architecture: amd64
description: Alpine 3.22 amd64 (20251026_13:00)
os: Alpine
release: "3.22"
requirements.secureboot: "false"
serial: "20251026_13:00"
type: squashfs
variant: cloud
public: true
expires_at: 1970-01-01T00:00:00Z
profiles: []
清华镜像
| tuna-mirror-images | https://mirrors.tuna.tsinghua.edu.cn/lxc-images/ | simplestreams | none | YES | NO | NO |
以下错误镜像时间 为 serial: "20250628_13:00"
incus image show tuna-mirror-images:alpine/3.22/cloud
auto_update: false
properties:
architecture: amd64
description: Alpine 3.22 amd64 (20250628_13:00)
os: Alpine
release: "3.22"
requirements.secureboot: "false"
serial: "20250628_13:00"
type: squashfs
variant: cloud
public: true
expires_at: 1970-01-01T00:00:00Z
profiles: []
执行结果
incus launch tuna-mirror-images:alpine/3.22/cloud/amd64 alpine-322-ct-new
Launching alpine-322-ct-new
Error: Failed instance creation: Unable to fetch https://mirrors.tuna.tsinghua.edu.cn/lxc-images/images/alpine/3.22/amd64/cloud/20250628_13:00/incus.tar.xz: resource not found
期望的现象(What you expected to happen)
及时修复
如何重现此问题(How to reproduce it)
incus image show tuna-mirror-images:alpine/3.22/cloud
操作系统(OS Version)
No response
浏览器(如果适用)(Browser version, if applicable)
No response
其他环境(Other environments)
No response
其他需要说明的事项(Anything else we need to know)
No response
您好,造成该问题的原因是,上游的镜像构建过于频繁,致使同步的过程中数据已经发生了变化,使得同步不能成功。
我也遇到了这个问题,metadata.json里面显示20251112,执行incus launch mirror-images:debian/13 test拉取debian13镜像时候20251112的文件已经不存在。
@shankerwangmiao 你好,方便透露一下lxc images大概多久会同步一次吗?
在这里找到了相关同步的信息:https://mirrors.tuna.tsinghua.edu.cn/status/#syncing-status