nova compute fails with libvirtError: authentication failed

asked 2013-06-05 18:50:13 -0600

nkaderfe gravatar image

updated 2013-06-06 12:57:26 -0600


I am trying to setup a Multi Node Setup with Quantum. I used for my installation and everything went through on Control Node. But On my Compute Node I could see Nova Compute couldn't start with the following error

I saw similar (issues on Fedora) being reported , but not on Ubuntu. I am using Ubuntu and running into the same issue

Can someone help me out to proceed further, Workaround should be good enough.

I am using Grizzly Version of Open Stack , with 0.10.2 libvirtd and 1.4.0 ovs

stack@ovs-3:~/devstack$ sudo libvirtd --version
libvirtd (libvirt) 0.10.2

stack@ovs-3:~/devstack$ sudo ovs-vsctl show
    Bridge br-int
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port br-int
            Interface br-int
                type: internal
    Bridge br-tun
        Port br-tun
            Interface br-tun
                type: internal
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port "gre-1"
            Interface "gre-1"
                type: gre
                options: {in_key=flow, out_key=flow, remote_ip=""}
    ovs_version: "1.4.0+build0"

Error Log:

2013-06-05 16:39:09.091 DEBUG nova.service [-] network_topic : network from (pid=17191) wait /opt/stack/nova/nova/
2013-06-05 16:39:09.092 AUDIT nova.service [-] Starting compute node (version 2012.2.5-LOCALBRANCH:LOCALREVISION)
2013-06-05 16:39:09.092 DEBUG nova.virt.libvirt.driver [-] Connecting to libvirt: qemu:///system from (pid=17191) _get_connection /opt/stack/nova/nova/virt/libvirt/
libvir: XML-RPC error : authentication failed: Authorization requires authentication but no agent is available.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/", line 346, in fire_timers
  File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/", line 56, in __call__
    cb(*args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/eventlet/", line 163, in _do_send
  File "/usr/local/lib/python2.7/dist-packages/eventlet/", line 194, in main
    result = function(*args, **kwargs)
  File "/opt/stack/nova/nova/", line 132, in run_server
  File "/opt/stack/nova/nova/", line 398, in start
  File "/opt/stack/nova/nova/compute/", line 268, in init_host
  File "/opt/stack/nova/nova/virt/libvirt/", line 334, in init_host
    if not self.has_min_version(MIN_LIBVIRT_VERSION):
  File "/opt/stack/nova/nova/virt/libvirt/", line 323, in has_min_version
    libvirt_version = self._conn.getLibVersion()
  File "/opt/stack/nova/nova/virt/libvirt/", line 351, in _get_connection
    self._connect, self.uri, self.read_only)
  File "/usr/local/lib/python2.7/dist-packages/eventlet/", line 147, in proxy_call
    rv = execute(f,*args,**kwargs)
  File "/usr/local/lib/python2.7/dist-packages/eventlet/", line 76, in tworker
    rv = meth(*args,**kwargs)
  File "/opt/stack/nova/nova/virt/libvirt/", line 405, in _connect
    return libvirt.openAuth(uri, auth, 0)
  File "/usr/lib/python2.7/dist-packages/", line 102, in openAuth
    if ret is ...
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-07-23 07:03:21 -0600

Are you able to run "virsh -c qemu:///system"? What is the result?

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-06-05 18:50:13 -0600

Seen: 869 times

Last updated: Jul 23 '13