-
Bug
-
Resolution: Duplicate
-
Normal
-
None
Document URL:
https://docs.openshift.com/container-platform/4.12/virt/live_migration/virt-configuring-live-migration-policies.html
Section Number and Name:
Configuring a live migration policy from the command line
Describe the issue:
Create a MigrationPolicy using the example YAML on CNV 4.12/4.13 cluster, I get the following error:
The MigrationPolicy "my-awesome-policy" is invalid: spec.selectors.namespaceSelector.matchLabels: Invalid value: "object": spec.selectors.namespaceSelector.matchLabels in body must be of type string: "object"
Suggestions for improvement:
The YAML file works if "matchLabels" is removed.
spec:
<----snip---->
- Matching to VMs
selectors:
namespaceSelector:
kubernetes.io/metadata.name: "test"
<----snip---->
Additional information:
https://bugzilla.redhat.com/show_bug.cgi?id=2117319#
Although it's not a bug, the document should be updated.
- duplicates
-
CNV-28010 [2185920] DOC-Error while creating Migration Policy - update yaml
- Closed