Hook script not executed on source host of migrating VM

gurubert

Distinguished Member
Mar 12, 2015
1,263
411
153
Berlin, Germany
www.heinlein-consulting.de
Hi,
to see how hook scripts work I created a very basic script and placed it on a storage available to each node:
Bash:
#!/bin/bash

echo "$@" | logger -i -p local4.info -t snippet-test

When migrating a VM between the nodes I only see log entries for "pre-start" and "post-start" hooks on the destination host but nothing on the source host.

And as the VM is live migrated shouldn't there be other hooks than pre-start and post-start?