Fedora Account System
Red Hat Associate
Red Hat Customer
*** Bug 1919023 has been marked as a duplicate of this bug. ***
We were missing the `migrated-by-migplan` label on DVM created resources. Adding this allows rollback to work as intended. I'm also going to see if we should modify the rollback wait routine, since it shouldn't block waiting on resources that don't have `migrated-by-migplan` label.
Upon closer inspection, the rollback was hanging because the DVM pods were stalling a PVC with the `migrated-by-migplan` label from being able to terminate fully. The posted solution should solve the BZ.
Verified using MTC 1.5.0 openshift-migration-rhel7-operator@sha256:00e77706ca22bcb557d13c16822180fc877e6ea1639a72fda8eb9f5488b039a2 - name: MIG_CONTROLLER_REPO value: openshift-migration-controller-rhel8@sha256 - name: MIG_CONTROLLER_TAG value: 7f657df15e9514df4ef42da3431f558a19b8d3233a2ef1222cd8e27793c93816 The dvm pods and the route are deleted, and the rollback is executed without problems, it is not stuck any more. On the other hand DVM services, secrets and configuration maps are not deleted. We will open a separate BZ for this issue. 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 (Migration Toolkit for Containers (MTC) image release advisory 1.5.0), 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/RHEA-2021:2929