Unable to connct to KVM using virsh - 'error: failed to connect to the hypervisor'

Solution In Progress - Updated -

Issue

  • Here are couple of examples:
$ virsh -c qemu:///system list
error: failed to connect to the hypervisor
error: authentication failed: polkit: polkit\56retains_authorization_after_challenge=1
Authorization requires authentication but no agent is available.

$ sudo virsh -c qemu:///system list
error: failed to connect to the hypervisor
error: no connection driver available for qemu:///system

Environment

  • Red Hat Enterprise Linux 7.0

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