pai icon indicating copy to clipboard operation
pai copied to clipboard

Issue in bootstrap

Open ydye opened this issue 8 years ago • 3 comments

https://github.com/Microsoft/pai/blob/cd432f909a1b3d664ab14c62222287f057965839/kubernetes-deployment/bootstrap.py#L99


Traceback (most recent call last):
  File "./bootstrap.py", line 404, in <module>
    main()
  File "./bootstrap.py", line 369, in main
    remoteCleanUp(cluster_config['clusterinfo'], machine_list[hostname])
  File "./bootstrap.py", line 217, in remoteCleanUp
    sftp_paramiko(src_local, dst_remote, srcipt, host_config)
  File "./bootstrap.py", line 99, in sftp_paramiko
    if (host_config['sshport']):
KeyError: 'sshport'

if 'sshport' in host_config ?

ydye avatar Dec 28 '17 09:12 ydye

should be clusterconfig

fanyangCS avatar Dec 28 '17 10:12 fanyangCS

@fanyangCS , in this function, host_config will get the configuration of the corresponding host to ssh.

ydye avatar Dec 28 '17 10:12 ydye

This issue has been solved in #148. I will closed it.

ydye avatar Dec 29 '17 03:12 ydye