Ошибка установки MCM (Multi Cloud Manager) 3.1.1 на ICP 3.1.1 - PullRequest
0 голосов
/ 12 декабря 2018

Шаг за шагом я получаю сообщение об ошибке

  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
После этого входа в систему:
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?)

Мой шаг выше был неверным илине?или там что-то не так?

простите за мой английский

1 Ответ

0 голосов
/ 28 января 2019

Я исправлю это на шаге 3, используя команды:

Загрузка каталога cloudctl -ppa-archive -a mcm-3.1.1-amd64.tgz --registry swgcluster.icp: 8500 / kube-system

Только что добавлено /kube-system в личном реестре Docker после имени кластера и порта

...