[libvirt-users] virInitialize dumps core intermittently.

Daniel Veillard veillard at redhat.com
Fri Aug 12 03:16:03 UTC 2011


On Thu, Aug 11, 2011 at 11:36:51AM -0700, Sharad Mishra wrote:
> Hi,
> 
>    I have a host with 6 VMs set to autostart. When this host reboots, it
> starts libvirtd, pegasus cimom and libvirt-cim. It also restarts the VMs.
> Intermittently we noticed a core during start up that points to the last
> call made by libvirt-cim to "virInitialize". I am thinking that it is a
> timing issue where virInitialize is called  while libvirt is trying to
> autostart the VMs.

  Libvirt should not crash as is, but restarting the 6 domains may take
quite some time and it's done synchronously at startup, libvirt daemon
will start processing requests only once done. The problem is that
tog-pegasus may start in the meantime, libvirt-cim virInitialize()
run ... and fails to connect. You may have a crash there, make sure
how it behaves if there is a failure to connect on startup (apparently
it may take multiple attempts).

Daniel


-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvirt-users mailing list