DC / OS encountered an error

Keyless certification issues

eval $(ssh-agent)
ssh-add ~/.ssh/id_dsa

Download dcos cli fail

TASK [DCOS.master : Installation: Download dcos_install.sh] *********************************************************************************************************************************************
fatal: [54.238.171.221]: FAILED! => {"changed": false, "dest": "/tmp/dcos/2.0.0/", "elapsed": 3, "gid": 0, "group": "root", "mode": "0755", "msg": "Request failed: <urlopen error [Errno 113] 没有到主机的路由>", "owner": "root", "size": 6, "state": "directory", "uid": 0, "url": "http://172.31.40.180:8080/2.0.0/genconf/serve/dcos_install.sh"}

/group_vars/all/dcos.yml profile bootstrapIP wrong

Authentication failed on landing

[root@ip-172-31-34-218 ~]# dcos node list
Error: authentication failed, please run `dcos auth login`
[root@ip-172-31-34-218 ~]# dcos auth login #登陆用户即可
Username: bootstrapuser
Password:
[root@ip-172-31-34-218 ~]# dcos node list
    HOSTNAME          IP        PUBLIC IP(S)                     ID                          TYPE        STATUS      REGION           ZONE
  172.31.41.246  172.31.41.246  172.31.41.246  ff4f14ff-2887-4816-babe-1d7fb100145f-S0  agent            ACTIVE  ap-northeast-1  ap-northeast-1a
  172.31.43.178  172.31.43.178  172.31.43.178  ff4f14ff-2887-4816-babe-1d7fb100145f-S1  agent (public)   ACTIVE  ap-northeast-1  ap-northeast-1a
  master.mesos.  172.31.43.15   172.31.43.15   33773bc5-e550-40ed-a795-4fb35d5e5e4f     master (leader)          ap-northeast-1  ap-northeast-1a

timed out waiting for ping module test success: Data could not be sent to remote host


Solution:
FIG user to modify root

eth0-does not exist



Phenomenon: ansible display properly after installation, but no error by the master url inaccessible
discover card error command
to modify the profile name of the NIC /group_vars/all/dcos.yml
the uninstall.sh script uploaded to the master node, uninstall master installation, restart the machine, reinstall the play-book script execution

Guess you like

Origin www.cnblogs.com/syavingcs/p/12059880.html