+++ This bug was initially created as a clone of Bug #2006842 +++ Description of problem: As part of working MTC 1.5 lab updates we ran into situation that the source OCP 3 cluster was shutdown on us. When this happened the MigCluster source went into an unready state as expected. We brought the source cluster back up and saw the MigCluster change state to show that it could not communicate with the source API server, yet the registry remained as unreachable. We waited ~15+ minutes and didn't see the MigCluster change, was using the UI and clicked Check Connection multiple times, it would look like it was trying to connect and come back to say it failed due to the registry. Eventually we got it working by: 1) From the UI, update the MigCluster and delete the registry URL 2) Save the MigCluster 3) See the MigCluster go healthy 4) Edit the MigCluster, enter the same registry URL back in 5) Save the MigCluster, see it go healthy It looks like we may have a bug somewhere to detect when a source cluster goes away and comes back, the logic for the docker-registry readiness is not correct. Version-Release number of selected component (if applicable): MTC 1.5 How reproducible: Unsure, but I would suspect reproducible Steps to Reproduce: 1. Provision a cluster pair via our lab system (opentlc) 2. Setup and perform a migration of a sample app to prove things are working correctly, ensure you add the source docker-registry so you can test a Direct Image Migration workflow 3. From opentlc, temporarily shutdown the source cluster 4. See the MigCluster go to unready 5. Turn the source cluster back on and observe the MigCluster
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) 1.6.1 release 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/RHBA-2021:4023