-
Epic
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
Migration Hooks
-
False
-
False
-
To Do
-
VIRTSTRAT-20 - Custom migration hooks
-
VIRTSTRAT-20Custom migration hooks
-
0% To Do, 0% In Progress, 100% Done
-
Undefined
Goal
Provide users a way to automate tasks related to the migration. This will include tasks in the VM to be migrated as well as in the associated infrastructure (DNS, Monitoring, Load Balancers, etc).
Background
Automation will be run as a container image from the registry. Alternatively we will provide a way to run simple Ansible playbooks.
Playbooks are for simplicity purposes (simple use-case) and container image is for flexibility purposes as I could technically use any programming language.
Migration hooks should be assigned per Migration Plan, and the same mighook should be re-usable for multiple Migration Plans.
Migration hook logs (pod logs) should be accessible after a migration is completed for review or troubleshooting purposes.
User Stories
As a migration owner, when creating a migration plan, I would like the ability to add some automation scripts to be executed before or after a VM is migrated.
Implementation Notes
As a way to provide stable Ansible Images, we will work also in the Ansible Hooks Image Builder