Bug 1336310
Summary: | virtio-scsi data-plane does not support block management QMP commands | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Pei Zhang <pezhang> |
Component: | qemu-kvm-rhev | Assignee: | Fam Zheng <famz> |
Status: | CLOSED ERRATA | QA Contact: | FuXiangChun <xfu> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.3 | CC: | chayang, juzhang, knoel, michen, pbonzini, virt-maint, xfu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-rhev-2.6.0-10.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-07 21:09:02 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: | |||
Bug Blocks: | 1339498 |
Description
Pei Zhang
2016-05-16 07:13:43 UTC
Correction of step1(I missed the second data disk in the qemu commend line): ... -drive file=/home/data,if=none,id=drive-scsi-disk1,format=qcow2,cache=none,werror=stop,rerror=stop \ -device virtio-scsi-pci,id=scsi1,iothread=iothread0 \ -device scsi-hd,drive=drive-scsi-disk1,bus=scsi1.0,scsi-id=0,lun=0,id=scsi-disk1 \ More info: 1. Can not find data-plane information from qemu help . # /usr/libexec/qemu-kvm -device virtio-scsi,? 2. Can not find data-plane information of disk from qtree info. (qemu) info qtree This is about the op blockers that should be removed from virtio-scsi. Upstream patches: https://lists.nongnu.org/archive/html/qemu-devel/2016-05/msg03015.html Fix included in qemu-kvm-rhev-2.6.0-10.el7 Verified: Versions:qemu-kvm-rhev-2.6.0-10.el7.x86_64 Steps: 1.Boot guest with a data-plane disk(Same with step 1 in Description and Comment 1) 2. Check disk size before resize # qemu-img info data image: data file format: qcow2 virtual size: 100M (104857600 bytes) disk size: 196K cluster_size: 65536 Format specific information: compat: 1.1 lazy refcounts: false refcount bits: 16 corrupt: false 3. Resize data disk { "execute": "block_resize", "arguments": { "device": "drive-scsi-disk1", "size": 1073741824 } } {"return": {}} # qemu-img info data image: data file format: qcow2 virtual size: 1.0G (1073741824 bytes) disk size: 200K cluster_size: 65536 Format specific information: compat: 1.1 lazy refcounts: false refcount bits: 16 corrupt: false So this bug has been fixed well. Thank you. 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://rhn.redhat.com/errata/RHBA-2016-2673.html |