[ovirt-users] Re: OVirt rest api 4.3. How do you get the job id started by the async parameter

2021-02-10 Thread Benny Zlotnik
Sorry, my example URL is messed up, the correct example is: https://engine/ovirt-engine/api/jobs?search=correlation_id%3Dmycorrelationid On Wed, Feb 10, 2021 at 2:38 PM Pascal DeMilly wrote: > > Thank you. This is very helpful. I'll give it a try. > > On Wed, Feb 10, 2021, 2:18 AM Benny Zlotnik

[ovirt-users] Re: OVirt rest api 4.3. How do you get the job id started by the async parameter

2021-02-10 Thread Pascal DeMilly
Thank you. This is very helpful. I'll give it a try. On Wed, Feb 10, 2021, 2:18 AM Benny Zlotnik wrote: > You could do this by setting a custom correlation_id with a query > param when invoking the operation, then filter the jobs using the same > correlation id: > https://engine/ovirt-engine/ap

[ovirt-users] Re: OVirt rest api 4.3. How do you get the job id started by the async parameter

2021-02-10 Thread Benny Zlotnik
You could do this by setting a custom correlation_id with a query param when invoking the operation, then filter the jobs using the same correlation id: https://engine/ovirt-engine/api/jobs?search%3Dmycorrelationid (it's not a reported field) We do this in our system tests[1] [1] https://github.

[ovirt-users] Re: OVirt rest api 4.3. How do you get the job id started by the async parameter

2021-01-26 Thread Pascal DeMilly
Hello Any ideas how to retrieve the job Id of an async job at the time of creation or from a job to know which entities (VM, disk, template) Id it was created from Thanks On Sat, Jan 23, 2021, 10:04 AM Martin Perina wrote: > Hi Ori, > > could you please take a look? > > Thanks, > Martin > > On

[ovirt-users] Re: OVirt rest api 4.3. How do you get the job id started by the async parameter

2021-01-23 Thread Martin Perina
Hi Ori, could you please take a look? Thanks, Martin On Thu, Jan 21, 2021 at 9:52 PM wrote: > I am using the rest api to create a VM, because the VM is cloned from the > template and it takes a long time, I am also passing the async parameters > hoping to receive back a job id, which I could t