Hello,
currently I'm writing an ansible / python / proxmoxer update script for my 2,5-node(*) cluster using the webapi for proxmox. Before I start an update for a node, I set the maintainence mode and disable all replication jobs.
I can get all replication jobs via webapi - but how can I check (via webapi), if all replication jobs are done? I would like to wait until all are completed before I update and reboot a single node.
Thanks a lot for your help!
Best regards, Thomas
(*) Two full proxmox nodes + one voting device (it's a homelab)
currently I'm writing an ansible / python / proxmoxer update script for my 2,5-node(*) cluster using the webapi for proxmox. Before I start an update for a node, I set the maintainence mode and disable all replication jobs.
I can get all replication jobs via webapi - but how can I check (via webapi), if all replication jobs are done? I would like to wait until all are completed before I update and reboot a single node.
cluster/replication/..
only shows the configured jobs.nodes/{node}/replication/{id}/status
gives some details, but no information about if its currently running or not.Thanks a lot for your help!
Best regards, Thomas
(*) Two full proxmox nodes + one voting device (it's a homelab)