Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 173595

Best way to wait for end stop vm task using HA

$
0
0
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

Viewing all articles
Browse latest Browse all 173595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>