Release 0.12.0: get_vm_status reads the VM's real state from status/current instead of saying running for every VM whose config could be read (NetOrk/netork#2696). netOrk's workflow step "Shut down Proxmox VM" can now see a VM stop.
Release 0.12.0: `get_vm_status` reads the VM's real state from `status/current` instead of saying `running` for every VM whose config could be read (NetOrk/netork#2696). netOrk's workflow step "Shut down Proxmox VM" can now see a VM stop.
Closes #72
get_vm_status answered "running" for every VM whose config could be read
and never asked Proxmox for the VM's state, so a caller waiting for a clean
shutdown never saw the VM stop. It now reads status/current and maps it with
qemu_status, the mapping get_vms() uses: running, stopped, or paused for a
qmpstatus of paused or suspended. The guest agent is asked for an address
only while the VM runs; wait_for_ip ends at once with a RuntimeError when the
VM is stopped or paused.
Closes#72
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Release 0.12.0:
get_vm_statusreads the VM's real state fromstatus/currentinstead of sayingrunningfor every VM whose config could be read (NetOrk/netork#2696). netOrk's workflow step "Shut down Proxmox VM" can now see a VM stop.Closes #72