Bug 2242064

Summary: restic backup does not work properly when the source workload isn't quiesced
Product: Migration Toolkit for Containers Reporter: mohamed <midays>
Component: ControllerAssignee: Dylan Murray <dymurray>
Status: CLOSED ERRATA QA Contact: mohamed <midays>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.8.0CC: dymurray, jmontleo, rjohnson
Target Milestone: ---   
Target Release: 1.8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-18 12:41:05 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 mohamed 2023-10-04 07:49:43 UTC
Description of problem:
When migrating an application with a route, the html file is not migrated, the cause of this is the restic backup does not work properly when the source workload is unquiesced

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

How reproducible:
Always

Steps to Reproduce:
1. Create a new project
2. Deploy an application with a route in it
3. Create a migration plan with the queisce option unchecked at the end
4. Run the migration

Actual results:
The migration works but the html file is not migrated

Expected results:
The file should be migrated

Additional info:

Comment 1 Jason Montleon 2023-10-04 18:17:51 UTC
This is an issue introduced in a PR to openshift-velero-plugin (OADP 1.2 for MTC 1.8 is affected, OADP 1.0 for MTC 1.7 is not), which checks for an incorrect annotation when deciding whether or not to recreate pods during the stage phase of the migration.

The error was caught and correct in https://github.com/openshift/openshift-velero-plugin/pull/205

Once it is applied the issue should be resolved.

Comment 2 Dylan Murray 2023-10-04 18:20:13 UTC
Aligning to MTC 1.8.1 as we need a new OADP version to fix it.

Comment 6 mohamed 2024-03-03 15:07:19 UTC
Verified

Comment 11 errata-xmlrpc 2024-04-18 12:41:05 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.8.3 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-2024:1925