kubesphere / kubekey

Install Kubernetes/K3s only, both Kubernetes/K3s and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA 🔥 ⎈ 🐳
https://kubesphere.io
Apache License 2.0
2.3k stars 541 forks source link

Offline install kubesphere abort :centos-8-amd64.iso no such file or directory #2192

Open einnse opened 5 months ago

einnse commented 5 months ago

What is version of KubeKey has the issue?

v3.0.10

What is your os environment?

CentOS Linux release 8.2.2004

KubeKey config file

No response

A clear and concise description of what happend.

16:15:11 CST failed: [cce-bpf-slave2]
16:15:11 CST failed: [cce-bpf-slave1]
16:15:11 CST failed: [cce-bpf-slave3]
16:15:11 CST failed: [cce-bpf-master]
error: Pipeline[CreateClusterPipeline] execute failed: Module[RepositoryModule] exec failed:
failed: [cce-bpf-slave2] [SyncRepositoryISOFile] exec failed after 2 retries: scp /data/io/kubekey/repository/amd64/centos/8/centos-8-amd64.iso to /tmp/kubekey/centos-8-amd64.iso failed: get file stat failed: stat /data/io/kubekey/repository/amd64/centos/8/centos-8-amd64.iso: no such file or directory
failed: [cce-bpf-slave1] [SyncRepositoryISOFile] exec failed after 2 retries: scp /data/io/kubekey/repository/amd64/centos/8/centos-8-amd64.iso to /tmp/kubekey/centos-8-amd64.iso failed: get file stat failed: stat /data/io/kubekey/repository/amd64/centos/8/centos-8-amd64.iso: no such file or directory
failed: [cce-bpf-slave3] [SyncRepositoryISOFile] exec failed after 2 retries: scp /data/io/kubekey/repository/amd64/centos/8/centos-8-amd64.iso to /tmp/kubekey/centos-8-amd64.iso failed: get file stat failed: stat /data/io/kubekey/repository/amd64/centos/8/centos-8-amd64.iso: no such file or directory
failed: [cce-bpf-master] [SyncRepositoryISOFile] exec failed after 2 retries: scp /data/io/kubekey/repository/amd64/centos/8/centos-8-amd64.iso to /tmp/kubekey/centos-8-amd64.iso failed: get file stat failed: stat /data/io/kubekey/repository/amd64/centos/8/centos-8-amd64.iso: no such file or directory

Offline install kubesphere ,installation process prompted the lack of centos-8-amd64.iso, how to get the iso, release only provides the centos7 version of the iso!

Relevant log output

16:15:11 CST failed: [cce-bpf-slave2]
16:15:11 CST failed: [cce-bpf-slave1]
16:15:11 CST failed: [cce-bpf-slave3]
16:15:11 CST failed: [cce-bpf-master]
error: Pipeline[CreateClusterPipeline] execute failed: Module[RepositoryModule] exec failed:
failed: [cce-bpf-slave2] [SyncRepositoryISOFile] exec failed after 2 retries: scp /data/io/kubekey/repository/amd64/centos/8/centos-8-amd64.iso to /tmp/kubekey/centos-8-amd64.iso failed: get file stat failed: stat /data/io/kubekey/repository/amd64/centos/8/centos-8-amd64.iso: no such file or directory
failed: [cce-bpf-slave1] [SyncRepositoryISOFile] exec failed after 2 retries: scp /data/io/kubekey/repository/amd64/centos/8/centos-8-amd64.iso to /tmp/kubekey/centos-8-amd64.iso failed: get file stat failed: stat /data/io/kubekey/repository/amd64/centos/8/centos-8-amd64.iso: no such file or directory
failed: [cce-bpf-slave3] [SyncRepositoryISOFile] exec failed after 2 retries: scp /data/io/kubekey/repository/amd64/centos/8/centos-8-amd64.iso to /tmp/kubekey/centos-8-amd64.iso failed: get file stat failed: stat /data/io/kubekey/repository/amd64/centos/8/centos-8-amd64.iso: no such file or directory
failed: [cce-bpf-master] [SyncRepositoryISOFile] exec failed after 2 retries: scp /data/io/kubekey/repository/amd64/centos/8/centos-8-amd64.iso to /tmp/kubekey/centos-8-amd64.iso failed: get file stat failed: stat /data/io/kubekey/repository/amd64/centos/8/centos-8-amd64.iso: no such file or directory

Additional information

No response

pixiake commented 5 months ago

@einnse You can try removing --with-packages from the installation command.

einnse commented 5 months ago

@einnse You can try removing --with-packages from the installation command.

Thanks for the reply, your advice helped me out!