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

Ján Tomko jtomko at redhat.com
Wed Aug 2 16:06:38 UTC 2017

On Wed, Aug 02, 2017 at 05:47:31PM +0300, Fred Rolland wrote:
>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
>                <host name="" 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://
>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?

The name seems to be missing the LUN. Even though our documentation
  If not specified, the default LUN is zero.

Maybe something changed in QEMU or libiscsi since that document was

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170802/db6d115a/attachment.sig>

More information about the libvirt-users mailing list