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

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


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" />
                <host name="" port="3260" />
            <target bus="scsi" dev="sda" />
            <boot order="1" />
            <driver cache="none" error_policy="stop" io="threads"
name="qemu" type="raw" />

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://,format=raw,if=none,id=drive-scsi0-0-0-0,cache=none,werror=stop,rerror=stop,aio=threads:
Failed to parse URL : iscsi://

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

Any suggestions on the root cause of this issue?


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