[ovirt-users] oVirt API (4.0 and 4.1) not reporting vms running on a given storage domain

Ondra Machacek omachace at redhat.com
Fri Mar 2 16:59:06 UTC 2018


On 03/02/2018 05:24 PM, Luca 'remix_tj' Lorenzetto wrote:
> On Fri, Mar 2, 2018 at 3:21 PM, Ondra Machacek <omachace at redhat.com> wrote:
>> Hi,
>>
>> As per documentation:
>>
>> http://ovirt.github.io/ovirt-engine-api-model/4.1/#services/storage_domain_vms
>>
>> 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:
>>
>>    /ovirt-engine/api/vms?search=storage.name=nameofthestorage
> 
> Hi Ondra,
> 
> thanks. So what's the purpose of the ovirt_storage_vms_facts, only
> working with export domains (which has been deprecated?)

Mainly listing the unregistered VMs, so it works as export domain.

> 
> Luca
> 
> 


More information about the Users mailing list