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
Originally created by @eric-c-wood on Thu, 25 Feb 2021 15:29:00 GMT
Describe your environment
minimega version: 2.7
Linux distro/version: Ubuntu 20.04.1 LTS/5.8.0-38-generic
Go compiler version:1.14.2
VM types:kvm
Qemu Version: 4.2.1
Describe the bug
After setting a VM's snapshot flag to false, Phenix will crash when starting the experiment. The qemu instances all get created and the VMs actually start but the running experiment page will fail to load.
To Reproduce
Steps to reproduce the behavior:
Set at least one VM's snapshot flag to false
Start an experiment via the Web UI
Notes
I understand that this issue is almost identical to this closed issue. https://github.com/activeshadow/phenix/issues/20 I was not sure if it was better to create a new issue or simply comment on the old closed issue. The operating system is slightly different from the old issue. If there is a preferred method for future issues, that would be good to know.
From what I can tell, here is why Phenix is crashing.
When the minimega disk info <disk path> command is issued, minimega runs qemu-img info <disk path>. With the way that qemu-img info is being ran, qemu-img returns the following error
Originally created by @eric-c-wood on Thu, 25 Feb 2021 15:29:00 GMT
Describe your environment
minimega version: 2.7
Linux distro/version: Ubuntu 20.04.1 LTS/5.8.0-38-generic
Go compiler version:1.14.2
VM types:kvm
Qemu Version: 4.2.1
Describe the bug
After setting a VM's snapshot flag to false, Phenix will crash when starting the experiment. The qemu instances all get created and the VMs actually start but the running experiment page will fail to load.
To Reproduce
Steps to reproduce the behavior:
Notes
I understand that this issue is almost identical to this closed issue. https://github.com/activeshadow/phenix/issues/20 I was not sure if it was better to create a new issue or simply comment on the old closed issue. The operating system is slightly different from the old issue. If there is a preferred method for future issues, that would be good to know.
From what I can tell, here is why Phenix is crashing.
When the minimega
disk info <disk path>
command is issued, minimega runsqemu-img info <disk path>
. With the way that qemu-img info is being ran, qemu-img returns the following errorHere is a brief description of the issue https://bugs.launchpad.net/qemu/+bug/1721788
When qemu-img info returns an error, minimega's disk info command returns an error which causes this line to crash https://github.com/activeshadow/phenix/blob/main/src/go/internal/mm/minimega.go#L175
The text was updated successfully, but these errors were encountered: