Bug 957335 - [abrt] vdsm-4.10.3-10.fc18: libvirt.py:102:openAuth:libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
Summary: [abrt] vdsm-4.10.3-10.fc18: libvirt.py:102:openAuth:libvirtError: Failed to c...
Keywords:
Status: CLOSED DUPLICATE of bug 852956
Alias: None
Product: Fedora
Classification: Fedora
Component: vdsm
Version: 18
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Yaniv Bronhaim
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:a16e1da893e2e9a6913e1ca66e9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-27 09:55 UTC by Iulian
Modified: 2013-04-29 17:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-29 17:51:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (939 bytes, text/plain)
2013-04-27 09:55 UTC, Iulian
no flags Details
File: core_backtrace (480 bytes, text/plain)
2013-04-27 09:55 UTC, Iulian
no flags Details
File: dso_list (67 bytes, text/plain)
2013-04-27 09:55 UTC, Iulian
no flags Details
File: environ (124 bytes, text/plain)
2013-04-27 09:55 UTC, Iulian
no flags Details

Description Iulian 2013-04-27 09:55:32 UTC
Version-Release number of selected component:
vdsm-4.10.3-10.fc18

Additional info:
cmdline:        python /usr/share/vdsm/nwfilter.pyc
executable:     /usr/share/vdsm/nwfilter.pyc
kernel:         3.8.8-203.fc18.i686.PAE
uid:            0
ureports_counter: 1

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/share/vdsm/nwfilter.py", line 85, in <module>
    main()
  File "/usr/share/vdsm/nwfilter.py", line 33, in main
    conn = libvirtconnection.get()
  File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 148, in get
    conn = utils.retry(libvirtOpenAuth, timeout=10, sleep=0.2)
  File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 934, in retry
    return func()
  File "/usr/lib/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 0xb6e7cf44>, None]
ret: None
uri: 'qemu:///system'

Comment 1 Iulian 2013-04-27 09:55:35 UTC
Created attachment 740743 [details]
File: backtrace

Comment 2 Iulian 2013-04-27 09:55:40 UTC
Created attachment 740744 [details]
File: core_backtrace

Comment 3 Iulian 2013-04-27 09:55:45 UTC
Created attachment 740745 [details]
File: dso_list

Comment 4 Iulian 2013-04-27 09:55:47 UTC
Created attachment 740746 [details]
File: environ

Comment 6 Yaniv Bronhaim 2013-04-28 12:40:24 UTC
I'm not sure that I understand the description correctly,
Are you trying to run "python /usr/share/vdsm/nwfilter.pyc" and get this exception? This command runs each restart of vdsmd service, if it throws exception vdsm deamon does not start and we restart libvirt service that should fix this socket error (by creating new one).
If this exception is raised during vdsm run and you see that in the log, Bug 852956 fixes it and you can close this bug as duplicate.

Comment 7 Iulian 2013-04-29 17:51:03 UTC

*** This bug has been marked as a duplicate of bug 852956 ***


Note You need to log in before you can comment on or make changes to this bug.