Bug 1658511
Summary: | virt-manager/virt-install fails attemping to use iscsi-direct storage volume | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Meina Li <meili> | ||||
Component: | virt-manager | Assignee: | Pavel Hrdina <phrdina> | ||||
Status: | CLOSED DEFERRED | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 8.0 | CC: | crobinso, dyuan, hhan, juzhou, knoel, meili, phrdina, tzheng, xiaodwan, xuzhang, yisun | ||||
Target Milestone: | rc | Keywords: | FutureFeature | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | virt-manager-2.2.0-1.el8 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-07-25 11:33:55 UTC | Type: | Feature Request | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Meina Li
2018-12-12 10:27:40 UTC
Please upload the full debug log of virt-manager. Created attachment 1513866 [details]
debug.log
This looks like a libvirt bug. File "/usr/lib64/python3.6/site-packages/libvirt.py", line 3725, in createXML if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self) libvirt.libvirtError: unsupported configuration: unknown protocol type 'iscsi-direct' Yes, that error message is from libvirt but the root cause is this XML: <disk type="network" device="disk"> <driver name="qemu"/> <source protocol="iscsi-direct" name="unit:0:0:1"> <host name="10.66.144.87"/> </source> <target dev="vda" bus="virtio"/> </disk> which is not correct, the protocol should be iscsi. My guess is that virt-manager just copies the storage poll type into the source protocol of disk so definitely virt-manager bug. Fixed upstream now, though I don't have a working setup so I was just going off the docs commit c52e2205049bc797401ab28e6f80f0940130d0ca (HEAD -> master, origin/master) Author: Cole Robinson <crobinso> Date: Fri Jun 14 20:35:41 2019 -0400 devices: disk: Handle pool=iscsi-direct volumes I don't have a working setup for this so I'm not positive it actually works, but this roughly matches what I see in libvirt test suite data and docs https://bugzilla.redhat.com/show_bug.cgi?id=1658511 Hi Pavel, I checked that pool type "iscsi-direct (since 4.7.0)" is supported by fast train libvirt. https://libvirt.org/formatstorage.html So the "Product" version is not correct here, please have a look of it, thanks. BR, juzhou. Hi Pavel, My last comment is a bit confused, here i want to make it clear. We have confirmed with PM that virt-manager is only for slow train, but this feature is not supported by slow train libvirt version. virt-manager-2.2.1-1.el8.noarch libvirt-4.5.0-24.module+el8.1.0+3205+41ff0a42.x86_64 # virsh pool-define iscsi-direct.xml error: Failed to define pool from iscsi-direct.xml error: unsupported configuration: unknown storage pool type iscsi-direct So i have two workarounds for this issue: 1) Verify this bug with virt-manager+ fast_train_libvirt 2) Close it as WONTFIX on slow train Which one do you prefer, or you have other good solution for it, thanks. BR, juzhou. Hi Junqin, I guess we should close this BUG as the fast train is not relevant for virt-manager which is RHEL only. |