kubevirt: "virt-launcher","level":"error","msg":"Unable to open /dev/kvm: No such file or directory"
error info:
{“component”:“virt-launcher”,“level”:“info”,“msg”:“Connecting to libvirt daemon failed: virError(Code=38, Domain=7, Message=‘Failed toconnect socket to ‘/var/run/libvirt/virtqemud-sock’: No such file or directory’)”,“pos”:“libvirt.go:553”,“timestamp”:“2023-10-22T07:05:51.347975Z”}
{“component”:“virt-launcher”,“level”:“error”,“msg”:“Unable to open /dev/kvm: No such file or directory”,“pos”:“virHostCPUGetCPUID:1422”,“subcomponent”:“libvirt”,“thread”:“46”,“timestamp”:“2023-10-22T07:05:51.373000Z”} {“component”:“virt-launcher”,“level”:“error”,“msg”:“internal error: Unable to get session bus connection: Cannot spawn a message bus without a machine-id: Unable to load /var/lib/dbus/machine-id or /etc/machine-id: Failed to open file “/var/lib/dbus/machine-id”: No such file or directory”,“pos”:“virGDBusGetSessionBus:126”,“subcomponent”:“libvirt”,“thread”:“46”,“timestamp”:“2023-10-22T07:05:51.373000Z”} {“component”:“virt-launcher”,“level”:“error”,“msg”:“internal error: Unable to get system bus connection: Could not connect: No such file or directory”,“pos”:“virGDBusGetSystemBus:99”,“subcomponent”:“libvirt”,“thread”:“46”,“timestamp”:“2023-10-22T07:05:51.374000Z”} {“component”:“virt-launcher”,“level”:“info”,“msg”:“Connected to libvirt daemon”,“pos”:“libvirt.go:561”,“timestamp”:“2023-10-22T07:05:51.851830Z”}
Environment:
- KubeVirt version (use
virtctl version): v1.1.0-alpha.0 - Kubernetes version (use
kubectl version): 1.23.6 - VM or VMI specifications:
- Cloud provider or hardware configuration: 云物理机
- OS (e.g. from /etc/os-release): Ubuntu 18.04.3 LTS
- Kernel (e.g.
uname -a): 5.4.193-0504193-generic
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 38 (17 by maintainers)
Thanks for your reply. The Permission denied has solved by
chmod 777 /dev/kvm, but I met the new error.