在 ICP 3.1.1 上安装 MCM (Multi Cloud Manager) 3.1.1 时出错
Error Installing MCM (Multi Cloud Manager) 3.1.1 on ICP 3.1.1
一步一步出错
- 像下面这样登录 cloudctl :
root@icp-master:~/mcm-3.1.1# cloudctl login -a https://swgcluster.icp:8443 -n kube-system --skip-ssl-validation
Username> admin
Password>
Authenticating...
OK
Targeted account swgcluster Account (id-swgcluster-account)
Targeted namespace kube-system
Configuring kubectl ...
Property "clusters.swgcluster" unset.
Property "users.swgcluster-user" unset.
Property "contexts.swgcluster-context" unset.
Cluster "swgcluster" set.
User "swgcluster-user" set.
Context "swgcluster-context" created.
Switched to context "swgcluster-context".
OK
Configuring helm: /root/.helm
OK
- 登录后 docker :
root@icp-master:~/mcm-3.1.1# docker login swgcluster.icp:8500
Username (admin): admin
Password:
Login Succeeded
- 错误 加载 PPA 存档时,收到消息“(您是否登录到 docker 注册表?)”:
root@icp-master:~/mcm-3.1.1# cloudctl catalog load-ppa-archive -a mcm-3.1.1-amd64.tgz --registry swgcluster.icp:8500
Expanding archive
OK
Importing docker images
Processing image: mcm-compliance:3.1.1
Loading Image
Tagging Image
Pushing image as: swgcluster.icp:8500/mcm-compliance:3.1.1
FAILED
Error during 'docker push swgcluster.icp:8500/mcm-compliance:3.1.1':
The push refers to repository [swgcluster.icp:8500/mcm-compliance]
897913ab6781: Preparing
9151cff5fa59: Preparing
50e922e82331: Preparing
fe5040b266fd: Preparing
df64d3292fd6: Preparing
unauthorized: authentication required
(Are you logged in to the docker registry?)
我上面的步骤有没有错?或者有什么问题?
对不起我的英语
我在第 3 步修复它,使用命令:
cloudctl catalog load-ppa-archive -a mcm-3.1.1-amd64.tgz --registry swgcluster.icp:8500/kube-system
刚刚添加 /kube-system
在集群名称和端口之后的私有 Docker 注册表上
一步一步出错
- 像下面这样登录 cloudctl :
root@icp-master:~/mcm-3.1.1# cloudctl login -a https://swgcluster.icp:8443 -n kube-system --skip-ssl-validation
Username> admin
Password>
Authenticating...
OK
Targeted account swgcluster Account (id-swgcluster-account)
Targeted namespace kube-system
Configuring kubectl ...
Property "clusters.swgcluster" unset.
Property "users.swgcluster-user" unset.
Property "contexts.swgcluster-context" unset.
Cluster "swgcluster" set.
User "swgcluster-user" set.
Context "swgcluster-context" created.
Switched to context "swgcluster-context".
OK
Configuring helm: /root/.helm
OK
- 登录后 docker :
root@icp-master:~/mcm-3.1.1# docker login swgcluster.icp:8500
Username (admin): admin
Password:
Login Succeeded
- 错误 加载 PPA 存档时,收到消息“(您是否登录到 docker 注册表?)”:
root@icp-master:~/mcm-3.1.1# cloudctl catalog load-ppa-archive -a mcm-3.1.1-amd64.tgz --registry swgcluster.icp:8500
Expanding archive
OK
Importing docker images
Processing image: mcm-compliance:3.1.1
Loading Image
Tagging Image
Pushing image as: swgcluster.icp:8500/mcm-compliance:3.1.1
FAILED
Error during 'docker push swgcluster.icp:8500/mcm-compliance:3.1.1':
The push refers to repository [swgcluster.icp:8500/mcm-compliance]
897913ab6781: Preparing
9151cff5fa59: Preparing
50e922e82331: Preparing
fe5040b266fd: Preparing
df64d3292fd6: Preparing
unauthorized: authentication required
(Are you logged in to the docker registry?)
我上面的步骤有没有错?或者有什么问题?
对不起我的英语
我在第 3 步修复它,使用命令:
cloudctl catalog load-ppa-archive -a mcm-3.1.1-amd64.tgz --registry swgcluster.icp:8500/kube-system
刚刚添加 /kube-system
在集群名称和端口之后的私有 Docker 注册表上