Bug 641208
| Summary: | Installation failed after live migration . | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Mike Cao <bcao> | ||||||||||
| Component: | qemu-kvm | Assignee: | Juan Quintela <quintela> | ||||||||||
| Status: | CLOSED WORKSFORME | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||||||
| Severity: | medium | Docs Contact: | |||||||||||
| Priority: | medium | ||||||||||||
| Version: | 6.0 | CC: | amit.shah, bcao, chayang, gcosta, lcapitulino, lihuang, michen, mkenneth, tburke, virt-maint | ||||||||||
| Target Milestone: | beta | Keywords: | Triaged | ||||||||||
| Target Release: | 6.1 | ||||||||||||
| Hardware: | All | ||||||||||||
| OS: | Linux | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2011-06-08 12:29:53 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: | 580951 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Mike Cao
2010-10-08 02:44:25 UTC
Created attachment 452251 [details]
do migration at this step of installation.
Created attachment 452252 [details]
Screen dump after migration
Does the cdrom resides on local storage or shared storage? We can't live migrate with local storage. In this case this is not a bug. (In reply to comment #3) > Does the cdrom resides on local storage or shared storage? > We can't live migrate with local storage. In this case this is not a bug. I did local live migration finding the issue. the cdrom is shared. In which stage does it fail? I'm trying to reproduce with upstream qemu (not exactly the same command-line) but it works. Will try with rhel6.0 soon. (In reply to comment #7) > In which stage does it fail? I'm trying to reproduce with upstream qemu (not > exactly the same command-line) but it works. > > Will try with rhel6.0 soon. you can use RHEL4 guest iso to reproduce ,it is very easy to trigger. I could not reproduce it so far, here go some details. Basic procedure: 1. Boot with RHEL3 or RHEL4 2. Migrate the VM at the "CD Found" screen 3. Proceed with the installation in the destination VM 4. Boot the just installed VM Results so far: - Tried twice with latest qemu.git (facf1a60f29) using RHEL3 iso on a f12 host, it worked just fine - Tried with latest rhel6.1 qemu-kvm (76a4a8cfb6a29) on a mixed rhel6.0 and rhel6.1 host with rhel3 iso, it didn't boot! (looks like an unrelated issue, will take a closer look) - Tried the same setup above with a rhel4 iso _once_, it worked Mike, I need to know at which stage the installation fails, because it takes some time to do a full install. Actually, I'm doing the "minimal" set, but it also takes a bit because my connection to the virtlab is very slow, not to mention that the package selection could have influence on the bug. Hi ,Luiz. I tried a whole morning to do migration during guest installation .only reproduced one time .I hit this issue only one time . I don't know the exact stage and just do migration back and forth while guest in installation. similar with the senario2 in https://bugzilla.redhat.com/show_bug.cgi?id=618601#c12 Created attachment 474442 [details]
Screen dump after migration
This seems to be a hard one then. Reproduced on # uname -r 2.6.32-118.el6.x86_64 # rpm -q qemu-kvm qemu-kvm-0.12.1.2-2.148.el6.x86_64 Guest RHEL6.1 64bit How reproducible: 2/10 steps: 1.start VM on src host with -kernel -initrd eg: /usr/libexec/qemu-kvm -enable-kvm -m 4G -smp 4 -name rhel6U1 -uuid adcbfb49-3411-2701-3c36-6bdbc00bedb8 -rtc base=utc,clock=host,driftfix=slew -boot c -drive file=/dev/mike/TT,if=none,id=mike_d1,format=qcow2,cache=none,werror=stop,rerror=stop -device virtio-blk-pci,drive=mike_d1,id=mike_d1 -netdev tap,id=hostnet0,vhost=on -device virtio-net-pci,netdev=hostnet0,id=net0,mac=a2:51:50:a4:c2:21 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -device usb-tablet,id=input0 -vnc :4 -device virtio-balloon-pci,id=ballooning -monitor stdio -kernel /mnt/pxe/vmlinuz -initrd /mnt/pxe/initrd.img 2.start the listenning port 3.do live migration when guest is formating fdisk ,then migration back when guest is copying files from HTTP server Actual Results: "Error installing package" occurs ,screen dump will attached. Additional info: 1.Did not use a cdrom or iso 2.not 100% reproducible. Created attachment 482623 [details]
Screen dump when error occurs
Tried the following steps 100% hit the issue. 2.6.32-118.el6.x86_64 # rpm -q qemu-kvm qemu-kvm-0.12.1.2-2.148.el6.x86_64 Guest RHEL6.1 64bit How reproducible: 3/3 steps 1.start VM on host A(CLI same as comment #14) 2.start listenning port on host B 3.do live migration when the step of installation is formating disks from host A to host B. 4.offline migration to compressed file on host B when the step of installation is copying files from HTTP Server, the compressed file located in a shared storage (qemu) migrate -d "exec:gzip -c > /mnt/migration.gz" 5.start the listenning port on host A <CLI> -incoming "exec:gzip -c -d /mnt/migration.gz" 6.waiting guest installation complete. Actual Results installation failed due to "Error Installing Package" In the guest #demsg dracut[4136]:segfault at 8 ip 00007f8c63e67353 sp 0007fffbbb3e630 error 4 in ld-2.12.so[7f8c63e5c000+1e000] sh[4138]:segfault at 8 ip 00007f5abc79a353 sp 0007fff5ae6cbe0 error 4 in ld-2.12.so[7f5abc78f000+1e000] Hit same issue with following CLI when installing rhel5.6 guest, then ping-pong migrate during rpm package installation. /usr/libexec/qemu-kvm -M rhel6.1.0 -enable-kvm -m 4096 -smp 4 -name rhel5.6-32 -uuid `uuidgen` -rtc base=utc,clock=host,driftfix=slew -no-kvm-pit-reinjection -boot dc -drive file=/dev/chayang/test-installation,if=none,id=drive-virtio0-0-0,media=disk,format=qcow2,cache=none,werror=stop,rerror=stop -device virtio-blk-pci,drive=drive-virtio0-0-0,id=virt0-0-0 -netdev tap,id=hostnet1 -device virtio-net-pci,netdev=hostnet1,id=net1,mac=52:54:40:81:11:53 -usb -device usb-tablet,id=input1 -vnc :0 -monitor stdio -balloon none -cdrom /mnt/RHEL5.6-Server-20110106.0-i386-DVD.iso -incoming tcp:0:6000 Can you restest? This should be fixed on 6.1 with Markus & Amit cdrom fixes. (In reply to comment #20) > Can you restest? This should be fixed on 6.1 with Markus & Amit cdrom fixes. Tried both windows & linux guest . Could not reproduce . (In reply to comment #21) > (In reply to comment #20) > > Can you restest? This should be fixed on 6.1 with Markus & Amit cdrom fixes. > > Tried both windows & linux guest . > > Could not reproduce . Great; closing then. |