Justin Conover
2007-Jul-14 10:31 UTC
[Fedora-xen] Unable to open connection to hypervisor ''qemu:///system''
virt-manager +kvm wont load up since the last rounds of F7 updates I think. Unable to open connection to hypervisor URI ''qemu:///system'': <class ''libvirt.libvirtError''> virConnectOpenReadOnly() failed No such file or directory Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/engine.py", line 68, in _connect_to_uri conn = self.get_connection(uri, readOnly) File "/usr/share/virt-manager/virtManager/engine.py", line 309, in get_connection conn = vmmConnection(self.get_config(), uri, readOnly) File "/usr/share/virt-manager/virtManager/connection.py", line 74, in __init__ self.vmm = libvirt.openReadOnly(openURI) File "/usr/lib64/python2.5/site-packages/libvirt.py", line 132, in openReadOnly if ret is None:raise libvirtError(''virConnectOpenReadOnly() failed'') libvirtError: virConnectOpenReadOnly() failed No such file or directory [root@echelon ~]# lsmod |grep kvm kvm_amd 25813 1 kvm 75969 1 kvm_amd This works: [root@echelon kvm]# /usr/bin/qemu-kvm fedora7_1 -- fedora-test-list mailing list fedora-test-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list
Daniel Veillard
2007-Jul-14 11:34 UTC
[Fedora-xen] Re: Unable to open connection to hypervisor ''qemu:///system''
On Sat, Jul 14, 2007 at 05:31:38AM -0500, Justin Conover wrote:> virt-manager +kvm wont load up since the last rounds of F7 updates I think. > > Unable to open connection to hypervisor URI ''qemu:///system'': > <class ''libvirt.libvirtError''> virConnectOpenReadOnly() failed No such file > or directory > Traceback (most recent call last): > File "/usr/share/virt-manager/virtManager/engine.py", line 68, in > _connect_to_uri > conn = self.get_connection(uri, readOnly) > File "/usr/share/virt-manager/virtManager/engine.py", line 309, in > get_connection > conn = vmmConnection(self.get_config(), uri, readOnly) > File "/usr/share/virt-manager/virtManager/connection.py", line 74, in > __init__ > self.vmm = libvirt.openReadOnly(openURI) > File "/usr/lib64/python2.5/site-packages/libvirt.py", line 132, in > openReadOnly > if ret is None:raise libvirtError(''virConnectOpenReadOnly() failed'') > libvirtError: virConnectOpenReadOnly() failed No such file or directory >If you updated libvirt (from 0.2.3 to 0.3.0), make sure you don''t have a libvirt_qemud running, if yes kill it and restart the libvirtd service, then you should have a libvirtd daemon running instead. This may or may not be the cause, hard to tell... Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
Justin Conover
2007-Jul-15 21:17 UTC
Re: [Fedora-xen] Re: Unable to open connection to hypervisor ''qemu:///system''
On 7/14/07, Daniel Veillard <veillard@redhat.com> wrote:> > On Sat, Jul 14, 2007 at 05:31:38AM -0500, Justin Conover wrote: > > virt-manager +kvm wont load up since the last rounds of F7 updates I > think. > > > > Unable to open connection to hypervisor URI ''qemu:///system'': > > <class ''libvirt.libvirtError''> virConnectOpenReadOnly() failed No such > file > > or directory > > Traceback (most recent call last): > > File "/usr/share/virt-manager/virtManager/engine.py", line 68, in > > _connect_to_uri > > conn = self.get_connection(uri, readOnly) > > File "/usr/share/virt-manager/virtManager/engine.py", line 309, in > > get_connection > > conn = vmmConnection(self.get_config(), uri, readOnly) > > File "/usr/share/virt-manager/virtManager/connection.py", line 74, in > > __init__ > > self.vmm = libvirt.openReadOnly(openURI) > > File "/usr/lib64/python2.5/site-packages/libvirt.py", line 132, in > > openReadOnly > > if ret is None:raise libvirtError(''virConnectOpenReadOnly() failed'') > > libvirtError: virConnectOpenReadOnly() failed No such file or directory > > > > If you updated libvirt (from 0.2.3 to 0.3.0), make sure you don''t > have a libvirt_qemud running, if yes kill it and restart the libvirtd > service, then you should have a libvirtd daemon running instead. > This may or may not be the cause, hard to tell... > > Daniel > > -- > Red Hat Virtualization group http://redhat.com/virtualization/ > Daniel Veillard | virtualization library http://libvirt.org/ > veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ > http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ > > -- > Fedora-xen mailing list > Fedora-xen@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xenI don''t know how or why but the other day I noticed from another error after downgrading libvirt that the package qemu was missing..... so I installed that, it worked. upgraded to the latest libvirt and libvirt-python and they work. Thanks,