[ovirt-users] oVirt API (4.0 and 4.1) not reporting vms running on a given storage domain
Luca 'remix_tj' Lorenzetto
lorenzetto.luca at gmail.com
Fri Mar 2 17:58:55 UTC 2018
Got it. I'm changing my code accordingly.
Many thanks
Luca
Il 2 mar 2018 5:59 PM, "Ondra Machacek" <omachace at redhat.com> ha scritto:
> 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
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180302/0a9f8dba/attachment.html>
More information about the Users
mailing list