Re: [ovirt-users] API endpoint for a VM to fetch metadata about itself

2018-02-28 Thread Yaniv Kaul
On Tue, Feb 27, 2018 at 3:04 AM, Geoff Sweet wrote: > OK, that's a great place for me to start. However the problem is that all > my post-install tooling is now running on a VM that knows nothing about > itself (having been installed via pxe and kickstart) like it's

Re: [ovirt-users] API endpoint for a VM to fetch metadata about itself

2018-02-27 Thread Ondra Machacek
Yep, you can search for a VM using many attributes, for example to search for a VM using IP address: https://fqdn/ovirt-engine/api/vms?search=ip=1.2.3.4 Here you have more search parameters you can use to find a VM:

Re: [ovirt-users] API endpoint for a VM to fetch metadata about itself

2018-02-26 Thread Geoff Sweet
OK, that's a great place for me to start. However the problem is that all my post-install tooling is now running on a VM that knows nothing about itself (having been installed via pxe and kickstart) like it's {vm_id}. Can the API be used to query for a VM and it's attributes based on something

Re: [ovirt-users] API endpoint for a VM to fetch metadata about itself

2018-02-25 Thread Ondra Machacek
We don't have any such resource. We have those information in different places of the API. For example to find the information about devices of the VM, like network device information (IP address, MAC, etc), you can query: /ovirt-engine/api/vms/{vm_id}/reporteddevices The FQDN is listed right

[ovirt-users] API endpoint for a VM to fetch metadata about itself

2018-02-24 Thread Geoff Sweet
Is there an API endpoint that VM's can query to discover it's oVirt metadata? Something similar to AWS's http://169.254.169.254/latest/ meta-data/ query in EC2? I'm trying to stitch a lot of automation workflow together and so far I have had great luck with oVirt. But the next small hurdle is to

Re: [ovirt-users] API endpoint?

2016-07-18 Thread Alexander Wels
On Monday, July 18, 2016 03:39:56 PM Gervais de Montbrun wrote: > Hi Folks, > > Has the api endpoint moved? > > I am having issues with my nagios check and also with ovirt-shell. Both are > trying to git the api endpoint at https://myhostedengine.mydomain/api >

[ovirt-users] API endpoint?

2016-07-18 Thread Gervais de Montbrun
Hi Folks, Has the api endpoint moved? I am having issues with my nagios check and also with ovirt-shell. Both are trying to git the api endpoint at https://myhostedengine.mydomain/api and both are returning a 404 error. Cheers, Gervais