[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
Thu Mar 1 18:19:39 UTC 2018
Hello,
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:
ovirt-engine/api/storagedomains/52b661fe-609e-48f9-beab-f90165b868c4/vms
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
Luca
--
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)
Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <lorenzetto.luca at gmail.com>
More information about the Users
mailing list