Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Improve error message after block_resize big size
Version-Release number of selected component (if applicable):
Host:
# uname -r
3.6.0-0.29.el7.x86_64
# rpm -q qemu-kvm
qemu-kvm-1.2.0-18.el7.x86_64
Guest:
uname -r
2.6.32-344.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1.Boot guest
2.Block_resize big size
(qemu) block_resize drive-virtio-disk0 10240--->sucessfully
(qemu) block_resize drive-virtio-disk0 20480--->succesfully
(qemu) block_resize drive-virtio-disk0 2242424242
An undefined error has occurred
(qemu) block_resize drive-virtio-disk0 2242424242
An undefined error has occurred
(qemu) block_resize drive-virtio-disk0 2242424242
An undefined error has occurred
(qemu) block_resize drive-virtio-disk0 2242424242
An undefined error has occurred
Actual results:
After block_resize big size,show "An undefined error has occurred".
Expected results:
Shoud give the error info can be described in detail.
Additional info:
1)virtio-blk virtio-scsi disk both have same problem.
2)Img type raw
3)After hit the problem,guest work well.
4)QMP
# telnet 10.66.85.215 4445
Trying 10.66.85.215...
Connected to 10.66.85.215.
Escape character is '^]'.
{"QMP": {"version": {"qemu": {"micro": 0, "minor": 2, "major": 1}, "package": " (qemu-kvm-1.2.0)"}, "capabilities": []}}
{"execute": "qmp_capabilities"}
{"return": {}}
{ "execute": "block_resize", "arguments": { "device": "drive-ide0-0-0","size":47924729472947294729472947294729}}
{"error": {"class": "GenericError", "desc": "An undefined error has occurred"}}
CLI:
/usr/libexec/qemu-kvm -M pc-1.2 -cpu Westmere -enable-kvm -uuid `uuidgen` -rtc base=localtime,clock=host,driftfix=slew -m 10G -smp 4,sockets=2,cores=2,threads=1 -name rhel6.3.z -drive file=/home/rhel6.4-latest.raw,if=none,id=drive-virtio-disk0,format=raw,cache=none,aio=native,media=disk,werror=stop,rerror=stop -device virtio-scsi-pci,id=bus1,addr=0x4 -device scsi-hd,bus=bus1.0,drive=drive-virtio-disk0,id=virtio-scsi-pci0 -monitor stdio -boot c -vnc :0
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.
Description of problem: Improve error message after block_resize big size Version-Release number of selected component (if applicable): Host: # uname -r 3.6.0-0.29.el7.x86_64 # rpm -q qemu-kvm qemu-kvm-1.2.0-18.el7.x86_64 Guest: uname -r 2.6.32-344.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1.Boot guest 2.Block_resize big size (qemu) block_resize drive-virtio-disk0 10240--->sucessfully (qemu) block_resize drive-virtio-disk0 20480--->succesfully (qemu) block_resize drive-virtio-disk0 2242424242 An undefined error has occurred (qemu) block_resize drive-virtio-disk0 2242424242 An undefined error has occurred (qemu) block_resize drive-virtio-disk0 2242424242 An undefined error has occurred (qemu) block_resize drive-virtio-disk0 2242424242 An undefined error has occurred Actual results: After block_resize big size,show "An undefined error has occurred". Expected results: Shoud give the error info can be described in detail. Additional info: 1)virtio-blk virtio-scsi disk both have same problem. 2)Img type raw 3)After hit the problem,guest work well. 4)QMP # telnet 10.66.85.215 4445 Trying 10.66.85.215... Connected to 10.66.85.215. Escape character is '^]'. {"QMP": {"version": {"qemu": {"micro": 0, "minor": 2, "major": 1}, "package": " (qemu-kvm-1.2.0)"}, "capabilities": []}} {"execute": "qmp_capabilities"} {"return": {}} { "execute": "block_resize", "arguments": { "device": "drive-ide0-0-0","size":47924729472947294729472947294729}} {"error": {"class": "GenericError", "desc": "An undefined error has occurred"}} CLI: /usr/libexec/qemu-kvm -M pc-1.2 -cpu Westmere -enable-kvm -uuid `uuidgen` -rtc base=localtime,clock=host,driftfix=slew -m 10G -smp 4,sockets=2,cores=2,threads=1 -name rhel6.3.z -drive file=/home/rhel6.4-latest.raw,if=none,id=drive-virtio-disk0,format=raw,cache=none,aio=native,media=disk,werror=stop,rerror=stop -device virtio-scsi-pci,id=bus1,addr=0x4 -device scsi-hd,bus=bus1.0,drive=drive-virtio-disk0,id=virtio-scsi-pci0 -monitor stdio -boot c -vnc :0