Bug 2231403 - Rsync pod fails to start causing the DVM phase to fail
Summary: Rsync pod fails to start causing the DVM phase to fail
Keywords:
Status: ASSIGNED
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: Controller
Version: 1.7.12
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 1.8.4
Assignee: Jason Montleon
QA Contact: ssingla
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-11 13:53 UTC by mohamed
Modified: 2024-02-22 15:44 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description mohamed 2023-08-11 13:53:45 UTC
Description of problem:

Some of the migration complete with warnings; the dvm phase fails duw to Rsync pod failing to start, because of a permission issue

Version-Release number of selected component (if applicable):
(GCP) / OCP 3.11 -> 4.14

How reproducible:
Always

Steps to Reproduce:
1. Create a new migration plan
2. Execute migration

Actual results:
The migration fails on the DVM phase, at the end it shows completed with warnings

Expected results:
The migration should be completed successfully

Additional info:
only some of the test cases we executed failed on this, and the connection between them is that all of them required a privileged migration with these labels to be added in the migrated namespace for SCC:

    "pod-security.kubernetes.io/enforce": "privileged",
    "pod-security.kubernetes.io/audit": "privileged",
    "pod-security.kubernetes.io/warn": "privileged"

LOG --------------------------------------

13:23:44.270 - INFO: "category": "Warn",
13:23:44.270 - INFO: "durable": true,
13:23:44.270 - INFO: "lastTransitionTime": "2023-08-10T13:23:31Z",
13:23:44.270 - INFO: "message": "DirectVolumeMigration (dvm): openshift-migration/ocp-24872-mssql-mig-1691673586-jc5qc failed. See in dvm status.Errors",
13:23:44.270 - INFO: "status": "True",
13:23:44.270 - INFO: "type": "DirectVolumeMigrationFailed"
13:23:44.270 - INFO: }

Comment 3 Dylan Murray 2023-08-21 14:49:37 UTC
We are going to defer to documentation around PSA enforcement and SCCs for 1.8, and will work to address better compatibility/validation with PSA in a future release.


Note You need to log in before you can comment on or make changes to this bug.