Bug 1758269

Summary: Inaccessible registered cluster blocks all attempts to close open migplans
Product: OpenShift Container Platform Reporter: Scott Seago <sseago>
Component: Migration ToolingAssignee: Scott Seago <sseago>
Status: CLOSED ERRATA QA Contact: Xin jiang <xjiang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: apinnick, dymurray, jmatthew
Target Milestone: ---   
Target Release: 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1772073 (view as bug list) Environment:
Last Closed: 2020-02-06 20:20:44 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: 1772073    
Bug Blocks:    

Description Scott Seago 2019-10-03 17:39:26 UTC
Description of problem:
If there is a non-ready cluster in the migclusters list, plan closing will fail for any migplan, even if it doesn't reference the cluster.


How reproducible:
Always

Steps to Reproduce:
1. Create a new migcluster with an invalid URL
2. Attempt to close any open migplan

Actual results:
Plan closing fails, with a ReconcileFailed condition listed on the plan

Expected results:
Plan should close.

Additional info:

Comment 1 Scott Seago 2019-10-03 17:40:22 UTC
The fix is to only attempt to clean up resources on clusters which are ready.

https://github.com/fusor/mig-controller/pull/336

Comment 6 John Matthews 2019-12-18 11:53:59 UTC
*** Bug 1772073 has been marked as a duplicate of this bug. ***

Comment 7 Scott Seago 2019-12-18 13:55:40 UTC
It looks like the fix got reverted. https://github.com/fusor/mig-controller/pull/383 should re-add the fix.

Comment 9 Xin jiang 2020-01-15 07:31:15 UTC
Verified with the latest 1.1.0 images.
  - containerID: cri-o://e2bba86190cddc67f1c3564da9ef77f34078d0da87ac7744ebaf16465865a5fe
    image: image-registry.openshift-image-registry.svc:5000/rhcam-1-1/openshift-migration-velero-plugin-for-microsoft-azure-rhel8@sha256:b98f1c61ba347aaa0c8dac5c34b6be4b8cce20c8ff462f476a3347d767ad0a93
    imageID: image-registry.openshift-image-registry.svc:5000/rhcam-1-1/openshift-migration-velero-plugin-for-microsoft-azure-rhel8@sha256:b98f1c61ba347aaa0c8dac5c34b6be4b8cce20c8ff462f476a3347d767ad0a93

Comment 11 errata-xmlrpc 2020-02-06 20:20:44 UTC
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, 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-2020:0440