autoscaling icon indicating copy to clipboard operation
autoscaling copied to clipboard

Bug: A VM having running status doesn't necessarily mean that the VM is actually running

Open shayanh opened this issue 6 months ago • 1 comments

Environment

everywhere

Steps to reproduce

To make it more explicit add time.Sleep(10 * time. Second) to neonvm/runner/main.go somewhere before executing the QEMU command.

Actual result

NeonVM controller uses the runner pod's status to determine the VM's status. If the runner pod status is running and the VM's status is pending, then the controller changes the status of the VM to running. At this point, we don't necessarily know if the QEMU process has started, nor has the VM booted.

Expected result

Update the VM's status to running once is actually booted and running.

shayanh avatar Jan 30 '24 00:01 shayanh