Closed Saviq closed 11 months ago
ioctl(KVM_CREATE_VM) failed: 12 Cannot allocate memory
failed to initialize KVM: Cannot allocate memory
This is the real issue here...your machine does not have enough free memory to create the VM.
We need to bubble up this error to the client to give the user a better message about what the problem is.
After looking at this some more, the End of file while reading data: Input/output error
message displayed is in fact coming from libvirt, so we're doing the right thing here. It seems libvirt sends this message if qemu unexpectedly disappears along with its qmp monitor. I'm not a fan of catching exact strings and redisplaying a new string, so I'm not sure what else we can do here.
This is a long opened bug and haven't gotten another issue like this in may years. Also, libvirt is hardly used to launch instances, and as such, it no longer makes sense for us to put efforts into fixing this. Will close...
Not sure what happened:
This seems related: