<div dir="ltr"><div>Hi Juan,<br><br></div>Yes, now, its working fine.. Thanks for your help.. :)<br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span>-- <br></span>Regards
<br>Shanil
</div></div>
<br><div class="gmail_quote">On Thu, Oct 23, 2014 at 7:12 PM, Juan Hernandez <span dir="ltr">&lt;<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10/23/2014 05:11 AM, Shanil S wrote:<br>
&gt; Hi Juan,<br>
&gt;<br>
&gt; Thanks for your reply.<br>
&gt;<br>
&gt; We are using the storage glusterfs-3.5.1-1.el6.<br>
&gt;<br>
<br>
</span>I can&#39;t reproduce this, not even with the same storage that you used.<br>
Can you please try with the simple script that I suggested in the<br>
previous message and report the results?<br>
<span class="im HOEnZb"><br>
&gt;<br>
&gt; On Wed, Oct 22, 2014 at 7:26 PM, Juan Hernandez &lt;<a href="mailto:jhernand@redhat.com">jhernand@redhat.com</a><br>
</span><div class="HOEnZb"><div class="h5">&gt; &lt;mailto:<a href="mailto:jhernand@redhat.com">jhernand@redhat.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     On 10/22/2014 09:38 AM, Shanil S wrote:<br>
&gt;     &gt;  Hi,<br>
&gt;     &gt;<br>
&gt;     &gt; I am using the ovirt 3.5 and when i create VM from the template<br>
&gt;     through<br>
&gt;     &gt; Ovirt web portal, it displays Template is &quot;Clone/Independent&quot;but with<br>
&gt;     &gt; the same template When i create through REST API, it shows<br>
&gt;     &gt; &quot;Thin/Dependent&quot;...<br>
&gt;     &gt;<br>
&gt;     &gt; I Found one email thread (<br>
&gt;     &gt; <a href="https://www.mail-archive.com/users@ovirt.org/msg21271.html" target="_blank">https://www.mail-archive.com/users@ovirt.org/msg21271.html</a> ) from the<br>
&gt;     &gt; community for the same issue but even using their method still it<br>
&gt;     &gt; display the same &quot;Thin/Dependent&quot;.<br>
&gt;     &gt;<br>
&gt;     &gt; I am using the following xml :-<br>
&gt;     &gt;<br>
&gt;     &gt; &lt;vm&gt;<br>
&gt;     &gt;  &lt;name&gt;$name&lt;/name&gt;<br>
&gt;     &gt;    &lt;cluster&gt;<br>
&gt;     &gt;      &lt;name&gt;phase1&lt;/name&gt;<br>
&gt;     &gt;    &lt;/cluster&gt;<br>
&gt;     &gt;    &lt;cpu&gt;<br>
&gt;     &gt;         &lt;topology cores=&#39;$core&#39; sockets=&#39;$socket&#39;/&gt;<br>
&gt;     &gt;       &lt;/cpu&gt;<br>
&gt;     &gt;    &lt;memory&gt;$memory&lt;/memory&gt;<br>
&gt;     &gt;    &lt;template&gt;<br>
&gt;     &gt;      &lt;name&gt;$templatetype&lt;/name&gt;<br>
&gt;     &gt;    &lt;/template&gt;<br>
&gt;     &gt;   &lt;disks&gt;<br>
&gt;     &gt;       &lt;clone&gt;true&lt;/clone&gt;<br>
&gt;     &gt;    &lt;/disks&gt;<br>
&gt;     &gt; &lt;/vm&gt;<br>
&gt;     &gt;<br>
&gt;     &gt; I have attached the screen shots , please check it.<br>
&gt;     &gt;<br>
&gt;<br>
&gt;     Your XML looks correct. I used it in my 3.5 environment and it works<br>
&gt;     correctly, creating &quot;Clone/Independent&quot; virtual machines.<br>
&gt;<br>
&gt;     What kind of storage are you using? NFS?<br>
&gt;<br>
&gt;     Can you try the following script and report the results?<br>
&gt;<br>
&gt;     #!/bin/sh -ex<br>
&gt;<br>
&gt;     url=&quot;<a href="https://engine.example.com/ovirt-engine/api" target="_blank">https://engine.example.com/ovirt-engine/api</a>&quot;;<br>
&gt;     user=&quot;admin@internal&quot;<br>
&gt;     password=&quot;******&quot;<br>
&gt;<br>
&gt;     curl \<br>
&gt;     --verbose \<br>
&gt;     --insecure \<br>
&gt;     --request POST \<br>
&gt;     --user &quot;${user}:${password}&quot; \<br>
&gt;     --header &quot;Content-Type: application/xml&quot; \<br>
&gt;     --header &quot;Accept: application/xml&quot; \<br>
&gt;     --data &quot;<br>
&gt;     &lt;vm&gt;<br>
&gt;       &lt;name&gt;myvm&lt;/name&gt;<br>
&gt;       &lt;cluster&gt;<br>
&gt;         &lt;name&gt;mycluster&lt;/name&gt;<br>
&gt;       &lt;/cluster&gt;<br>
&gt;       &lt;template&gt;<br>
&gt;         &lt;name&gt;mytemplate&lt;/name&gt;<br>
&gt;       &lt;/template&gt;<br>
&gt;       &lt;disks&gt;<br>
&gt;         &lt;clone&gt;true&lt;/clone&gt;<br>
&gt;       &lt;/disks&gt;<br>
&gt;     &lt;/vm&gt;<br>
&gt;     &quot; \<br>
&gt;     &quot;${url}/vms&quot;<br>
&gt;<br>
&gt;<br>
<br>
--<br>
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta<br>
3ºD, 28016 Madrid, Spain<br>
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.<br>
</div></div></blockquote></div><br></div>