[ovirt-users] starting VDSM gives "libvir: XML-RPC error : authentication failed: authentication failed" error

Chris Adams cma at cmadams.net
Tue Jul 22 16:55:28 UTC 2014


Once upon a time, Chris Adams <cma at cmadams.net> said:
> 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 problem is that /usr/lib64/python2.6/site-packages/vdsm/constants.py
(from vdsm-python-4.16.0-3.git601f786.el6.x86_64) sets EXT_SASLPASSWD2
to /sbin/saslpasswd2, but the binary is actually in /usr/sbin.

I fixed that and manually set the password (and fixed the ovirt-ha* init
scripts), but still can't deploy a 3.5-beta hosted engine.  When
configuring the management bridge, it leaves the interface down (both
the bridge and the underlying interface); I brought them back up, but
the setup then hits this:

[ INFO  ] Verifying sanlock lockspace initialization
[ ERROR ] Failed to execute stage 'Misc configuration': [Errno 2] No such file or directory

I see this in the setup log:

########################################################################
2014-07-22 11:27:39 DEBUG otopi.context context._executeMethod:152 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/sanlock/lockspace.py", line 163, in _misc
    lockspace + '.metadata': md_size,
  File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line 336, in create
    service_size=size)
  File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line 268, in create_volume
    raise RuntimeError(response["status"]["message"])
RuntimeError: [Errno 2] No such file or directory
2014-07-22 11:27:39 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Misc configuration': [Errno 2] No such file or directory
########################################################################

Not sure what is happening there.
-- 
Chris Adams <cma at cmadams.net>



More information about the Users mailing list