Commit 88ce554
authored
message_forwarding: Don't block cross-pool migrations for unbootable VMs (#7062)
`forward_to_suitable_host` picks a host that can boot up the VM,
erroring out with `NO_HOSTS_AVAILABLE` otherwise. In case of a non-live
VM that can't boot anywhere in the source pool (because it requires a
larger amount of memory, for example), this would block its migration to
a suitable pool altogether.
Catch the error and launch the migration from any host that can see the
VM's SRs instead of blocking it.1 file changed
Lines changed: 20 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2672 | 2672 | | |
2673 | 2673 | | |
2674 | 2674 | | |
| 2675 | + | |
| 2676 | + | |
2675 | 2677 | | |
2676 | 2678 | | |
2677 | | - | |
2678 | | - | |
2679 | | - | |
2680 | | - | |
| 2679 | + | |
2681 | 2680 | | |
| 2681 | + | |
| 2682 | + | |
2682 | 2683 | | |
2683 | 2684 | | |
2684 | 2685 | | |
| |||
2700 | 2701 | | |
2701 | 2702 | | |
2702 | 2703 | | |
2703 | | - | |
| 2704 | + | |
2704 | 2705 | | |
2705 | | - | |
2706 | | - | |
2707 | | - | |
2708 | | - | |
| 2706 | + | |
| 2707 | + | |
| 2708 | + | |
| 2709 | + | |
| 2710 | + | |
| 2711 | + | |
| 2712 | + | |
| 2713 | + | |
| 2714 | + | |
| 2715 | + | |
| 2716 | + | |
| 2717 | + | |
| 2718 | + | |
| 2719 | + | |
2709 | 2720 | | |
2710 | 2721 | | |
2711 | 2722 | | |
| |||
0 commit comments