[libvirt] error: failed to connect to the hypervisor

Daniel P. Berrange berrange at redhat.com
Thu Aug 6 12:02:33 UTC 2009


On Mon, Aug 03, 2009 at 08:56:48AM +0200, Dominik Klein wrote:
> Hi
> 
> I am running kvm-78 with libvirt 0.6.1 and see the following error from
> time to time when my linux-ha cluster tries to run "virsh domstate" to
> figure out a virtual machine's state:
> 
> error: failed to connect to the hypervisor
> 
> In syslog, I see:
> 
> libvirtd: 23:39:11.357: error : Failed to set close-on-exec file
> descriptor flag
> 
> Due to this error, the cluster assumes the machine is not running okay
> and reboots it in order to fix things.
> 
> This happened twice in 2 months with 10 machines being queried like that
> each minute (read: not too well reproducable)
> 
> What is this and how could I work around it or is this fixed in newer
> versions and so worth an upgrade?

I've never seen that error message before, but if I had to guess I'd
say that was a bug in 0.6.1 libvirt. There were quite a few really
nasty bugs in that release, which cause really wierd, random, and
inexplicable problems, so I'd really recommend updating to at
least 0.6.3 if at all possible.

Regards,
Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list