RemoteCommandError: Got non-zero return code (255) executing hostname
See original GitHub issueHello,
I am trying to run fio on AWS using perfkit benchmarker using the command:
./pkb.py --cloud=AWS --benchmarks=fio --machine_type=m4.xlarge --data_disk_type=gp2 --zones=eu-central-1
That generates an error:
RemoteCommandError: Got non-zero return code (255) executing hostname Full command: ssh -A -p 22 ubuntu@18.204.56.184 -2 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -o PreferredAuthentications=publickey -o PasswordAuthentication=no -o ConnectTimeout=5 -o GSSAPIAuthentication=no -o ServerAliveInterval=30 -o ServerAliveCountMax=10 -i /var/folders/gz/hbmv14pn5_q6tv8scqvj10fr0000gp/T/perfkitbenchmarker/runs/c7a0d238/perfkitbenchmarker_keyfile -o ControlPath=“/var/folders/gz/hbmv14pn5_q6tv8scqvj10fr0000gp/T/perfkitbenchmarker/runs/c7a0d238/ssh/%C” -o ControlMaster=auto -o ControlPersist=10m hostname STDOUT: STDERR: ControlPath too long (‘/var/folders/gz/hbmv14pn5_q6tv8scqvj10fr0000gp/T/perfkitbenchmarker/runs/c7a0d238/ssh/54fe57a3b140329fb46e97c8f9a3fb0991e068f2’ >= 104 bytes)
I tried running with --data_disk_type=io1
also, but faced the same error.
Appreciate your help.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
I just ran into the same issue, and adding flag
--ssh_reuse_connections=False
sorted it out.The other option is --ssh_reuse_connections=False The change is committed recently to speed up ssh connections.