Description of problem: When we deploy MTC in a cluster using a proxy configuration (proxy object in 4.x), we cannot login to MTC using the UI. Version-Release number of selected component (if applicable): MTC 1.4.0 and MTC 1.3.2 How reproducible: Always Steps to Reproduce: 1. Deploy MTC in a 4.x cluster configured to use a proxy. 2. Login to MTC Actual results: We are redirected to the cluster's loggin screen, but after entering our credentials and clicking on "Log in" the screen times out and do not redirect us to the MTC application. The callback times out https://migration-openshift-migration.apps.cam-tgt-15270.qe.devcluster.openshift.com/login/callback?code=.... Expected results: We should not have any problem to log in. Additional info: MTC 1.2.5 can log in without problems.
Still cannot login to the UI Web Console. UI pods are not being deployed with the PROXY variables. It seems that we need to cherry pick this commit to 1.4.2 branch too https://github.com/konveyor/mig-operator/commit/61afcdb66a8c196a15e868cc6933101d94e3c49c We move the BZ to ASSIGNED status again.
We cannot login to the UI. We get a 502 Bad Gateway Error We move the BZ to ASSIGNED status.
Verified using MTC 1.4.2 openshift-migration-ui-rhel8@sha256:83f4b7bcc386e22163852b5a0468329c54f5881dcc7cfd041e8d153355652de7 The 502 Bad Gateway Error was due to the proxy failing because of the certificate. After configuring the squid proxy with "sslproxy_cert_error allow all" to skip this kind of failures we were able to login to the UI without problems. We VERIFY this BZ, and we will create a new BZ in order to make sure that we add in the documentation a reference to this issue.
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) image release advisory 1.4.2), 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:0814