kubekey icon indicating copy to clipboard operation
kubekey copied to clipboard

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

Open einnse opened this issue 2 years ago • 2 comments

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

einnse avatar Apr 02 '24 08:04 einnse

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

pixiake avatar Apr 02 '24 08:04 pixiake

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

Thanks for the reply, your advice helped me out!

einnse avatar Apr 03 '24 07:04 einnse