-
Bug
-
Resolution: Done
-
Major
-
None
-
CNV v4.15.0
-
None
-
Quality / Stability / Reliability
-
2
-
False
-
-
False
-
Migrate
-
-
No
Description of problem:
The docs imply that adding a label to a VM and then using that in the MigrationPolicy selector will make the policy apply to the VM. It does not. The code looks at VMI label to apply the policy, and the VMI label is not copied over from the VM label, it it copied over from the VM .spec.template.metadata.labels. https://docs.openshift.com/container-platform/4.15/virt/live_migration/virt-configuring-live-migration.html#live-migration-policies
Version-Release number of selected component (if applicable):
All
Please improve the documentation to reflect that its a VMI label, and add an example or link some other part of the Docs on how to set such labels. The way its stands its almost impossible to get the feature working correctly.