Bug 785844

Summary: virt-v2v hangs if source server has a ssh banner when using -ic xen+ssh:
Product: [Community] Virtualization Tools Reporter: Patrick Boutilier <boutilpj>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: yupzhang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 786114 786115 (view as bug list) Environment:
Last Closed: 2012-01-31 14:07:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 786114, 786115    

Description Patrick Boutilier 2012-01-30 18:46:08 UTC
Description of problem:

virt-v2v hangs if source server has a ssh banner when using -ic xen+ssh:

Version-Release number of selected component (if applicable):

0.8.3

How reproducible:

Always

Steps to Reproduce:
1. Configure a banner on source server
2. Run something like

   virt-v2v -ic xen+ssh://root.10.10 -os STGPOOL --bridge br0 XenVM

3.
  
Actual results:

virt-v2v just hangs, no error.


Expected results:

virt-v2v completes and migrates Xen VM.


Additional info:

I get around the problem by adding a -q to the ssh command in /usr/share/perl5/vendor_perl/Sys/VirtConvert/Transfer/SSH.pm

Comment 1 Matthew Booth 2012-01-31 14:07:48 UTC
Thanks. I've pushed this fix upstream and cloned the bug into RHEL and Fedora.

Comment 2 yuping zhang 2012-06-14 05:56:21 UTC
Hi matt,

I still meet this problem with virt-v2v-0.8.3-2.fc17.x86_64.
virt-v2v hangs if xen server has a ssh banner.