Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-20416

[2117319] Error while creating Migration Policy

XMLWordPrintable

    • CNV Virtualization Sprint 224
    • High

      Description of problem: when trying to create migration policy using the yaml attached I get the following error:

      [akrgupta@fedora auth]$ oc apply -f migration_policy.yaml
      The MigrationPolicy "policy1" is invalid:

      • spec.selectors.namespaceSelector.matchLabels: Invalid value: "object": spec.selectors.namespaceSelector.matchLabels in body must be of type string: "object"
      • spec.selectors.virtualMachineInstanceSelector.matchLabels: Invalid value: "object": spec.selectors.virtualMachineInstanceSelector.matchLabels in body must be of type string: "object"

      Version-Release number of selected component (if applicable):

      How reproducible:

      Steps to Reproduce:
      1.
      2.
      3.

      Actual results:

      Expected results:

      Additional info:

            iholder@redhat.com Itamar Holder
            akrgupta@redhat.com Akriti gupta
            Kedar Bidarkar Kedar Bidarkar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: