Hi !
I would like to be able to perform a stop task on a virtual machine using HA. I need to wait for the end of that task.
I noticed that when I call POST /api2/json/nodes/{node}/qemu/{vmid}/status/stop, I get the id of the ha stop task which does not wait for the end of the subtask that stops the virtual machine.
In your opinion, what would be the best way to get the proper task ?
So far, I was thinking I would wait for the end of ha stop and then get the cluster tasks to find the one...
Read more
I would like to be able to perform a stop task on a virtual machine using HA. I need to wait for the end of that task.
I noticed that when I call POST /api2/json/nodes/{node}/qemu/{vmid}/status/stop, I get the id of the ha stop task which does not wait for the end of the subtask that stops the virtual machine.
In your opinion, what would be the best way to get the proper task ?
So far, I was thinking I would wait for the end of ha stop and then get the cluster tasks to find the one...
Read more