Bug 607083
Summary: | virtinst disconnects CDROM drive during XP install, preventing stage 2 of install to complete | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Jes Sorensen <Jes.Sorensen> | ||||||
Component: | python-virtinst | Assignee: | Cole Robinson <crobinso> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 6.0 | CC: | crobinso, dyuan, gsun, hbrock, llim, nzhang, xen-maint | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | python-virtinst-0.500.3-5.el6 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2010-11-10 21:23:55 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: | 599016 | ||||||||
Attachments: |
|
Description
Jes Sorensen
2010-06-23 07:34:20 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. Argh, crap, you are right. This regressed with the rebase. We have tests attempting to cover this, but due to some unfortunate code complication we weren't actually testing the correct pieces. Fixed upstream now: http://hg.fedorahosted.org/hg/python-virtinst/rev/e5ab15cd4c24 *** Bug 607409 has been marked as a duplicate of this bug. *** Created attachment 427433 [details]
Backport of upstream fix
guest os is win2003_x86_64. Verified PASSED with python-virtinst-0.500.3-5.el6. install with windows xp guest still failed with this problem under python-virtinst-0.500.3-5.el6. guest os is win2003_i386. Verified PASSED with python-virtinst-0.500.3-5.el6. Wayne, how did you reproduce the failure? Did you make sure to indicate to either virt-install or virt-manager that you were installing a windows guest? If not, the CDROM won't remain attached. Cole, funny thing happen. I always specify guest type and version in virt-manager, and it failed always. But when i did not set the type and version, leave it both as Generic, the cdrom is show in hardware details but not connected, so i need to click the connect button to proceed the installation. It's better than the cdrom even not show up, but the bug still here. packages: libvirt-0.8.1-12.el6.x86_64 qemu-kvm-0.12.1.2-2.90.el6.x86_64 kernel: 2.6.32-37.el6.x86_64 virt-manager-0.8.4-6.el6.noarch python-virtinst-0.500.3-5.el6.noarch seabios-0.5.1-1.el6.x86_64 Here is the log: #cat /var/log/libvirt/qemu/winxp-again-notype LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -S -M rhel6.0.0 -enable-kvm -m 2048 -smp 2,sockets=2,cores=1,threads=1 -name winxp-again-notype -uuid d8c10e45-8cdb-6930-c682-ac894ebc7e77 -nodefconfig -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/winxp-again-notype.monitor,server,nowait -mon chardev=monitor,mode=control -rtc base=utc -no-reboot -boot d -drive file=/var/lib/libvirt/images/winxp-again-notype.img,if=none,id=drive-ide0-0-0,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -drive file=/home/wayne/en_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73974.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=20,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:3e:5e:76,bus=pci.0,addr=0x4 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -vnc 127.0.0.1:0 -k en-us -vga cirrus -device AC97,id=sound0,bus=pci.0,addr=0x5 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 char device redirected to /dev/pts/1 LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -S -M rhel6.0.0 -enable-kvm -m 2048 -smp 2,sockets=2,cores=1,threads=1 -name winxp-again-notype -uuid d8c10e45-8cdb-6930-c682-ac894ebc7e77 -nodefconfig -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/winxp-again-notype.monitor,server,nowait -mon chardev=monitor,mode=control -rtc base=utc -boot c -drive file=/var/lib/libvirt/images/winxp-again-notype.img,if=none,id=drive-ide0-0-0,boot=on,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=20,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:3e:5e:76,bus=pci.0,addr=0x4 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -vnc 127.0.0.1:0 -k en-us -vga cirrus -device AC97,id=sound0,bus=pci.0,addr=0x5 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 char device redirected to /dev/pts/1 I am seeing correct behavior. The command line you posted in Comment #10 indicates you did NOT select windows as the OS in virt-manager. Please provide the output of virt-manager --debug while reproducing. Created attachment 428595 [details]
virt-manager --debug output when install win xp without choosing the type and version
virt-manager --debug output when install win xp without choosing the type and version. This output just stopped at when after reboot the disc needed window pop out.
I think we miscommunicated here. You need to select 'windows' in order for the install media to remain attached. Not selecting 'windows' is expected to eject the install media, and require a manual insert step in the second stage of the install. I think this bug should be marked VERIFIED. python-virtinst-0.500.3-5.el6.noarch virt-manager-0.8.4-6.el6.noarch libvirt-0.8.1-13.el6.x86_64 Problem fixed, now after reboot, the cdrom still be connected to the guest. Changed status to VERIFIED refer to Comment 14. Red Hat Enterprise Linux 6.0 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you. |