Bug 1194774
| Summary: | qemu refuses to start if a disk is offline | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Stefan Hajnoczi <stefanha> |
| Component: | qemu-kvm | Assignee: | Stefan Hajnoczi <stefanha> |
| Status: | CLOSED NOTABUG | QA Contact: | CongLi <coli> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.0 | CC: | aliang, coli, hachen, hhuang, huding, juzhang, lersek, meyang, michen, ngu, pagupta, pingl, rbalakri, rhodain, stefanha, virt-bugs, virt-maint, xfu, xuwei |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1184363 | Environment: | |
| Last Closed: | 2017-12-08 17:03:26 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: | |||
| Bug Depends On: | 1184363 | ||
| Bug Blocks: | |||
|
Description
Stefan Hajnoczi
2015-02-20 17:42:05 UTC
Reproduce it with qemu-kvm-1.5.3-60.el7. host info: # uname -r && rpm -q qemu-kvm-rhev 3.10.0-229.el7.x86_64 qemu-kvm-1.5.3-60.el7 e.g:...-drive file=/dev/mapper/eiodev,if=none,id=drive-system-disk,format=raw,cache=none,aio=native,werror=stop,rerror=stop -device ide-drive,bus=ide.0,unit=0,drive=drive-system-disk,id=system-disk,bootindex=0 qemu-kvm: block.c:849: bdrv_open_common: Assertion `bdrv_opt_mem_align(bs) != 0' failed. Aborted (core dumped) ######## Tried it on qemu-kvm-rhev-2.1.2-9.el7.x86_64 which did not hit it. host info: # uname -r && rpm -q qemu-kvm-rhev 3.10.0-229.el7.x86_64 qemu-kvm-rhev-2.1.2-9.el7.x86_64 e.g:...-drive file=/dev/mapper/eiodev,if=none,id=drive-system-disk,format=raw,cache=none,aio=native,werror=stop,rerror=stop -device ide-drive,bus=ide.0,unit=0,drive=drive-system-disk,id=system-disk,bootindex=0 qemu-kvm: -drive file=/dev/mapper/eiodev,if=none,id=drive-system-disk,format=raw,cache=none,aio=native,werror=stop,rerror=stop: could not open disk image /dev/mapper/eiodev: Could not find working O_DIRECT alignment. Try cache.direct=off. Deferring to 7.3. Need to investigate offline disk behavior so QEMU can emulate that correctly. In a virtio-scsi scenario this should be quite doable, but there may be no good mapping for the offline state in virtio-blk and other storage controllers. Moving to RHEL 7.4. This is a rare configuration and I've discussed it with Hannes Reinnecke, trying to change this behavior will be quite involved. No new requests for starting a guest with failed multipath. Working on higher priority items in RHEL 7.4, deferring this to RHEL 7.5. Deferring to RHEL 7.6. No activity or requests for this feature upstream. I may close this BZ next release if there is no demand for it. There has been no activity or demand for this recently. It is therefore out of scope and unlikely to be addressed. |