yuvipanda / acs-jupyterhub

Set up a JupyterHub with ACS
BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

Traceback erro when running verify ssh works #9

Open oavioz opened 7 years ago

oavioz commented 7 years ago

Hi,

I'm getting error on command line "verify ssh works" Note that i printed the ssh command and ran it manually and it it working(ssh login to master)

command print:(working from my host) ssh -i myclustername/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o User=useradmin myclustername.westeurope.cloudapp.azure.com

command error from deploy.sp: failed!!

demouser@Ubuntu16Dev:~/acs-jupyterhub$ ./deploy.py -s xxxxdac2-b53c-xx3a-8159-9eexxx9f08f0 -n myclustername Retrying role assignment creation: 1/36 INFO[0000] Generating assets... verify ssh works cmd: ['ssh', '-i', 'myclustername/id_rsa', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'User=useradmin', 'myclustername.westeurope.cloudapp.azure.com', 'true'] Warning: Permanently added 'myclustername.westeurope.cloudapp.azure.com,40.68.254.189' (ECDSA) to the list of known hosts. System is going down.

Connection to myclustername.westeurope.cloudapp.azure.com closed by remote host. Traceback (most recent call last): File "./deploy.py", line 111, in sp.check_call(cmd) File "/usr/lib/python3.5/subprocess.py", line 581, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['ssh', '-i', 'myclustername/id_rsa', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'User=useradmin', 'myclustername.westeurope.cloudapp.azure.com', 'true']' returned non-zero exit status 255

Any help what is the different? and what is the error?

Thanks!