[libvirt-users] Libvirt fails on network disk with ISCSI protocol

Fred Rolland frolland at redhat.com
Wed Aug 2 14:47:31 UTC 2017


Hi,

I am working on oVirt, and I am trying to run a VM with a network disk with
ISCSI protocol ( the storage is on a Cinder server).

Here is the disk XML I use:

        <disk device="disk" snapshot="no" type="network">
            <address bus="0" controller="0" target="0" type="drive"
unit="0" />
            <source
name="iqn.2010-10.org.openstack:volume-37fea687-040c-4a88-844c-117d1a90e9b2"
protocol="iscsi">
                <host name="10.35.0.20" port="3260" />
            </source>
            <target bus="scsi" dev="sda" />
            <boot order="1" />
            <driver cache="none" error_policy="stop" io="threads"
name="qemu" type="raw" />
        </disk>

I get the following error:

libvirtError: internal error: process exited while connecting to monitor:
2017-08-02T14:38:58.378430Z qemu-kvm: -drive file=iscsi://
10.35.0.20:3260/iqn.2010-10.org.openstack%3Avolume-37fea687-040c-4a88-844c-117d1a90e9b2,format=raw,if=none,id=drive-scsi0-0-0-0,cache=none,werror=stop,rerror=stop,aio=threads:
Failed to parse URL : iscsi://
10.35.0.20:3260/iqn.2010-10.org.openstack%3Avolume-37fea687-040c-4a88-844c-117d1a90e9b2

It seems that the ':' character got changed on the way to %3A.

Any suggestions on the root cause of this issue?

Thanks,

Fred Rolland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170802/86f2815b/attachment.htm>


More information about the libvirt-users mailing list