[libvirt] How to get the real error?

Christoph Höger choeger at cs.tu-berlin.de
Sat Aug 30 13:38:13 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I am trying to use libvirt to manage a virtualized HPC cluster software.
That works well so far.
But when I encounter an error and try to get it with
	virGetLastError()
I often see an error message that makes no sense. E.g. I had
virDomainCreateLinux(...) returning NULL and virGetLastError()->message
stating "Failed to find the network: Is the daemon running ?" which is
obviously wrong, because libvirtd is running and the network is using
bridged mode (no 'source' element).
This also happened when I had that particular domain name already in use
 and on other errors.
I am using libvirt version 0.4.4. is that a known regression or am I
just missing something?


thanks

christoph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIuU1FhMBO4cVSGS8RAiVRAJ0ad31+Bf5k7V7axKHDx4Yv5xc3VgCfcKsl
GiHynl3ac0fdwrx+vTrvSxU=
=ZqQs
-----END PGP SIGNATURE-----




More information about the libvir-list mailing list