kubevirt: virt-launcher start failing in the version of kubevirt v0.39.0

What happened: the virt-launcher-pod is Terminating when I start the vm What you expected to happen: the error as blow: [root@member ~]# kubectl logs virt-launcher-cirros-vm-ggdm8 -n vm {"component":"virt-launcher","level":"info","msg":"Collected all requested hook sidecar sockets","pos":"manager.go:68","timestamp":"2021-03-15T12:07:37.497541Z"} {"component":"virt-launcher","level":"info","msg":"Sorted all collected sidecar sockets per hook point based on their priority and name: map[]","pos":"manager.go:71","timestamp":"2021-03-15T12:07:37.497619Z"} {"component":"virt-launcher","level":"info","msg":"Connecting to libvirt daemon: qemu:///system","pos":"libvirt.go:420","timestamp":"2021-03-15T12:07:37.501868Z"} {"component":"virt-launcher","level":"info","msg":"Connecting to libvirt daemon failed: virError(Code=38, Domain=7, Message='Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory')","pos":"libvirt.go:428","timestamp":"2021-03-15T12:07:37.503845Z"} {"component":"virt-launcher","level":"info","msg":"libvirt version: 6.6.0, package: 13.fc32 (Unknown, 2021-01-21-11:33:00, )","subcomponent":"libvirt","thread":"49","timestamp":"2021-03-15T12:07:37.521000Z"} {"component":"virt-launcher","level":"info","msg":"hostname: cirros-vm","subcomponent":"libvirt","thread":"49","timestamp":"2021-03-15T12:07:37.521000Z"} {"component":"virt-launcher","level":"error","msg":"internal error: Child process (dmidecode -q -t 0,1,2,3,4,11,17) unexpected exit status 1: /dev/mem: No such file or directory","pos":"virCommandWait:2741","subcomponent":"libvirt","thread":"49","timestamp":"2021-03-15T12:07:37.521000Z"} {"component":"virt-launcher","level":"info","msg":"Connected to libvirt daemon","pos":"libvirt.go:436","timestamp":"2021-03-15T12:07:38.005044Z"} {"component":"virt-launcher","level":"info","msg":"Registered libvirt event notify callback","pos":"client.go:454","timestamp":"2021-03-15T12:07:38.008558Z"} {"component":"virt-launcher","level":"info","msg":"Marked as ready","pos":"virt-launcher.go:73","timestamp":"2021-03-15T12:07:38.009019Z"} How to reproduce it (as minimally and precisely as possible): when I use the version of kubevirt v0.37.0 ,everything is ok .

Anything else we need to know?:

Environment:

  • KubeVirt version (use virtctl version): v0.39.0
  • Kubernetes version (use kubectl version): v1.17.5
  • VM or VMI specifications:
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a): centos7
  • Install tools:
  • Others:

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 18 (11 by maintainers)

Most upvoted comments

@wardwouts Ah, I missed the fact you are running k3os. This PR will fix your issue.