Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Check for VDDK conversion hosts before allowing warm migration #1082
On the Schedule step of the Migration Plan wizard, this PR replaces the warning icon (for VMs without snapshots) with two inline toast alerts, one for each of the potential reasons why warm migration might be unsupported. One or both will appear on mount of that step and disappear on unmount, if warm migration is blocked. The new alert appears if there are no VDDK-configured conversion hosts associated with the selected VMs.
In order to support more than one alert message at a time in the wizard, I changed the way we handle those alerts in Redux. The
I updated/fixed the existing tests that were failing, but I'll add tests for the new code in a followup PR.