cea-hpc/clustershell — Issue #152: scp -l limit option problem
Author: thiell
Created: 2012-03-03 16:48:51+00:00
State: open
Labels: Lib/Worker

How to reproduce this bug :

{{{
clush --user=root -p -d -w tux[01-03,05-13,15-20] -c /tmp/clush_output --dest=/tmp/
Warning: Consider increasing max open files hard limit (1024)
User interaction: True
Create STDIN worker: False
clush: nodeset=tux[01-03,05-13,15-20] fanout=64 [timeout conn=10.0 cmd=0.0] copy sources=['/tmp/clush_output'] dest=/tmp/
SCP: scp -p -l root -oConnectTimeout=30 -oBatchMode=yes /tmp/clush_output root@tux:/tmp/
[...]
tux01@STDERR: usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
tux01: usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
tux01@STDERR: [-l limit] [-o ssh_option] [-P port] [-S program]
tux01: [-l limit] [-o ssh_option] [-P port] [-S program]
tux01@STDERR: [[user@]host1:]file1 ... [[user@]host2:]file2
tux01: [[user@]host1:]file1 ... [[user@]host2:]file2
clush: tux01: exited with exit code 1
[...]
}}}

* The problem is : "scp -l root" doesn't work for my desktop. -l option means limit.

* A workaround :
{{{
clush -p -d -w root@tux[01-03,05-13,15-20] -c /tmp/clush_output --dest=/tmp/
}}}