Bug 2089859

Summary: [Crane] DPA CR is missing the required flag - Migration is getting failed at the EnsureCloudSecretPropagated phase due to the missing secret VolumeMounts
Product: Migration Toolkit for Containers Reporter: Prasad Joshi <prajoshi>
Component: ControllerAssignee: Jason Montleon <jmontleo>
Status: CLOSED ERRATA QA Contact: ssingla
Severity: urgent Docs Contact: Anjana Suparna Sriram <asriram>
Priority: urgent    
Version: 1.7.2CC: dagur, ernelson, jmontleo, midays, rjohnson
Target Milestone: ---Keywords: Regression
Target Release: 1.7.2   
Hardware: Unspecified   
OS: Unspecified   
URL: https://github.com/konveyor/mig-operator/pull/830
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-01 09:53:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Prasad Joshi 2022-05-24 15:10:40 UTC
Description of problem: Recently OADP introduced a new flag which is responsible for mounting secret volumeMounts. The DPA CR created by the crane is missing this flag.

Version-Release number of selected component (if applicable): 
Source GCP 4.6 Crane 1.7.2 (Upstream) + OADP 1.0.3 (stage)
Target GCP 4.10 Crane 1.7.2 (Upstream) + OADP 1.0.3 (stage)


How reproducible:
Always

Steps to Reproduce:
1. Create a namespace
$ oc new-project bug
2. Execute migration

Actual results: Migration is getting failed at the EnsureCloudSecretPropagated phase due to the missing secret VolumeMounts.

Expected results: Crane should include this flag in DPA CR
   unsupportedOverrides:
      operator-type: mtc

Additional info:

Comment 10 errata-xmlrpc 2022-07-01 09:53:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Migration Toolkit for Containers (MTC) 1.7.2 security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5483