You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
virt-handler gets an event from libvirt whenever a Domain is shutdown or killed in domain.go.
If a Domain is shutdown, the VM should enter the phase Succeeded. If a VM crashed or was killed, it should enter the phase Failed. The field reflecting this is VMSpec.Status.Phase. In the watch loop we need to check for the reason of the shutdown and update the Phase.
Update the Phase on the VM via the restclient according to the shutdown reason.
Write functional tests in tests/vm_lifecycle.go
If a Domain is stopped or crahes, virt-handler should not try to restart it
The text was updated successfully, but these errors were encountered:
rmohr
changed the title
Update VM status when a VM dies or is shut down
Update VM status when a VM dies or is shutdown
Feb 2, 2017
* enable audit log for os-3.11
Signed-off-by: Marcin Franczyk <mfranczy@redhat.com>
* use ansible-2.7.9-1 for os-3.11
* increase VM memory for os provisioners
* Update README with new hashes
virt-handler gets an event from libvirt whenever a Domain is shutdown or killed in domain.go.
If a Domain is shutdown, the VM should enter the phase
Succeeded
. If a VM crashed or was killed, it should enter the phaseFailed
. The field reflecting this isVMSpec.Status.Phase
. In the watch loop we need to check for the reason of the shutdown and update the Phase.tests/vm_lifecycle.go
The text was updated successfully, but these errors were encountered: