<div dir="ltr"><div><div>Thanks, it was the issue.<br></div>I guess the documentation should be updated.<br><br></div>Thank you for your help !<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 2, 2017 at 7:06 PM, Ján Tomko <span dir="ltr"><<a href="mailto:jtomko@redhat.com" target="_blank">jtomko@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Wed, Aug 02, 2017 at 05:47:31PM +0300, Fred Rolland wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I am working on oVirt, and I am trying to run a VM with a network disk with<br>
ISCSI protocol ( the storage is on a Cinder server).<br>
<br>
Here is the disk XML I use:<br>
<br>
       <disk device="disk" snapshot="no" type="network"><br>
           <address bus="0" controller="0" target="0" type="drive"<br>
unit="0" /><br>
           <source<br>
name="<a href="http://iqn.2010-10.org" target="_blank">iqn.2010-10.org</a>.openstac<wbr>k:volume-37fea687-040c-4a88-<wbr>844c-117d1a90e9b2"<br>
protocol="iscsi"><br>
               <host name="10.35.0.20" port="3260" /><br>
           </source><br>
           <target bus="scsi" dev="sda" /><br>
           <boot order="1" /><br>
           <driver cache="none" error_policy="stop" io="threads"<br>
name="qemu" type="raw" /><br>
       </disk><br>
<br>
I get the following error:<br>
<br>
libvirtError: internal error: process exited while connecting to monitor:<br>
2017-08-02T14:38:58.378430Z qemu-kvm: -drive file=iscsi://<br>
<a href="http://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" rel="noreferrer" target="_blank">10.35.0.20:3260/iqn.2010-10.or<wbr>g.openstack%3Avolume-37fea687-<wbr>040c-4a88-844c-117d1a90e9b2,<wbr>format=raw,if=none,id=drive-<wbr>scsi0-0-0-0,cache=none,werror=<wbr>stop,rerror=stop,aio=threads</a>:<br>
Failed to parse URL : iscsi://<br>
<a href="http://10.35.0.20:3260/iqn.2010-10.org.openstack%3Avolume-37fea687-040c-4a88-844c-117d1a90e9b2" rel="noreferrer" target="_blank">10.35.0.20:3260/iqn.2010-10.or<wbr>g.openstack%3Avolume-37fea687-<wbr>040c-4a88-844c-117d1a90e9b2</a><br>
<br>
It seems that the ':' character got changed on the way to %3A.<br>
<br>
Any suggestions on the root cause of this issue?<br>
<br>
</blockquote>
<br></div></div>
The name seems to be missing the LUN. Even though our documentation<br>
states:<br>
 If not specified, the default LUN is zero.<br>
<a href="http://libvirt.org/formatdomain.html#elementsDisks" rel="noreferrer" target="_blank">http://libvirt.org/formatdomai<wbr>n.html#elementsDisks</a><br>
<br>
Maybe something changed in QEMU or libiscsi since that document was<br>
written?<br>
<br>
Jan<br>
</blockquote></div><br></div>