The Downloadsymlink workflow stays stuck when ng6 ssh user has a rsa passphrase
Symptoms:
- Creating symbolic links through the web interface results in an infinite loading.
- The associated workflow doesn't end.
- The workflow debug returns the following : Traceback (most recent call last): File "/work/ng6/jflow/work/downloadsymlink/wf008708/.working/f85edccc0a/_Stash/0/0/0/w0000000", line 86, in outputs = create_symbolik_link(*new_args) File "/work/ng6/jflow/work/downloadsymlink/wf008708/.working/f85edccc0a/_Stash/0/0/0/w0000000", line 79, in create_symbolik_link s.cmd('bash %s'%user_script) File "/usr/local/bioinfo/src/ng6_sources/ng6-V3.2.7.4/src/weaver/../ng6/utils.py", line 568, in cmd return self.ssh_results(pid, f) File "/usr/local/bioinfo/src/ng6_sources/ng6-V3.2.7.4/src/weaver/../ng6/utils.py", line 561, in ssh_results got = self._read(f) File "/usr/local/bioinfo/src/ng6_sources/ng6-V3.2.7.4/src/weaver/../ng6/utils.py", line 538, in _read x = os.read(f, 1024)
Cause of the problem: When lauching an SSH connection with the ng6 user (Python : s = SSH(username, password, server_params[0]) ), a passphrase defined in /home/ng6/.ssh/id_rsa is asked.