-
Bug
-
Resolution: Done-Errata
-
Undefined
-
None
-
None
In the console, when using the Form to configure a Migration Policy is says:
VirtualMachine labels
But...
a) The code matches on VMI labels, not VM labels https://github.com/kubevirt/kubevirt/blob/e10c1d9979fd590294c2f81b2230f41d1f7f6e2f/pkg/virt-controller/watch/migrationpolicy.go#L49
b) VM labels are not copied to VMI labels once the VM starts. Its the stuff under .spec.template.metadata.labels that is carried over.
This makes it very confusing for a customer to use.