Bug 1582122
| Summary: | IOERROR pause code lost after resuming a VM while I/O error is still present [rhel-7.5.z] | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Oneata Mircea Teodor <toneata> |
| Component: | qemu-kvm-rhev | Assignee: | Markus Armbruster <armbru> |
| Status: | CLOSED ERRATA | QA Contact: | CongLi <coli> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.5 | CC: | aliang, armbru, chayang, chhu, coli, dyuan, jdenemar, jherrman, jiyan, jsuchane, juzhang, knoel, lmen, michal.skrivanek, michen, mrezanin, mtessun, mzamazal, ngu, rbalakri, virt-maint, xuwei, xuzhang, yanqzhan, yhong |
| Target Milestone: | rc | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | qemu-kvm-rhev-2.10.0-21.el7_5.4 | Doc Type: | Bug Fix |
| Doc Text: |
Under certain circumstances, resuming a paused guest generated redundant "VIR_DOMAIN_PAUSED_UNKNOWN" error messages in the libvirt log. This update corrects the event sending order when resuming guests, which prevents the errors being logged.
|
Story Points: | --- |
| Clone Of: | 1566153 | Environment: | |
| Last Closed: | 2018-06-27 08:24:51 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: | 1566153 | ||
| Bug Blocks: | 1526025 | ||
|
Description
Oneata Mircea Teodor
2018-05-24 09:37:37 UTC
Fix included in qemu-kvm-rhev-2.10.0-21.el7_5.4 Verified this bug on qemu-kvm-rhev-2.10.0-21.el7_5.4.x86_64:
1. Create a scratch image
$ dd if=/dev/zero of=scratch.img bs=1M count=100
2. Prepare blkdebug configuration:
$ cat >blkdebug.conf <<EOF
[inject-error]
event = "write_aio"
errno = "5"
EOF
3. Run a guest with an additional scratch disk
-drive id=drive_image2,if=none,werror=stop,file=blkdebug:/root/blkdebug.conf:scratch.img,format=raw \
-device scsi-hd,id=image2,drive=drive_image2 \
4. Connect to the QMP socket
5. Boot the guest.
6. In the guest, write to the scratch disk
# dd if=/dev/zero of=/dev/sdb count=1
7. Issue QMP command 'cont':
QMP> { "execute": "cont" }
After step 6:
{"timestamp": {"seconds": 1528789960, "microseconds": 913452}, "event": "BLOCK_IO_ERROR", "data": {"device": "drive_image2", "nospace": false, "__com.redhat_reason": "eio", "node-name": "#block437", "reason": "Input/output error", "operation": "write", "action": "stop"}}
{"timestamp": {"seconds": 1528789960, "microseconds": 916870}, "event": "STOP"}
After step 7:
{"timestamp": {"seconds": 1528790040, "microseconds": 507430}, "event": "RESUME"}
{"timestamp": {"seconds": 1528790040, "microseconds": 508316}, "event": "BLOCK_IO_ERROR", "data": {"device": "drive_image2", "nospace": false, "__com.redhat_reason": "eio", "node-name": "#block437", "reason": "Input/output error", "operation": "write", "action": "stop"}}
{"timestamp": {"seconds": 1528790040, "microseconds": 509598}, "event": "STOP"}
The event ordering 'RESUME' -> 'BLOCK_IO_ERROR' -> 'STOP' is triggered as expected.
Thanks.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:2060 *** Bug 1612943 has been marked as a duplicate of this bug. *** |