Commit 8d1c208
authored
fix(core): clarify migration timeout failure message (#2209)
Clarify the VM migration failure condition message when KubeVirt reports that the target pod was unschedulable and deleted after the scheduling timeout.
Instead of exposing the raw low-level message from KubeVirt, the controller now returns a user-friendly condition message that explains the actual reason: no suitable node was found for placing the target VM within the timeout period.
Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>1 parent a4d45a5 commit 8d1c208
2 files changed
Lines changed: 36 additions & 1 deletion
File tree
- images/virtualization-artifact/pkg/controller/vmop/migration/internal/handler
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
| 511 | + | |
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
| |||
678 | 678 | | |
679 | 679 | | |
680 | 680 | | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
681 | 689 | | |
682 | 690 | | |
683 | 691 | | |
| |||
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
902 | 902 | | |
903 | 903 | | |
904 | 904 | | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
905 | 932 | | |
0 commit comments