<div dir="auto">Got it. I&#39;m changing my code accordingly.<div dir="auto"><br></div><div dir="auto">Many thanks</div><div dir="auto"><br></div><div dir="auto">Luca</div></div><div class="gmail_extra"><br><div class="gmail_quote">Il 2 mar 2018 5:59 PM, &quot;Ondra Machacek&quot; &lt;<a href="mailto:omachace@redhat.com">omachace@redhat.com</a>&gt; ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 03/02/2018 05:24 PM, Luca &#39;remix_tj&#39; Lorenzetto wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Mar 2, 2018 at 3:21 PM, Ondra Machacek &lt;<a href="mailto:omachace@redhat.com" target="_blank">omachace@redhat.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
As per documentation:<br>
<br>
<a href="http://ovirt.github.io/ovirt-engine-api-model/4.1/#services/storage_domain_vms" rel="noreferrer" target="_blank">http://ovirt.github.io/ovirt-e<wbr>ngine-api-model/4.1/#services/<wbr>storage_domain_vms</a><br>
<br>
That resource is used to list VMs on export storage domain, not on data<br>
domain.<br>
<br>
If you want to find VMs using specific storage you may use following query:<br>
<br>
   /ovirt-engine/api/vms?search=<a href="http://storage.name" rel="noreferrer" target="_blank"><wbr>storage.name</a>=nameofthestorage<br>
</blockquote>
<br>
Hi Ondra,<br>
<br>
thanks. So what&#39;s the purpose of the ovirt_storage_vms_facts, only<br>
working with export domains (which has been deprecated?)<br>
</blockquote>
<br>
Mainly listing the unregistered VMs, so it works as export domain.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Luca<br>
<br>
<br>
</blockquote>
</blockquote></div></div>