Project

General

Profile

Bug #34311

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

Added by Alfredo Deza 9 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Immediate
Assignee:
-
Target version:
-
Start date:
08/28/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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]

History

#1 Updated by Alfredo Deza 9 months 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

#2 Updated by Alfredo Deza 9 months ago

  • Status changed from New to Resolved

Also available in: Atom PDF