Bug 880557
| Summary: | Guest failed to reboot when throttling system disk as iops_wr=100 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | juzhang <juzhang> | ||||||
| Component: | qemu-kvm | Assignee: | Fam Zheng <famz> | ||||||
| Status: | CLOSED WORKSFORME | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 7.0 | CC: | juzhang, knoel, michen, qzhang, rhod, virt-maint, xfu | ||||||
| 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: | 2014-02-21 15:27:45 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
juzhang
2012-11-27 10:22:26 UTC
Created attachment 652565 [details]
screenshot1
Created attachment 652566 [details]
screenshot2
Guest hang between screenshot1 and screenshot2 in the loop.
Unable to reproduce on qemu-kvm-1.2.0-17.el7 and rhel7/master (60e3fdc327c6ee289faae766d282b3ea7a542c7e). Do you have a link to RPMs that reproduce the bug for you? I had to cut down the command-line because there were many CD-ROMs and disks (I didn't have enough image files laying around). Can you reproduce it with a shorter command-line? Here is my command-line: /usr/libexec/qemu-kvm -cpu host -m 2048 -smp 2,sockets=1,cores=2,threads=1 -enable-kvm -name rhel64 -smbios type=1,manufacturer='Red Hat',product='RHEV Hypervisor',version=el6,serial=koTUXQrb,uuid=feebc8fd-f8b0-4e75-abc3-e63fcdb67170 -k en-us -rtc base=localtime,clock=host,driftfix=slew -drive file=path/to/an.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=3 -monitor stdio -qmp tcp:0:6666,server,nowait -boot menu=on -drive file=rhel6u4.qcow2,if=none,id=drive-scsi-disk,format=qcow2,cache=none,werror=stop,rerror=stop,iops_wr=100 -device virtio-scsi-pci,id=scsi0,addr=0x5 -device scsi-disk,drive=drive-scsi-disk,bus=scsi0.0,scsi-id=0,lun=0,id=scsi-disk,bootindex=1 -netdev user,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=00:1a:4a:2e:28:1a,bus=pci.0,addr=0x4,bootindex=2 -chardev socket,path=/tmp/isa-serial,server,nowait,id=isa1 -device isa-serial,chardev=isa1,id=isa-serial1 -vnc :10 -balloon virtio -smbios type=0,vendor=DW,version=0.1,date=2011-11-22,release=0.1 -device usb-ehci,id=ehci -device sga -chardev socket,id=serial0,path=/tmp/test1,server,nowait -device isa-serial,chardev=serial0 (In reply to comment #3) > Unable to reproduce on qemu-kvm-1.2.0-17.el7 and rhel7/master > (60e3fdc327c6ee289faae766d282b3ea7a542c7e). > > Do you have a link to RPMs that reproduce the bug for you? > > I had to cut down the command-line because there were many CD-ROMs and disks > (I didn't have enough image files laying around). Can you reproduce it with > a shorter command-line? > > Here is my command-line: > > /usr/libexec/qemu-kvm -cpu host -m 2048 -smp 2,sockets=1,cores=2,threads=1 > -enable-kvm -name rhel64 -smbios type=1,manufacturer='Red Hat',product='RHEV > Hypervisor',version=el6,serial=koTUXQrb,uuid=feebc8fd-f8b0-4e75-abc3- > e63fcdb67170 -k en-us -rtc base=localtime,clock=host,driftfix=slew -drive > file=path/to/an.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on, > format=raw -device > ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=3 > -monitor stdio -qmp tcp:0:6666,server,nowait -boot menu=on -drive > file=rhel6u4.qcow2,if=none,id=drive-scsi-disk,format=qcow2,cache=none, > werror=stop,rerror=stop,iops_wr=100 -device > virtio-scsi-pci,id=scsi0,addr=0x5 -device > scsi-disk,drive=drive-scsi-disk,bus=scsi0.0,scsi-id=0,lun=0,id=scsi-disk, > bootindex=1 -netdev user,id=hostnet0 -device > e1000,netdev=hostnet0,id=net0,mac=00:1a:4a:2e:28:1a,bus=pci.0,addr=0x4, > bootindex=2 -chardev socket,path=/tmp/isa-serial,server,nowait,id=isa1 > -device isa-serial,chardev=isa1,id=isa-serial1 -vnc :10 -balloon virtio > -smbios type=0,vendor=DW,version=0.1,date=2011-11-22,release=0.1 -device > usb-ehci,id=ehci -device sga -chardev > socket,id=serial0,path=/tmp/test1,server,nowait -device > isa-serial,chardev=serial0 Stefan, Can reproduce this issue with your command line. steps: 1.boot rhel6.4-64 guest /usr/libexec/qemu-kvm -cpu host -m 2048 -smp 2,sockets=1,cores=2,threads=1 -enable-kvm -name rhel64 -smbios type=1,manufacturer='Red Hat',product='RHEV Hypervisor',version=el6,serial=koTUXQrb,uuid=feebc8fd-f8b0-4e75-abc3-e63fcdb67170 -k en-us -rtc base=localtime,clock=host,driftfix=slew -drive file=an.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=3 -monitor stdio -qmp tcp:0:6666,server,nowait -boot menu=on -drive file=/home/RHEL-Server-6.4-64-2.qcow2,if=none,id=drive-scsi-disk,format=qcow2,cache=none,werror=stop,rerror=stop,iops_wr=100 -device virtio-scsi-pci,id=scsi0,addr=0x5 -device scsi-disk,drive=drive-scsi-disk,bus=scsi0.0,scsi-id=0,lun=0,id=scsi-disk,bootindex=1 -netdev user,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=00:1a:4a:2e:28:1a,bus=pci.0,addr=0x4,bootindex=2 -chardev socket,path=/tmp/isa-serial,server,nowait,id=isa1 -device isa-serial,chardev=isa1,id=isa-serial1 -vnc :10 -balloon virtio -smbios type=0,vendor=DW,version=0.1,date=2011-11-22,release=0.1 -device usb-ehci,id=ehci -device sga -chardev socket,id=serial0,path=/tmp/test1,server,nowait -device isa-serial,chardev=serial0 2. reboot guest When the guest is hung, could you see any change on block statistics (QMP query-blockstats)? (i.e. are the IO statistic numbers still going up?) Thanks, Fam Hi Xiangchun, Could you add your comment since you tested this scenario in comment4? Best Regards, Junyi Re-tested this bug with qemu-kvm-rhev-1.5.3-47.el7.x86_64 and kernel 3.10.0-85.el7.x86_64. and tested two linux guests RHEL6.4 and RHEL6.5. According to comment 0 & comment 4. Both can not reproduce this bug. This problem goes away. I tested multiple times on AMD and Intel host. Guest works well. Since this cannot be reproduced, close as WORKSFORME. |