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

Bug 1079083

Summary: [abrt] vdsm-python: libvirt.py:102:openAuth:libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
Product: [Retired] oVirt Reporter: al morris <allinux4>
Component: vdsmAssignee: Yaniv Bronhaim <ybronhei>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Gil Klein <gklein>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3CC: acathrow, allinux4, bazulay, dougsland, fsimonce, gklein, iheim, mgoldboi, oourfali, sasikanth.v19, virt-maint, yeylon
Target Milestone: ---   
Target Release: 3.4.1   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/54a99675688a82d38d68fe96a1434a37ec7d1a04
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-07 07:22:46 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: environ none

Description al morris 2014-03-21 00:06:41 UTC
Version-Release number of selected component:
vdsm-python-4.13.3-3.fc20

Additional info:
reporter:       libreport-2.1.12
cmdline:        /usr/bin/python /usr/bin/vdsm-tool nwfilter
dso_list:       libvirt-python-1.1.3.3-5.fc20.x86_64
executable:     /usr/bin/vdsm-tool
kernel:         3.13.4-200.fc20.x86_64
runlevel:       unknown
type:           Python
uid:            0

Truncated backtrace:
libvirt.py:102:openAuth:libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory

Traceback (most recent call last):
  File "/usr/bin/vdsm-tool", line 143, in <module>
    sys.exit(main())
  File "/usr/bin/vdsm-tool", line 140, in main
    return tool_command[cmd]["command"](*args[1:])
  File "/usr/lib64/python2.7/site-packages/vdsm/tool/nwfilter.py", line 35, in main
    conn = libvirtconnection.get(None, False)
  File "/usr/lib64/python2.7/site-packages/vdsm/libvirtconnection.py", line 132, in get
    conn = utils.retry(libvirtOpenAuth, timeout=10, sleep=0.2)
  File "/usr/lib64/python2.7/site-packages/vdsm/utils.py", line 925, 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: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory

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

Potential duplicate: bug 957335

Comment 1 al morris 2014-03-21 00:06:45 UTC
Created attachment 877069 [details]
File: backtrace

Comment 2 al morris 2014-03-21 00:06:46 UTC
Created attachment 877070 [details]
File: environ

Comment 3 Yaniv Bronhaim 2014-03-24 13:53:47 UTC
I need more information on this issue please. steps for reproduction, status of services (if libvirtd was up), /var/log/messages might help also.
the call vdsm-tool nwfilter needs to initiate connectivity to libvirtd service, if libvirt is not up and serve, this call fails.
/var/log/libvirt/libvirtd.log also can give more details.

Comment 4 Oved Ourfali 2014-04-07 07:22:46 UTC
Al - please reopen if you can supply the information Yaniv asked for.

Thank you,
Oved

Comment 5 al morris 2014-10-30 16:09:42 UTC
thanks for your attention
lost track of this one too
@