Libvirt Guest On Host’s Shutdown/reboot – Problem

Home » CentOS » Libvirt Guest On Host’s Shutdown/reboot – Problem
CentOS 1 Comment

hi guys

I have just two guest after which libvirt looks and when I shutdown those guests:

$ virsh shutdown $_dom

that domain takes little time to power down, as expected one would say(~20sec) But! I reboot the hosts and I have in my:

/etc/sysconfig/libvirt-guests :

ON_SHUTDOWN=shutdown

PARALLEL_SHUTDOWN=1

SHUTDOWN_TIMEOUT00

I see libvirtd service shut down takes minutes, a few good minutes to deal with guests shutdown(I suppose?)

How could I dig into it and troubleshoot?

Would you have any idea as why libvirtd shutdown takes that long?

many thank, L.

One thought on - Libvirt Guest On Host’s Shutdown/reboot – Problem

  • How long does it take if you do this?

    systemctl stop libvirt-guests.service

    I have PARALLEL_SHUTDOWN=5 with currently four guests and it takes as you said ~20-30 seconds (those are non systemd guests).

    Regards, Simon