Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1816235

Summary: All migrations fail when the controller is installed in 3.9 cluster
Product: OpenShift Container Platform Reporter: Sergio <sregidor>
Component: Migration ToolingAssignee: John Matthews <jmatthew>
Status: CLOSED DUPLICATE QA Contact: Xin jiang <xjiang>
Severity: high Docs Contact:
Priority: high    
Version: 4.3.zCC: chezhang, dymurray, jmatthew, rpattath, whu, xjiang
Target Milestone: ---   
Target Release: 4.3.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1816230 Environment:
Last Closed: 2020-03-25 15:39:32 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:
Bug Depends On: 1816230    
Bug Blocks:    

Description Sergio 2020-03-23 15:48:32 UTC
+++ This bug was initially created as a clone of Bug #1816230 +++

Description of problem:
When the controller is installed in a 3.9 cluster, all migrations fail

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

How reproducible:
Always

Steps to Reproduce:
1. Prepare 2 clusters to perform migrations. One of them must be version ocp3.9 and the other ocp4.3
2. Install the controller in the 3.9 cluster
3. Run any migration

Actual results:
The migration fails with this failure

$ oc get migmigration -o yaml
....
  status:
    conditions:
    - category: Advisory
      durable: true
      lastTransitionTime: 2020-03-23T15:22:45Z
      message: '[1] Stage pods created.'
      status: "True"
      type: StagePodsCreated
    - category: Critical
      lastTransitionTime: 2020-03-23T15:23:04Z
      message: 'Reconcile failed: [pods "restic-26mz2" is forbidden: User "system:serviceaccount:openshift-migration:migration-controller"
        cannot delete pods in the namespace "openshift-migration": User "system:serviceaccount:openshift-migration:migration-controller"
        cannot delete pods in project "openshift-migration"]. See controller logs
        for details.'
      status: "True"
      type: ReconcileFailed
    phase: RestartRestic



Expected results:
The migration should run without failures

Additional info:

Comment 1 Dylan Murray 2020-03-25 15:39:32 UTC
We are not including this fix in CAM 1.1.2 Closing the bug as we have one open that aligns to CAM 1.2.

*** This bug has been marked as a duplicate of bug 1816230 ***