Why virtual machines in OpenShift Virtualization is failing to start with error "Unable to use native AIO: failed to create linux AIO context: Resource temporarily unavailable"
Issue
- On some nodes, the virtual machines are failing to start with the below error in the events:
2022-08-25T10:56:49.359053129Z {"component":"virt-launcher","kind":"","level":"error","msg":"Failed to start VirtualMachineInstance with flags 0.","name":"test-vm","namespace":"test-ns","pos":"manager.go:858","reason":"virError(Code=1, Domain=10, Message='internal error: process exited while connecting to monitor: 2022-08-25T10:56:48.773388Z qemu-kvm: -blockdev {\"driver\":\"host_device\",\"filename\":\"/dev/rootdisk\",\"aio\":\"native\",\"node-name\":\"libvirt-2-storage\",\"cache\":{\"direct\":true,\"no-flush\":false},\"auto-read-only\":true,\"discard\":\"unmap\"}: Unable to use native AIO: failed to create linux AIO context: Resource temporarily unavailable')","timestamp":"2022-08-25T10:56:49.358889Z","uid":""}
Environment
- OpenShift Virtualization 4.10.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.