Description of problem: When the migration plan is executed with warnings the status is reported as "Ready" with a warning icon next to the text. The right status should say that the migration was executed with warnings, and not that the migration is ready. Version-Release number of selected component (if applicable): SOURCE CLUSTER: AWS 3.11 (MTC 1.5.1) TARGET CLUSTER: ROKS 4.7 (MTC 1.6.0) (CONTROLLER + UI) REPLICATION REPOSITORY: AWS S3 How reproducible: Always Steps to Reproduce: 1. I source cluster deploy an application with a PVC oc new-project bz-test oc new-app django-psql-persistent 2. Configure a wrong option for rsync in the migrationcontroller resource oc edit migrationcontroller spec: rsync_opt_extras: "--fake" 3. Create a migration plan to migrate the bz-test namespace created in step1, use DIM + DVM 4. Execute the migration Actual results: The migration is executed with warnings, but the status in the migplan is reported as "Ready" with a warning icon beside the text. Expected results: The status should report that there were warnings in the migration execution, and it should not be "Ready" status. Additional info:
Verified using: TARGET CLUSTER: AWS 4.9 (MTC 1.6.0) (CONTROLLER + UI) SOURCE CLUSTER: AWS 3.11 (MTC 1.5.1) REPLICATION REPOSITORY: AWS S3 openshift-migration-rhel8-operator@sha256:a82ed90172838ed4f9e33a8c72fee584bdeb8773b9b580c11c36f4e575c0e6da - name: MIG_CONTROLLER_REPO value: openshift-migration-controller-rhel8@sha256 - name: MIG_CONTROLLER_TAG value: 3b5efa9c8197fe0313a2ab7eb184d135ba9749c9a4f0d15a6abb11c0d18b9194 - name: MIG_UI_REPO value: openshift-migration-ui-rhel8@sha256 - name: MIG_UI_TAG value: 854fc0192c4494e2a555f0a8b984b9d84244f77ccb75bcb72529936e24e5211a The status now is "Migration completed with warnings". Moved to VERIFIED.
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.6.0 security & bugfix 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-2021:3694