saga-project / bliss

ATTENTION: bliss is now saga-python. Please check out the new project website for the latest version: http://saga-project.github.com/saga-python/
http://saga-project.github.com/saga-python/
Other
8 stars 4 forks source link

Nonauthenticating User Does Not Exit Gracefully #42

Closed melrom closed 12 years ago

melrom commented 12 years ago

If you login in with the wrong username (or a username for which your ssh keys are not configured), Bliss will prompt for a password.

Even if you don't enter anything or you enter an invalid input, after a given amount of time, it will go to "waiting for job" instead of quitting and will wait forever.

Please see below for an example. This example was performed on Lonestar. RandomUser is obviously NOT your own username. I presume a similar thing would happen if you were doing machine-to-machine and didn't have ssh keys configured.

(blisstestenv)login1$ python test/compliance/job/01_run_remote_exe.py sge+ssh://lonestar.tacc.utexas.edu randomUser development TG-MCB090174 Job ID : [sge+ssh://lonestar.tacc.utexas.edu]-[None] Job State : saga.job.Job.New

...starting job...

Password: Password: Password: randomUser@lonestar.tacc.utexas.edu's password: 05/10/2012 03:32:04 PM

Job ID : [sge+ssh://lonestar.tacc.utexas.edu]-[576617] Job State : saga.job.Job.Pending

...waiting for job...

[had to CTRL+c]

andre-merzky commented 12 years ago

Is fixed by now, a sensible error message is provided.