sealerio / sealer

Build, Share and Run Both Your Kubernetes Cluster and Distributed Applications (Project under CNCF)
http://sealer.cool
Apache License 2.0
2.06k stars 361 forks source link

no manifest of the corresponding platform #1558

Open djwangyi opened 2 years ago

djwangyi commented 2 years ago

What happen?

拉取sealer-apps相关的镜像失败,目前拉取redis,mysql,prometheus-stack都失败了,也尝试先sealer login到 registry.cn-qingdao.aliyuncs.com,错误没变。

Relevant log output?

sealer pull registry.cn-qingdao.aliyuncs.com/sealer-apps/prometheus-stack:v2.28.1 
Start to Pull Image registry.cn-qingdao.aliyuncs.com/sealer-apps/prometheus-stack:v2.28.1
Error: get digest error: get digest from manifest list error: no manifest of the corresponding platform
Usage:
  sealer pull [flags]

Examples:
sealer pull registry.cn-qingdao.aliyuncs.com/sealer-io/kubernetes:v1.19.8

Flags:
  -h, --help              help for pull
      --platform string   set cloud image platform

Global Flags:
      --config string   config file (default is $HOME/.sealer.json)
  -d, --debug           turn on debug mode
      --hide-path       hide the log path
      --hide-time       hide the log time

get digest error: get digest from manifest list error: no manifest of the corresponding platform

What you expected to happen?

拉取成功。

How to reproduce it (as minimally and precisely as possible)?

sealer pull registry.cn-qingdao.aliyuncs.com/sealer-apps/prometheus-stack:v2.28.1

Anything else we need to know?

No response

What is the version of Sealer you using?

{"gitVersion":"v0.8.5","gitCommit":"f9c3d99","buildDate":"2022-04-28 14:16:58","goVersion":"go1.16.15","compiler":"gc","platform":"linux/amd64"}

What is your OS environment?

NAME="CentOS Linux" VERSION="8 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="8" PLATFORM_ID="platform:el8" PRETTY_NAME="CentOS Linux 8 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:8" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-8" CENTOS_MANTISBT_PROJECT_VERSION="8" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="8"

What is the Kernel version?

Linux VM-12-9-centos 4.18.0-348.7.1.el8_5.x86_64 #1 SMP Wed Dec 22 13:25:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Other environment you want to tell us?

kakaZhou719 commented 2 years ago

@djwangyi , sealer official clusterImage have not been updated since 0.6.1 , We recommend rebuilding one based on the corresponding kubefile using the latest sealer version.