-
Notifications
You must be signed in to change notification settings - Fork 152
Closed
Description
Sorry for using the issue section but I could not find a mailing list or similar.
I am using PSSH to execute a script on - for now - a single node
sshKey=paramiko.RSAKey.from_private_key_file('mysshkeypath',password='mypw'))
ParallelSSHClient(hosts=['myipaddress'], user='node', pkey=sshKey)
client.exec_command(`/home/node/circus/start.sh`)
with /home/node/circus/start.sh
being
touch /tmp/test1
circusd /home/node/circus/circus.ini &>/tmp/console.log &
touch /tmp/test2
While the touch
es get executed, the circusd
is not. No console.log is created.
When I execute the above call using a single SSH client everything works just fine.
If I remove the &
to make it a synchronous call, Circus spawns and PSSH blocks until I kill the process on the remote machine manually - as expected.
Can someone explain me what is the problem here?
Am I using PSSH wrong? This does not seem to be a Circus-issue since I can start the scripts locally and via SSH client without any issue.
Metadata
Metadata
Assignees
Labels
No labels