Bug 1920559
| Summary: | Rollback does not complete if the DVM Controller does not delete the Rsync pods | ||
|---|---|---|---|
| Product: | Migration Toolkit for Containers | Reporter: | Shawn Hurley <shurley> |
| Component: | Controller | Assignee: | Derek Whatley <dwhatley> |
| Status: | CLOSED ERRATA | QA Contact: | Xin jiang <xjiang> |
| Severity: | medium | Docs Contact: | Avital Pinnick <apinnick> |
| Priority: | medium | ||
| Version: | 1.4.z | CC: | dwhatley, ernelson, rjohnson, sregidor |
| Target Milestone: | --- | ||
| Target Release: | 1.5.0 | ||
| 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: | 2021-07-28 04:08:00 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: | |||
|
Comment 1
Derek Whatley
2021-06-16 19:37:17 UTC
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 |