Bug 1250328 - qemu should change to 'pause' if glusterfs server is not connected.
qemu should change to 'pause' if glusterfs server is not connected.
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev (Show other bugs)
x86_64 Unspecified
medium Severity medium
: rc
: ---
Assigned To: Jeff Cody
Virtualization Bugs
Depends On:
  Show dependency treegraph
Reported: 2015-08-05 03:43 EDT by Qian Guo
Modified: 2017-01-30 18:05 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-01-30 18:05:41 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Comment 5 Jeff Cody 2017-01-30 18:05:41 EST
Tested with qemu-kvm-rhev-2.3.0-14.el7.x86_64 and upstream master, in both instances gluster will stop on error.


/usr/libexec/qemu-kvm -enable-kvm -drive file=f18-compact.qcow2,if=virtio,boot=on,aio=native,cache=none,discard=unmap  -m 1024 -boot c -qmp stdio -drive file=gluster://,if=virtio,werror=stop,rerror=stop


{"timestamp": {"seconds": 1485816906, "microseconds": 359720}, "event": "BLOCK_IO_ERROR", "data": {"device": "virtio1", "nospace": false, "__com.redhat_reason": "eperm", "reason": "Operation not permitted", "operation": "read", "action": "stop"}}
{"timestamp": {"seconds": 1485816906, "microseconds": 359937}, "event": "STOP"}

In the comment #1, the werror and rerror options are omitted.  To stop on errors, use werror=stop,rerror=stop or werror=enospc,rerror=enospc.  By default, QEMU will not stop pause on error.

Closing as NOTABUG.

Note You need to log in before you can comment on or make changes to this bug.