Project

General

Profile

Actions

Bug #34311

closed

ceph-volume rsync can't determine vagrant VM hosts, breaks tests

Added by Alfredo Deza over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

TASK [rsync ceph-volume to test nodes on centos] *******************************
task path: /tmp/tox.hL3Xi99boa/centos7-bluestore-single_type/tmp/ceph-ansible/deploy.yml:103
fatal: [osd0]: FAILED! => {
    "changed": false, 
    "cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --rsh=/usr/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null --rsync-path=sudo rsync --out-format=<<CHANGED>>%i %n%L /home/jenkins-build/build/workspace/ceph-volume-prs-batch-centos7-bluestore-single_type/src/ceph-volume/ceph_volume/tests/functional/batch/../../../../ceph_volume osd0:/usr/lib/python2.7/site-packages", 
    "rc": 255
}

MSG:

ssh: Could not resolve hostname osd0: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(605) [sender=3.0.9]
Actions #1

Updated by Alfredo Deza over 5 years ago

What needs to happen here is that the ssh config file needs to be passed into rsync, probably using the `use_ssh_args` which would make it inherit from ANSIBLE which is what we do for plain ssh

Actions #2

Updated by Alfredo Deza over 5 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF