-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start minikube on Chromebook Linux (Debian 12) failed #18026
Comments
You need some special settings, for running libvirt on ChromeOS |
Yes, this settings worked with Debian11. Now I have Debian12 and this strange /dev/random problem occurs. |
I'm switched back to Debian 11 (Bullseye). Everything works fine now. It's a problem with Debian 12. I don't know what exactly. The behavior is different. |
Please let me know if anybody has success with minikube driver=kvm2 and Debian12. |
@xn01302 I will confirm from experience that this is not an issue with Debian. The
Also, try deleting
|
@xn01302 You should install |
/assign |
Okay, I will try this. Currently I'm working with Debian 11. |
@xn01302 I can verify that the instructions work on Debian 11 too, so if you have issues, then it could be something else. |
I think that @afbjorklund is correct because Chrome books end up having quite a few quirks with their security; although, I do not have much experience with running Debian on Chrome books. |
libvirt has a command Alternatively you can try with the qemu/qemu2 driver, which also supports kvm but does not use the libvirtd daemon. |
@xn01302 Here's what a working configuration will look like using
Using
|
@caerulescens Sorry for delayed response. I'll try it. Have installed a additional container with debian 12 now. Give you feedback in a few days. |
I am having the same issue on my Debian 12 install on ChromeOS. I've already tried editing /etc/libvirt/qemu.conf with the suggested settings EDIT: |
I don't have a Chromebook to debug this fix. |
I've tried again on my chromebook. I have created a new Debian12 container and installed minikube. Start process failed again with the same error message as before. Problem with /dev/random minikube start --driver=kvm2 β Exiting due to GUEST_PROVISION: error provisioning guest: Failed to start host: creating host: create: Error creating machine: Error in driver during machine creation: error creating VM: virError(Code=38, Domain=10, Message='Failed to chown device /dev/random: Operation not permitted') |
If it is a blocker, it is possibly to make the RNG block in the virt configuration more optional... <rng model='virtio'>
<backend model='random'>/dev/random</backend>
</rng> There are other blocks (such as GPU), that are optional and toggled with flags at runtime. |
I looked at https://gitlab.com/libvirt/libvirt/-/issues/556 and set |
Hi, thanks a lot. It works with namespaces = []. Great!!! Best regards |
/close |
@caerulescens: You can't close an active issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@xn01302 Awesome; close the issue when you can |
What Happened?
Hi all.
start minikube on Chromebook Linux (Debian 12) with kvm2 driver failed. It's a problem with /dev/random.
mdersch@penguin:~$ minikube start --driver=kvm2
π minikube v1.32.0 on Debian 12.4 (amd64)
β¨ Using the kvm2 driver based on existing profile
π Starting control plane node minikube in cluster minikube
π Restarting existing kvm2 VM for "minikube" ...
π€¦ StartHost failed, but will try again: driver start: error creating VM: virError(Code=38, Domain=10, Message='Failed to chown device /dev/random: Operation not permitted')
π Restarting existing kvm2 VM for "minikube" ...
πΏ Failed to start kvm2 VM. Running "minikube delete" may fix it: driver start: error creating VM: virError(Code=38, Domain=10, Message='Failed to chown device /dev/random: Operation not permitted')
β Exiting due to GUEST_PROVISION: error provisioning guest: Failed to start host: driver start: error creating VM: virError(Code=38, Domain=10, Message='Failed to chown device /dev/random: Operation not permitted')
Attach the log file
logs.txt
Operating System
Other
Driver
KVM2
The text was updated successfully, but these errors were encountered: