Hide Forgot
+++ This bug was initially created as a clone of Bug #785844 +++ 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
Fixed upstream in commit 9b6ca6545aa9be45f4133a8f13ebf6d267a60f9e.
Documentation note: this bug applies equally to xen+ssh and qemu+ssh.
Can reproduce it with virt-v2v-0.8.3-5.el6.x86_64. 1. create /etc/ssh/ssh_banner and add the banner info in it 2. update sshd config file: # no default banner path #Banner /path/banner file Banner /etc/ssh/ssh_banner 3. restart sshd in source server 4. convert the vm in source server -> hang
Tested the bug with virt-v2v-0.8.6-1.el6.x86_64 as comment 3 shows. It can convert xen guests successfully with banner info in source server.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause The customer attempts to convert a guest which is accessed over an ssh connection. The target host has an SSH login banner configured. Specifically this will involved virt-v2v command lines with the option -ic xen+ssh://... or -ic qemu+ssh://.... Consequence The conversion process hangs indefinitely. Fix virt-v2v was updated to ignore SSH login banners. Result The conversion completes correctly.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0788.html