Hi,
I've been looking into using Hooks in my setup to announce the VM IP addresses via BGP but unfortunately, the documentation is lacking of important information such as the behaviour during a migration.
I added my hook script to one VM, started a migration and noticed that the hook already gets executed before the VM has been migrated properly. In my case it was not directly an issue, but it could get an issue if multipath-installation (ECMP) is enabled on the router.
Besides that, after the migration has been completed the
Is this an expected behaviour and if yes, is there any "opt-in feature" to run the
Cheers,
Tom
I've been looking into using Hooks in my setup to announce the VM IP addresses via BGP but unfortunately, the documentation is lacking of important information such as the behaviour during a migration.
I added my hook script to one VM, started a migration and noticed that the hook already gets executed before the VM has been migrated properly. In my case it was not directly an issue, but it could get an issue if multipath-installation (ECMP) is enabled on the router.
Besides that, after the migration has been completed the
pre-stop/post-stop
phases were not executed on the source host which causes that the route does not get removed.Is this an expected behaviour and if yes, is there any "opt-in feature" to run the
*stop
hook after a migration on the source host?Cheers,
Tom