Bug 2039852
| Summary: | "migration-controller" pod goes into "CrashLoopBackOff" state if "MigPlan" CR contains an invalid "destMigClusterRef" or "srcMigClusterRef" | |||
|---|---|---|---|---|
| Product: | Migration Toolkit for Containers | Reporter: | Prasad Joshi <prajoshi> | |
| Component: | Controller | Assignee: | Pranav Gaikwad <pgaikwad> | |
| Status: | CLOSED ERRATA | QA Contact: | Xin jiang <xjiang> | |
| Severity: | urgent | Docs Contact: | Steve Goodman <sgoodman> | |
| Priority: | urgent | |||
| Version: | 1.6.3 | CC: | apinnick, ernelson, rjohnson, ssingla | |
| Target Milestone: | --- | |||
| Target Release: | 1.6.3 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2039864 (view as bug list) | Environment: | ||
| Last Closed: | 2022-01-20 06:31:35 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2039864 | |||
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.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-2022:0202 |
Description of problem: Migrationcontroller pod going in "CrashLoopBackOff" state when migplan is pointing to an invalid destMigClusterRef/srcMigClusterRef. Version-Release number of selected component (if applicable): MTC 1.6.3 SOURCE CLUSTER: AWS 4.6 MTC 1.6.3 TARGET CLUSTER: AWS 4.9 MTC 1.6.3 How reproducible: Always Steps to Reproduce: 1. Create a migplan which pointing to a invalid destMigClusterRef/srcMigClusterRef For eg. oc get migplan test3 -n openshift-migration -o yaml srcMigClusterRef: name: foo namespace: openshift-migration Actual results: Migrationcontroller pod going in "CrashLoopBackOff" Expected results: Migplan should display critical warning in conditions and status should be not Ready Additional info: $ oc get pods -n openshift-migration NAME READY STATUS RESTARTS AGE migration-controller-c444f7d67-2zxdj 1/2 CrashLoopBackOff 10 80m