After upgrading from 4.7 to 4.11 Rundeck opensource; our jobs running remote commands to Linux target nodes returns "Failed: Unknown: null" . Our test job is just issuing remote command "date" to the target nodes in the workflow.
{
"nodename": "
node1.mytest.com",
"type": "Node",
"hostname": "
node1.mytest.com",
"tags": [
],
"os": "Linux",
"os_name": "Linux",
"osFamily": "unix",
"sudo-command-enabled": "true",
"sudo-password-option": "option.sshPassword",
"username": "${option.username}",
"password-option": "option.sshPassword",
},
[workflow] beginExecuteNodeStep(
node1.mytest.com): NodeDispatch: CommandItem{label='Issue Date Command', command=[1 words]}
[sshj-ssh] username: rurobin
[sshj-ssh] init SSHJDefaultConfig
[sshj-ssh] setting timeouts
[sshj-ssh] getConnectTimeout timeout: 0
[sshj-ssh] getTimeout timeout: 0
[sshj-ssh] keepAliveInterval: 5
[sshj-ssh] adding loadKnownHosts
[sshj-ssh] open connection
[net.schmizz.sshj.transport.TransportImpl] Client identity string: SSH-2.0-SSHJ_0.35.0
[net.schmizz.sshj.transport.TransportImpl] Server identity string: SSH-2.0-OpenSSH_7.4
[net.schmizz.sshj.SSHClient] Initiating Key Exchange for new connection
[net.schmizz.concurrent.Promise] Setting <<kex done>> to `null`
[net.schmizz.sshj.transport.KeyExchanger] Sending SSH_MSG_KEXINIT
[net.schmizz.concurrent.Promise] Setting <<kexinit sent>> to `SOME`
[net.schmizz.sshj.transport.KeyExchanger] Received SSH_MSG_KEXINIT
[net.schmizz.concurrent.Promise] Awaiting <<kex done>>
[net.schmizz.sshj.transport.KeyExchanger] Negotiated algorithms: [ kex=curve25519-sha256; sig=rsa-sha2-512; c2sCipher=aes128-ctr; s2cCipher=aes128-ctr; c2sMAC=hmac-sha1; s2cMAC=hmac-sha1; c2sComp=none; s2cComp=none; ]
[net.schmizz.sshj.transport.KeyExchanger] Received kex followup data
[net.schmizz.sshj.transport.KeyExchanger] Trying to verify host key with net.schmizz.sshj.transport.verification.PromiscuousVerifier@5f57b7ff
[net.schmizz.sshj.transport.KeyExchanger] Sending SSH_MSG_NEWKEYS
[net.schmizz.sshj.transport.KeyExchanger] Received SSH_MSG_NEWKEYS
[net.schmizz.concurrent.Promise] Setting <<kexinit sent>> to `null`
[net.schmizz.concurrent.Promise] Setting <<kex done>> to `SOME`
[net.schmizz.sshj.transport.TransportImpl] Received SSH_MSG_EXT_INFO
[net.schmizz.sshj.SSHClient] Key exchange took 0.016 seconds
[sshj-ssh] connection done
[net.schmizz.concurrent.Promise] Setting <<service accept>> to `null`
[net.schmizz.sshj.transport.TransportImpl] Sending SSH_MSG_SERVICE_REQUEST for ssh-userauth
[net.schmizz.concurrent.Promise] Awaiting <<service accept>>
[net.schmizz.sshj.transport.TransportImpl] Setting active service to ssh-userauth
[net.schmizz.concurrent.Promise] Setting <<service accept>> to `SOME`
[net.schmizz.concurrent.Promise] Setting <<authenticated>> to `null`
[net.schmizz.sshj.userauth.UserAuthImpl] Trying `password` auth...
[net.schmizz.concurrent.Promise] Awaiting <<authenticated>>
[net.schmizz.sshj.transport.TransportImpl] Setting active service to ssh-connection
[net.schmizz.concurrent.Promise] Setting <<authenticated>> to `true`
[net.schmizz.sshj.userauth.UserAuthImpl] `password` auth successful
[sshj-ssh] authentication set
[sshj-ssh] connection done
[sshj-ssh] open connection
[net.schmizz.sshj.transport.TransportImpl] Client identity string: SSH-2.0-SSHJ_0.35.0
[net.schmizz.sshj.transport.TransportImpl] Server identity string: SSH-2.0-OpenSSH_7.4
SSH command execution error: Unknown: null
[net.schmizz.sshj.transport.TransportImpl] Disconnected - BY_APPLICATION
[net.schmizz.sshj.connection.ConnectionImpl] Notified of net.schmizz.sshj.transport.TransportException: [BY_APPLICATION] Disconnected
[net.schmizz.sshj.transport.TransportImpl] Sending SSH_MSG_DISCONNECT: reason=[BY_APPLICATION], msg=[]
[net.schmizz.concurrent.Promise] Setting <<transport close>> to `SOME`
[net.schmizz.sshj.transport.Reader] Stopping