Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 911882

Summary: [abrt] vdsm-4.10.3-6.fc18: libvirt.py:102:openAuth:libvirtError: authentication failed: authentication failed
Product: [Retired] oVirt Reporter: Mark Davidson <markdavidson000>
Component: vdsmAssignee: Federico Simoncelli <fsimonce>
Status: CLOSED NOTABUG QA Contact: Haim <hateya>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.2CC: abaron, acathrow, bazulay, danken, dougsland, dyasny, fsimonce, iheim, mgoldboi, virt-maint, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:7e7b4ad2d49dba25f6b9b668ec077f0082aa9f9b infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-17 10:40:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: dso_list
none
File: environ none

Description Mark Davidson 2013-02-16 11:49:23 UTC
Version-Release number of selected component:
vdsm-4.10.3-6.fc18

Additional info:
cmdline:        python /usr/share/vdsm/nwfilter.pyc
executable:     /usr/share/vdsm/nwfilter.pyc
kernel:         3.7.6-201.fc18.x86_64
uid:            0

Truncated backtrace:
libvirt.py:102:openAuth:libvirtError: authentication failed: authentication failed

Traceback (most recent call last):
  File "/usr/share/vdsm/nwfilter.py", line 85, in <module>
    main()
  File "/usr/share/vdsm/nwfilter.py", line 33, in main
    conn = libvirtconnection.get()
  File "/usr/lib64/python2.7/site-packages/vdsm/libvirtconnection.py", line 148, in get
    conn = utils.retry(libvirtOpenAuth, timeout=10, sleep=0.2)
  File "/usr/lib64/python2.7/site-packages/vdsm/utils.py", line 934, in retry
    return func()
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 102, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: authentication failed: authentication failed

Local variables in innermost frame:
flags: 0
auth: [[2, 5], <function req at 0x262c8c0>, None]
ret: None
uri: 'qemu:///system'

Comment 1 Mark Davidson 2013-02-16 11:49:26 UTC
Created attachment 698132 [details]
File: backtrace

Comment 2 Mark Davidson 2013-02-16 11:49:28 UTC
Created attachment 698133 [details]
File: core_backtrace

Comment 3 Mark Davidson 2013-02-16 11:49:30 UTC
Created attachment 698134 [details]
File: dso_list

Comment 4 Mark Davidson 2013-02-16 11:49:32 UTC
Created attachment 698135 [details]
File: environ

Comment 5 Douglas Schilling Landgraf 2013-02-17 02:25:06 UTC
Hi.

 Could you please share how did you manage to achieve this error?
Is it a deployed host from oVirt Manager? If yes, could you please share the logs from Engine /var/log/ovirt-engine/host-deploy/your-host.log? Or is it a manual install of VDSM?

Thanks
Douglas

Comment 6 Mark Davidson 2013-02-17 10:40:22 UTC
Hi.

This was user-error problem.
Registration was not complete, so the certificate chain between RHEV-H and RHEV-M fails.  The libvirt.py is working correctly, in this case.

Sorry for the noise, and thanks for the quick reply!
Changing status to closed & NOTABUG.

Thanks,
Mark