Bug 1159726
Summary: | RFE: blockdev-add support for gluster | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Sibiao Luo <sluo> |
Component: | qemu-kvm-rhev | Assignee: | Kevin Wolf <kwolf> |
Status: | CLOSED ERRATA | QA Contact: | Suqin Huang <shuang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | armbru, chayang, famz, hannsj_uhl, hhuang, juzhang, kwolf, michen, mrezanin, mtessun, mzhan, pbonzini, qzhang, rbalakri, virt-bugs, virt-maint, xfu |
Target Milestone: | rc | Keywords: | FutureFeature |
Target Release: | 7.4 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-rhev-2.9.0-1.el7 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | 1087142 | Environment: | |
Last Closed: | 2017-08-01 23:27:12 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: | 1087142 | ||
Bug Blocks: | 750801 |
Comment 1
Sibiao Luo
2014-11-03 07:54:57 UTC
blockdev-add is declared stable in QEMU-2.9. 1. Package:
qemu-kvm-rhev-2.9.0-2.el7.x86_64
2. Guests:
rhel7.4 and win2016-64
3. steps:
1). hotplug the drive
{"execute":"qmp_capabilities"}
{"return": {}}
{
"execute": "blockdev-add",
"arguments": {
"node-name": "drive2",
"driver": "qcow2",
"file": {
"driver": "gluster",
"volume": "gv0",
"debug": 4,
"path": "plug.img",
"server" : [
{ "type": "inet", "host": "bootp-73-131-242.rhts.eng.pek2.redhat.com", "port": "24007"
}
]
}
}
}
{"return": {}}
2). hotplug the device
{
"execute":"device_add",
"arguments":{
"driver":"virtio-blk-pci",
"drive":"drive2",
"id":"shuang"
}
}
4. Result: PASS
(qemu) info pci
Bus 0, device 4, function 0:
SCSI controller: PCI device 1af4:1001
IRQ 0.
BAR0: I/O at 0x1000 [0x103f].
BAR1: 32 bit memory at 0x80004000 [0x80004fff].
BAR4: 64 bit prefetchable memory at 0x80000000 [0x80003fff].
id "shuang"
(qemu) info block -n
drive2: json:{"driver": "qcow2", "file": {"server.0.host": "10.73.199.197", "driver": "gluster", "path": "test.qcow2", "server.0.type": "inet", "server.0.port": "24007", "volume": "gv0", "debug": 4}} (qcow2)
Cache mode: writeback
Linux:
#lsblk
vdb 252:16 0 1G 0 disk
Windows:
>diskpart
>list disk
get Disk1 from the output
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-2017:2392 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-2017:2392 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-2017:2392 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-2017:2392 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-2017:2392 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-2017:2392 |