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_TIMEOUT=300 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.
Simon Matter
2019-Jan-07 14:17 UTC
[CentOS] libvirt guest on host's shutdown/reboot - problem
> 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_TIMEOUT=300How 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
Seemingly Similar Threads
- guest on host's shutdown/reboot (problem?) - centos 7.5
- Re: Guest startup delay options ignored
- Re: guests not shutting down when host shuts down
- Guest startup delay options ignored
- libvirt-guests.service doesn't work, but manually running libvirt-guests.sh stop does