操作系统信息
例如:虚拟机 Centos7 4C/4G
Kubernetes版本信息
v1.21.5
容器运行时
docker 19.03.15
KubeSphere版本信息
v3.2.1 离线安装 全套安装
问题是什么
离线安装执行到登录harbor总是报错,单独去登录harbor没问题是可以成功的为什么这里一直报错呢
13:06:34 CST success: [master]
13:06:34 CST success: [node2]
13:06:34 CST success: [node1]
13:06:34 CST [ConfigureOSModule] configure the ntp server for each node
13:06:34 CST skipped: [node1]
13:06:34 CST skipped: [master]
13:06:34 CST skipped: [node2]
13:06:34 CST [KubernetesStatusModule] Get kubernetes cluster status
13:06:35 CST success: [master]
13:06:35 CST [InstallContainerModule] Sync docker binaries
13:06:42 CST skipped: [master]
13:06:42 CST skipped: [node1]
13:06:42 CST [InstallContainerModule] Generate docker service
13:06:43 CST skipped: [master]
13:06:43 CST skipped: [node1]
13:06:43 CST [InstallContainerModule] Generate docker config
13:06:43 CST skipped: [node1]
13:06:43 CST skipped: [master]
13:06:43 CST [InstallContainerModule] Enable docker
13:06:43 CST skipped: [node1]
13:06:43 CST skipped: [master]
13:06:43 CST [InstallContainerModule] Add auths to container runtime
13:07:02 CST message: [node2]
login registry failed, cmd: docker login --username "admin" --password "Harbor12345" dockerhub.kubekey.local, err:Failed to exec command: sudo -E /bin/bash -c "docker login --username "admin" --password "Harbor12345" dockerhub.kubekey.local"
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error response from daemon: Get https://dockerhub.kubekey.local/v2/: x509: certificate signed by unknown authority: Process exited with status 1: Failed to exec command: sudo -E /bin/bash -c "docker login --username "admin" --password "Harbor12345" dockerhub.kubekey.local"
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error response from daemon: Get https://dockerhub.kubekey.local/v2/: x509: certificate signed by unknown authority: Process exited with status 1
13:07:02 CST retry: [node2]
13:07:07 CST message: [node2]
login registry failed, cmd: docker login --username "admin" --password "Harbor12345" dockerhub.kubekey.local, err:Failed to exec command: sudo -E /bin/bash -c "docker login --username "admin" --password "Harbor12345" dockerhub.kubekey.local"
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error response from daemon: Get https://dockerhub.kubekey.local/v2/: x509: certificate signed by unknown authority: Process exited with status 1: Failed to exec command: sudo -E /bin/bash -c "docker login --username "admin" --password "Harbor12345" dockerhub.kubekey.local"
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error response from daemon: Get https://dockerhub.kubekey.local/v2/: x509: certificate signed by unknown authority: Process exited with status 1
13:07:07 CST retry: [node2]
13:07:12 CST message: [node2]
login registry failed, cmd: docker login --username "admin" --password "Harbor12345" dockerhub.kubekey.local, err:Failed to exec command: sudo -E /bin/bash -c "docker login --username "admin" --password "Harbor12345" dockerhub.kubekey.local"
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error response from daemon: Get https://dockerhub.kubekey.local/v2/: x509: certificate signed by unknown authority: Process exited with status 1: Failed to exec command: sudo -E /bin/bash -c "docker login --username "admin" --password "Harbor12345" dockerhub.kubekey.local"
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error response from daemon: Get https://dockerhub.kubekey.local/v2/: x509: certificate signed by unknown authority: Process exited with status 1
13:07:12 CST success: [master]
13:07:12 CST success: [node1]
13:07:12 CST failed: [node2]
error: Pipeline[CreateClusterPipeline] execute failed: Module[InstallContainerModule] exec failed:
failed: [node2] [Login PrivateRegistry] exec failed after 3 retires: login registry failed, cmd: docker login --username "admin" --password "Harbor12345" dockerhub.kubekey.local, err:Failed to exec command: sudo -E /bin/bash -c "docker login --username "admin" --password "Harbor12345" dockerhub.kubekey.local"
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error response from daemon: Get https://dockerhub.kubekey.local/v2/: x509: certificate signed by unknown authority: Process exited with status 1: Failed to exec command: sudo -E /bin/bash -c "docker login --username "admin" --password "Harbor12345" dockerhub.kubekey.local"
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error response from daemon: Get https://dockerhub.kubekey.local/v2/: x509: certificate signed by unknown authority: Process exited with status 1
[root@master kubesphere]#