[ovirt-users] starting VDSM gives "libvir: XML-RPC error : authentication failed: authentication failed" error
Chris Adams
cma at cmadams.net
Tue Jul 22 13:04:39 UTC 2014
Once upon a time, ybronhei <ybronhei at redhat.com> said:
> 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.
I see the same thing with a new 3.5-beta install. libvirtd is running;
I ran the above vdsm-tool command, but that made no difference.
The libvirtd.conf has the following config (set by vdsm install):
## beginning of configuration section by vdsm-4.13.0
keepalive_interval=-1
log_outputs="1:file:/var/log/libvirt/libvirtd.log"
unix_sock_rw_perms="0770"
auth_unix_rw="sasl"
log_filters="3:virobject 3:virfile 2:virnetlink 3:cgroup 3:event 3:json 1:libvirt 1:util 1:qemu"
cert_file="/etc/pki/vdsm/certs/vdsmcert.pem"
unix_sock_group="qemu"
listen_addr="0.0.0.0"
ca_file="/etc/pki/vdsm/certs/cacert.pem"
key_file="/etc/pki/vdsm/keys/vdsmkey.pem"
host_uuid="74e1d154-d83f-4852-9c35-3c931f8b45cf"
## end of configuration section by vdsm-4.13.0
If I comment out the auth_unix_rw line and restart libvirtd, vdsmd will
start successfully.
--
Chris Adams <cma at cmadams.net>
More information about the Users
mailing list