[ovirt-users] starting VDSM gives "libvir: XML-RPC error : authentication failed: authentication failed" error
ybronhei
ybronhei at redhat.com
Tue Jul 22 09:14:50 UTC 2014
On 07/21/2014 01:45 AM, Jorick Astrego wrote:
> Hi,
>
> Some more info, I think this is the problem and I also have it on the
> node image:
>
> Jul 20 22:41:49 localhost libvirtd: unable to open Berkeley db
> /etc/libvirt/passwd.db: No such file or directory
>
Hey
Did you check if libvirtd services is up?
can you share libvirtd.conf file?
I'm not sure what is exactly the issue, but you can try "vdsm-tool
configure --module libvirt" command to see if you set the vdsm
configuration for libvirt as required.
Regards,
Yaniv Bronhaim
> Kind regards,
> Jorick Astrego
> Netbulae
>
> On 07/19/2014 06:52 PM, Jorick Astrego wrote:
>> Good day,
>>
>> Trying to setup a new 3.5 test environment with centos 6.5 as ovirt node.
>>
>> But I keep getting these errors:
>>
>> libvir: XML-RPC error : authentication failed: authentication failed
>> libvir: XML-RPC error : authentication failed: authentication failed
>> libvir: XML-RPC error : authentication failed: authentication failed
>> libvir: XML-RPC error : authentication failed: authentication failed
>> libvir: XML-RPC error : authentication failed: authentication failed
>> libvir: XML-RPC error : authentication failed: authentication failed
>> Traceback (most recent call last):
>> File "/usr/bin/vdsm-tool", line 154, in main
>> return tool_command[cmd]["command"](*args)
>> File "/usr/lib64/python2.6/site-packages/vdsm/tool/nwfilter.py",
>> line 37, in main
>> conn = libvirtconnection.get(None, False)
>> File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py",
>> line 151, in get
>> conn = _open_qemu_connection()
>> File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py",
>> line 95, in _open_qemu_connection
>> return utils.retry(libvirtOpen, timeout=10, sleep=0.2)
>> File "/usr/lib64/python2.6/site-packages/vdsm/utils.py", line 1086,
>> in retry
>> return func()
>> File "/usr/lib64/python2.6/site-packages/libvirt.py", line 102, in
>> openAuth
>> if ret is None:raise libvirtError('virConnectOpenAuth() failed')
>> libvirtError: authentication failed: authentication failed
>>
>> 2014-07-19 16:45:20 DEBUG otopi.context context._executeMethod:152
>> method exception
>> Traceback (most recent call last):
>> File "/tmp/ovirt-TTJojY73zc/pythonlib/otopi/context.py", line 142,
>> in _executeMethod
>> method['method']()
>> File
>> "/tmp/ovirt-TTJojY73zc/otopi-plugins/ovirt-host-deploy/vdsm/packages.py",
>> line 219, in _start
>> self.services.state('vdsmd', True)
>> File "/tmp/ovirt-TTJojY73zc/otopi-plugins/otopi/services/rhel.py",
>> line 188, in state
>> 'start' if state else 'stop'
>> File "/tmp/ovirt-TTJojY73zc/otopi-plugins/otopi/services/rhel.py",
>> line 96, in _executeServiceCommand
>> raiseOnError=raiseOnError
>> File "/tmp/ovirt-TTJojY73zc/pythonlib/otopi/plugin.py", line 871, in
>> execute
>> command=args[0],
>> RuntimeError: Command '/sbin/service' failed to execute
>> 2014-07-19 16:45:20 ERROR otopi.context context._executeMethod:161
>> Failed to execute stage 'Closing up': Command '/sbin/service' failed
>> to execute
>>
>> I tried adding the node through ovirt engine interface and the manual
>> instrutions on the wiki
>> (http://wiki.ovirt.org/Installing_ovirt-node_from_rpm)
>>
>> Running "service vdsm reconfigure" tells me everything is ok.
>>
>> Thanks in advance!
>>
>> Kind regards,
>> Jorick Astrego
>> Netbulae
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
--
Yaniv Bronhaim.
More information about the Users
mailing list