kubekey icon indicating copy to clipboard operation
kubekey copied to clipboard

kk artifact export报错

Open wongearl opened this issue 1 year ago • 5 comments

What is version of KubeKey has the issue?

master

What is your os environment?

ubuntu20.04

KubeKey config file

No response

A clear and concise description of what happend.

执行kk artifact export --yes -m offline-ubuntu.yaml -o al-cloud-ubuntu2004.tar.gz命令,报错如下: `Failed to download calicoctl binary: curl -L -o /root/wyl-work/ubuntu/kubekey/artifact/cni/amd64/calicoctl https://kubernetes-release.pek3b.qingstor.com/projectcalico/calico/releases/download//calicoctl-linux-amd64 error: No SHA256 found for calicoctl. is not supported.

14:40:35 CST failed: [LocalHost]

error: Pipeline[ArtifactExportPipeline] execute failed: Module[ArtifactBinariesModule] exec failed:

failed: [LocalHost] [DownloadBinaries] exec failed after 1 retries: Failed to download calicoctl binary: curl -L -o /root/wyl-work/ubuntu/kubekey/artifact/cni/amd64/calicoctl https://kubernetes-release.pek3b.qingstor.com/projectcalico/calico/releases/download//calicoctl-linux-amd64 error: No SHA256 found for calicoctl. is not supported. offline-ubuntu.yaml 内容如下:root@ubuntu:~/wyl-work/ubuntu# cat offline-ubuntu.yaml apiVersion: kubekey.kubesphere.io/v1alpha2 kind: Manifest metadata: name: sample spec: arches:

  • amd64 components: containerRuntimes:
    • type: containerd version: 1.6.4 crictl: version: v1.24.0 etcd: version: v3.5.6 helm: version: v3.9.0 images:`

Relevant log output

No response

Additional information

No response

wongearl avatar Sep 20 '23 07:09 wongearl

找到原因,calicoctl v3.26.1在manifest文件中必须写,且必须写明版本,不要就会报错,calicoctl非必须,应该改成不写明时就不下载。

wongearl avatar Sep 20 '23 07:09 wongearl

licoctl v3.26.1在manife

我刚刚也遇到了。

@wongearl 我在导出离线包之后,离线安装的时候出现了这个错误

error: Pipeline[CreateClusterPipeline] execute failed: Module[CopyImagesToRegistryModule] exec failed: 
failed: [LocalHost] [PushManifest] exec failed after 1 retries: get manifest list failed by module cache

afumu avatar Sep 20 '23 09:09 afumu

这个修复了吗?

jinrong58 avatar Jan 31 '24 09:01 jinrong58

修复了吗?

kayNdragon avatar Mar 01 '24 12:03 kayNdragon

修复了吗?

chinayangze avatar Mar 14 '24 03:03 chinayangze