Bug 2185920

Summary: DOC-Error while creating Migration Policy - update yaml
Product: Container Native Virtualization (CNV) Reporter: ctomasko <ctomasko>
Component: DocumentationAssignee: Avital Pinnick <apinnick>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Bidarkar <kbidarka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.12.0CC: qixuan.wang
Target Milestone: ---Keywords: EasyFix
Target Release: 4.13.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: bug tracker 4.14
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-18 13:41:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ctomasko 2023-04-11 15:22:31 UTC
This bug was initially created as a copy of Bug #2117319

I am copying this bug because: 



Need to update the doc https://docs.openshift.com/container-platform/4.12/virt/live_migration/virt-configuring-live-migration-policies.html
the Migration policy yaml in doc contains matchLabels field needs to be removed .
Actual :
  selectors:
    namespaceSelector: 
      matchLabels:
        hpc-workloads: "True"
        xyz-workloads-type: ""
    virtualMachineInstanceSelector: 
      matchLabels:
        workload-type: "db"
        operating-system: ""

expected:

  selectors:
    namespaceSelector: 
        hpc-workloads: "True"
        xyz-workloads-type: ""
    virtualMachineInstanceSelector: 
        workload-type: "db"
        operating-system: ""

Comment 3 Avital Pinnick 2023-04-17 15:18:32 UTC
*** Bug 2182973 has been marked as a duplicate of this bug. ***

Comment 4 Avital Pinnick 2023-04-18 13:41:56 UTC
Changes approved and merged.