[libvirt] client hang in virDomainCreateXML

2011-11-01 Thread Jiff Shen
Hi,

We are using Ubuntu 10.04 eucalyptus 1.6.2 and libvirt 0.7.5. We found
eucalyptus-nc sometimes hangs in virDomainCreateXML, and never gets
response from libvirtd.
After 2 days of investigation, I found there is another libvirt client
connects to libvirtd 'qemu:///system', which is the same URI as
eucalyptus-nc. The bug never shows after I disabled the client.

My question is:
1, can I have multiple clients connect to qemu:///system?
2, is this an bug in libvirt and has it been fixed?

Thanks a lot

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] client hang in virDomainCreateXML

2011-11-03 Thread Wolverine
Hi,

We are using Ubuntu 10.04 eucalyptus 1.6.2 and libvirt 0.7.5. We found
eucalyptus-nc sometimes hangs in virDomainCreateXML, and never gets
response from libvirtd.
After 2 days of investigation, I found there is another libvirt client
connects to libvirtd 'qemu:///system', which is the same URI as
eucalyptus-nc. The bug never shows after I disabled the client.

My question is:
1, can I have multiple clients connect to qemu:///system?
2, is this an bug in libvirt and has it been fixed?

Thanks a lot
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] client hang in virDomainCreateXML

2011-11-01 Thread Daniel P. Berrange
On Tue, Nov 01, 2011 at 10:59:39AM +0800, Jiff Shen wrote:
> Hi,
> 
> We are using Ubuntu 10.04 eucalyptus 1.6.2 and libvirt 0.7.5. We found
> eucalyptus-nc sometimes hangs in virDomainCreateXML, and never gets
> response from libvirtd.
> After 2 days of investigation, I found there is another libvirt client
> connects to libvirtd 'qemu:///system', which is the same URI as
> eucalyptus-nc. The bug never shows after I disabled the client.
> 
> My question is:
> 1, can I have multiple clients connect to qemu:///system?

Yes, since 0.6.0 we support concurrent connections, however, there
have been releases where this is buggy. Also one thread may still
block another thread if it holds a lock for a long time.

> 2, is this an bug in libvirt and has it been fixed?

I can't remember an specific bug in that libvirt release, but it
is quite old now. You might consider trying a newer libvirt.


Daniel
-- 
|: http://berrange.com  -o-http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o- http://virt-manager.org :|
|: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list