Updates:
Status: Fixed
Comment #3 on issue 126 by [email protected]: KVM instances are killed with
SIGTERM when node is shutdown
http://code.google.com/p/ganeti/issues/detail?id=126
commit 5d9e167affc8cd412af05e984f58fcbadf48ebf5
Author: Miguel Di Ciurcio Filho <[email protected]>
Date: Thu Dec 9 14:00:20 2010 -0200
Script to gracefully power off KVM instances
When a node is running KVM instances and that node is rebooted or
shutdown, the gnt-noded daemon is finished and leaves the KVM instances
running. Latter on in the shutdown process, all remaining processes
receive SIGTERM as usual, meaning that the KVM instances are all
terminated, without running a proper shutdown procedure inside the
guests.
When using Xen, the xendomains script will take care of gracefully
powering down the instances, but for KVM there is nothing like that.
This patch adds an script that sends the "system_powerdown" command to
all running instances, and it could be useful for people using KVM.
This patch is a response for issue #126
Signed-off-by: Miguel Di Ciurcio Filho <[email protected]>
Reviewed-by: Michael Hanselmann <[email protected]>