As per documentation:


That resource is used to list VMs on export storage domain, not on data domain.

If you want to find VMs using specific storage you may use following query:


On 03/01/2018 07:19 PM, Luca 'remix_tj' Lorenzetto wrote:

i need to extract the list of the vms running on a given storage domain.
Copying some code from ansible's ovirt_storage_vms_facts simplified my
work but i stopped with a strange behavior: no vm is listed.

I thought it was an issue with my code, but looking more in detail at
api's i tried opening:


And what i get is

<vms />

And this for all the storage domains available.

Is there something wrong with the versions i'm running? Do i require
some options in the query?

I'm running RHV, so i can't upgrade to 4.2 yet


Users mailing list

Reply via email to