Error on starting VM: can't connect to virtlogd: Unable to open system token /run/libvirt/common/system.token: Permission denied.

Solution Verified - Updated -

Issue

  • VM's are unable to start with following error in /var/log/vdsm/vdsm.log.
2022-02-16 12:43:25,872+0100 ERROR (vm/xxxxxxxx) [virt.vm] (vmId='xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx') The vm start process failed (vm:992)
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/vdsm/virt/vm.py", line 919, in _startUnderlyingVm
    self._run()
  File "/usr/lib/python3.6/site-packages/vdsm/virt/vm.py", line 2967, in _run
    dom.createWithFlags(flags)
  File "/usr/lib/python3.6/site-packages/vdsm/common/libvirtconnection.py", line 131, in wrapper
    ret = f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/vdsm/common/function.py", line 94, in wrapper
    return func(inst, *args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/libvirt.py", line 1265, in createWithFlags
    present, an error is thrown. This flag is incompatible with
libvirt.libvirtError: can't connect to virtlogd: Unable to open system token /run/libvirt/common/system.token: Permission denied

Environment

  • Red Hat Virtualization 4.4
  • Red Hat Enterprise Linux 8.4
  • selinux-policy-3.14.3-67.el8_4.2.noarch

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content