Nested virtualization is not supported in CircleCI VMs
complete
K
Koteswara Kelam
ubuntu-1604:201903-01 image says “kvm: no hardware support”.
My use case is: I want to build .OVA file out of .iso using packer command. So I used machine executor and running packer inside the vm.But I get following error which means that nested virtualization is not supported:Logs:Qemu stderr: Could not access KVM kernel module: No such file or directoryQemu stderr: failed to initialize KVM: No such file or directory
#dmesgkvm: no hardware support
Is there any way to address this issue in CircleCI?
CCI-I-1194
Liya Ai
complete
Hi Everyone! Our new Android machine image is now in preview and supports nested virtualization. You can read more about it, try it out & give feedback here: https://github.com/CircleCI-Public/android-image-preview-docs
Liya Ai
Hi Everyone! As of today, this image is now GA. You can read more about it: https://discuss.circleci.com/t/new-android-machine-image-now-available-to-all-users/39467
Nguyen Thai Hung
Liya Ai: Thank you for your info. As I know, currently, this feature support for Cloud version. Does It support for on-premise as well? Thank you in advanced.
J
Jones Trevor
this is probably a non start. EC2 instances that allow /dev/kvm must be the ".metal" type which can be super expensive to run due to being single tenant systems.
maybe you could look at using the new runner setup on your own .metal systems?
P
Peter Bocan
I am definitely for it. Addding this feature would allow us running Android Emulator natively with great boost in performance without a need of waiting endlessly for executing simple tasks. And I would assume this is
not
hard to implement.