parallel-rsync -z -r -O 'IdentityFile=/home/james/Projects/ssh/control.pem' -l control -H ec2-46-51-187-11.eu-west-1.compute.amazonaws.com -H ec2-176-34-215-214.eu-west-1.compute.amazonaws.com '/home/james/test.txt' '/tmp/'
Traceback (most recent call last):
File "/usr/bin/parallel-rsync", line 125, in <module>
do_prsync(hosts, local, remote, opts)
File "/usr/bin/parallel-rsync", line 78, in do_prsync
cmd = ['rsync', '-e', ' '.join(ssh)]
TypeError: sequence item 2: expected string, list found
1) This is a bug in the parallel-rsync command at /usr/bin, and in the pssh package (apt-cache policy pssh):
pssh:
Installed: 2.2.2-1
Candidate: 2.2.2-1
Version table:
*** 2.2.2-1 0
500 http://gb.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages
100 /var/lib/dpkg/status
Example command:
parallel-rsync -z -r -O 'IdentityFile= /home/james/ Projects/ ssh/control. pem' -l control -H ec2-46- 51-187- 11.eu-west- 1.compute. amazonaws. com -H ec2-176- 34-215- 214.eu- west-1. compute. amazonaws. com '/home/ james/test. txt' '/tmp/' parallel- rsync", line 125, in <module> prsync( hosts, local, remote, opts) parallel- rsync", line 78, in do_prsync
Traceback (most recent call last):
File "/usr/bin/
do_
File "/usr/bin/
cmd = ['rsync', '-e', ' '.join(ssh)]
TypeError: sequence item 2: expected string, list found
1) This is a bug in the parallel-rsync command at /usr/bin, and in the pssh package (apt-cache policy pssh): gb.archive. ubuntu. com/ubuntu/ precise/universe i386 Packages dpkg/status
pssh:
Installed: 2.2.2-1
Candidate: 2.2.2-1
Version table:
*** 2.2.2-1 0
500 http://
100 /var/lib/
2) On Ubuntu 12.04 (lsb_release -rd):
Description: Ubuntu 12.04.1 LTS
Release: 12.04
3) I expect a return value of 0, and for the file to have been uploaded to all the remote servers by rsync
4) I got the error shown above.
ProblemType: Bug ature: Ubuntu 3.2.0-29. 46-generic- pae 3.2.24 generic- pae i686 ture: all
DistroRelease: Ubuntu 12.04
Package: pssh 2.2.2-1
ProcVersionSign
Uname: Linux 3.2.0-29-
ApportVersion: 2.0.1-0ubuntu12
Architecture: i386
Date: Wed Oct 31 22:15:29 2012
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3)
PackageArchitec
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: pssh
UpgradeStatus: No upgrade log present (probably fresh install)