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:
The fix is to only attempt to clean up resources on clusters which are ready. https://github.com/fusor/mig-controller/pull/336
*** Bug 1772073 has been marked as a duplicate of this bug. ***
It looks like the fix got reverted. https://github.com/fusor/mig-controller/pull/383 should re-add the fix.
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
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