Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 928592

Summary: Transfer file failed during migration : SCPError: SCP client said 'lost connection'
Product: Red Hat Enterprise Linux 5 Reporter: xhan
Component: kvmAssignee: Juan Quintela <quintela>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.10CC: juzhang, michen, mkenneth, rhod, shuang, virt-maint, xwei, yaxue
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-18 13:55:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
debug info
none
RHEL5.8 migrate with file transfer PASS info none

Description xhan 2013-03-28 02:40:45 UTC
Created attachment 717410 [details]
debug info

Description of problem:

Do file transfer during mirgation. SCPError: SCP client said 'lost connection'

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

Red Hat Enterprise Linux Server release 5.9 (Tikanga)

Host:
Kernel : 2.6.18-348.el5
gpxe-roms-qemu-0.9.7-9.el5
kvm-qemu-img-83-264.el5

Guest:
RHEL.6.3.64

How reproducible:
Once

Steps to Reproduce:
1. Starm VM
2. On host, create file: dd if=/dev/urandom of=/tmp/file-UmxS2N bs=1M count=500
2. Transfer the file to guest
3. During transfering, do migration
4. Wait for migration completed, if the file transfer exists then start next round of migration
5. Repeat step 4. 
  
Actual results:

SCPError: SCP client said 'lost connection'    (output: '\ndebug1: Authentication succeeded (password).\ndebug1: channel 0: new [client-session]\ndebug1: Entering interactive session.\ndebug1: Sending environment.\ndebug1: Sending env LANG = en_US.UTF-8\ndebug1: Sending command: scp -v -r -t /tmp/file\nSending file modes: C0644 524288000 file-UmxS2N\nSink: C0644 524288000 file-UmxS2N\nfile-UmxS2N                                     0%    0     0.0KB/s   --:-- ETAfile-UmxS2N                                     4%   24MB  24.1MB/s   00:19 ETAfile-UmxS2N                                     
... ...
12%   63MB   0.0KB/s - stalled -file-UmxS2N                                    12%   63MB   0.0KB/s - stalled -file-UmxS2N                                    12%   63MB   0.0KB/s - stalled -debug1: channel 0: free: client-session, nchannels 1\nfile-UmxS2N                                    12%   63MB   0.0KB/s - stalled -debug1: fd 0 clearing O_NONBLOCK\ndebug1: fd 1 clearing O_NONBLOCK\nRead from remote host 10.66.102.213: Connection reset by peer\ndebug1: Transferred: stdin 0, stdout 0, stderr 63 bytes in 209.5 seconds\ndebug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.3\ndebug1: Exit status -1\nlost connection\n')
01/16 22:33:28 ERROR| threading:0454| 

Expected results:

File tranfer should be compeled successfully.


Additional info:

The test job link:
https://virtlab.englab.nay.redhat.com/job/65928/details/

Debug infos:
http://fileshare.englab.nay.redhat.com/pub/logs//65928/default/2746423/sysinfo/

Comment 2 xhan 2013-04-01 09:36:25 UTC
Test result on RHEL5.8 - PASS

Host :
rpm -qa | grep kernel
kernel-headers-2.6.18-308.el5
kernel-2.6.18-308.20.1.el5
kernel-devel-2.6.18-308.el5
kernel-2.6.18-308.el5

rpm -qa | grep qemu
kvm-qemu-img-83-249.el5_8.5
gpxe-roms-qemu-0.9.7-8.el5

rpm -qa | grep kvm
etherboot-zroms-kvm-5.4.4-15.el5
kvm-83-249.el5_8.5
kvm-qemu-img-83-249.el5_8.5
kvm-tools-83-249.el5_8.5
kmod-kvm-83-249.el5_8.5
etherboot-roms-kvm-5.4.4-15.el5

Comment 3 xhan 2013-04-01 09:40:47 UTC
Created attachment 730226 [details]
RHEL5.8 migrate with file transfer PASS info