If you are using CentOS / Red Hat you can modify this file: libvirt-guests:#ON_SHUTDOWN=suspend
# action taken on host shutdown # - suspend all running guests are suspended using virsh managedsave # - shutdown all running guests are asked to shutdown. Please be careful with # this settings since there is no way to distinguish between a # guest which is stuck or ignores shutdown requests and a guest # which just needs a long time to shutdown. When setting # ON_SHUTDOWN=shutdown, you must also set SHUTDOWN_TIMEOUT to a # value suitable for your guests. #ON_SHUTDOWN=suspend Hope this help. Remo On 11/2/17 11:08 AM, Chris Friesen wrote: > On 11/02/2017 01:03 AM, Chris wrote: >> Hello, >> >> When we shut down a compute node the instances running on it get >> suspended. This >> generates some difficulties with some applications like RabbitMQ dont >> like to be >> suspended. Is there a way to change this behavior so that the running >> instances >> gets killed or shutdown instead? > > This may be done by the libvirtd shutdown scripts rather than anything > in nova. > > As others have said, you should probably either shut down the VMs in > an orderly fashion or else cold/live migrate the instances off the > compute node before rebooting it. > > Chris > > _______________________________________________ > Mailing list: > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : openstack@lists.openstack.org > Unsubscribe : > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack