Bug 1758269 - Inaccessible registered cluster blocks all attempts to close open migplans
Summary: Inaccessible registered cluster blocks all attempts to close open migplans
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Migration Tooling
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.3.0
Assignee: Scott Seago
QA Contact: Xin jiang
URL:
Whiteboard:
: 1772073 (view as bug list)
Depends On: 1772073
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-03 17:39 UTC by Scott Seago
Modified: 2020-02-20 19:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1772073 (view as bug list)
Environment:
Last Closed: 2020-02-06 20:20:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:0440 0 None None None 2020-02-06 20:20:55 UTC

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


Note You need to log in before you can comment on or make changes to this bug.