Skip to content

BUG: Sealos集群镜像同步失败 #5663

Description

@fengjing1009

Sealos Version

5.0.1

How to reproduce the bug?

[root@gpustack-server01 ~]# sealos version
SealosVersion:
buildDate: "2024-10-09T02:18:27Z"
compiler: gc
gitCommit: 2b74a12
gitVersion: 5.0.1
goVersion: go1.20.14
platform: linux/amd64

What is the expected behavior?

参考文档进行操作 https://sealos.run/docs/k8s/operations/registry/sealos_sync_backup_solution
sealos pull labring/kubernetes:v1.24.0
sealos create labring/kubernetes:v1.24.0
sealos registry serve filesystem -p 9090 registry
sealos login sealos.hub:5000
sealos registry sync 127.0.0.1:9090 sealos.hub:5000

What do you see instead?

同步操作失败
[root@gpustack-server01 ~]# sealos --debug registry sync 127.0.0.1:9090 http://sealos.hub:5000
2025-06-25T16:25:34 debug checking if endpoint http://sealos.hub:5000/v2/ is alive
2025-06-25T16:25:34 debug checking if endpoint http://127.0.0.1:9090/v2/ is alive
2025-06-25T16:25:34 debug http endpoint http://127.0.0.1:9090/v2/ is alive
Error: registry http status code not 200

Operating environment

- Sealos version:
- Docker version:
- Kubernetes version:
- Operating system:
- Runtime environment:
- Cluster size:
- Additional information:

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions