Bug 958907 - qemu:///session does not work
Summary: qemu:///session does not work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Laine Stump
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-02 16:00 UTC by Richard W.M. Jones
Modified: 2013-05-14 21:10 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-14 21:10:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
build.log from libguestfs (1.15 MB, text/x-log)
2013-05-02 16:00 UTC, Richard W.M. Jones
no flags Details

Description Richard W.M. Jones 2013-05-02 16:00:58 UTC
Created attachment 742788 [details]
build.log from libguestfs

Description of problem:

I tried to build libguestfs today in Rawhide, but the tests
show basic failures in connecting to libvirt (using qemu:///session):

libguestfs: opening libvirt handle: URI = NULL, auth = virConnectAuthPtrDefault, flags = 0
libvirt: XML-RPC error : Failed to connect socket to '/builddir/.cache/libvirt/libvirt-sock': No such file or directory
libguestfs: error: could not connect to libvirt (URI = NULL): Failed to connect socket to '/builddir/.cache/libvirt/libvirt-sock': No such file or directory [code=38 domain=7]
libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this UNLESS using SELinux + sVirt]
libguestfs: trace: launch = -1 (error)
FAIL: guestfs_launch

For the full log, see the attached file.

Version-Release number of selected component (if applicable):

libvirt-devel-1.0.5-1.fc20.x86_64

How reproducible:

100%

Steps to Reproduce:
1. Run just about anything involving libvirt & a user
session in Rawhide.

Additional info:

See attached file.

Comment 1 Daniel Berrangé 2013-05-02 16:03:03 UTC
The offending patch

https://www.redhat.com/archives/libvir-list/2013-May/msg00171.html

Comment 2 Laine Stump 2013-05-02 18:08:20 UTC
Patch sent upstream for review:

https://www.redhat.com/archives/libvir-list/2013-May/msg00180.html

Comment 3 Richard W.M. Jones 2013-05-03 12:18:18 UTC
(In reply to comment #2)
> Patch sent upstream for review:
> 
> https://www.redhat.com/archives/libvir-list/2013-May/msg00180.html

This seems to have been firmly NACKed :-(

Comment 4 Eric Blake 2013-05-03 13:53:31 UTC
v2 fared better:
https://www.redhat.com/archives/libvir-list/2013-May/msg00242.html

Comment 5 Richard W.M. Jones 2013-05-03 14:16:50 UTC
I pushed the v2 patch to Rawhide so I can get libguestfs built.

Comment 6 Laine Stump 2013-05-03 16:28:57 UTC
It's also been pushed upstream as 
commit 2ffd87d8204c209b81610b56ee5161ae71b58b8c
as well as into the upstream v1.0.5-maint branch.

Comment 7 Richard W.M. Jones 2013-05-03 17:56:26 UTC
Setting the version to f19 so bodhi can close this bug.

Comment 8 Fedora Update System 2013-05-04 06:35:00 UTC
libvirt-1.0.5-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/libvirt-1.0.5-2.fc19

Comment 9 Fedora Update System 2013-05-04 18:49:42 UTC
Package libvirt-1.0.5-2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libvirt-1.0.5-2.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-7401/libvirt-1.0.5-2.fc19
then log in and leave karma (feedback).


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