Bug 1929806 - Direct Image Migration MigCluster validation fails on a cluster configured with a proxy
Summary: Direct Image Migration MigCluster validation fails on a cluster configured wi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: Controller
Version: 1.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.4.2
Assignee: Dylan Murray
QA Contact: Xin jiang
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-17 17:03 UTC by Dylan Murray
Modified: 2021-03-15 08:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-15 08:15:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github konveyor mig-controller pull 959 0 None open Bug 1929806: Fix DIM migcluster validation in proxy environment 2021-02-17 17:20:03 UTC
Github konveyor mig-controller pull 960 0 None open Bug 1929806: Fix DIM migcluster validation in proxy environment (#959) 2021-02-17 17:51:34 UTC
Red Hat Product Errata RHBA-2021:0814 0 None None None 2021-03-15 08:15:54 UTC

Description Dylan Murray 2021-02-17 17:03:55 UTC
Description of problem:
Setup a proxy-enabled cluster and set `exposedRegistryPath` on a migcluster.

The validation of the migcluster will fail with "connection timed out".

Version-Release number of selected component (if applicable):
1.4.0

How reproducible:
100%

Steps to Reproduce:
1. Create migcluster, set exposedRegistryPath
2. Create migplan with DIM enabled


Actual results:
Migcluster validation fails:

    message: 'Exposed registry route is invalid, Error : "Get \"https://docker-registry-default.apps.dymurray-ocp3.mg.dog8code.com/v2/\": dial tcp 18.223.202.130:443: connect: connection timed out"'



Expected results:
Migcluster validation fails

Additional info:

Comment 4 Sergio 2021-03-04 17:21:05 UTC
Verified CAM 1.4.2

openshift-migration-rhel7-operator@sha256:ad60243222deb83002403e9ad0d02d5e69cbfa2b8df3a91a12f827011b2c52c8

Comment 5 Sergio 2021-03-04 17:29:54 UTC
I made a mistake and moved to verified the wrong BZ. I move this BZ back to ON_QA

Comment 6 Sergio 2021-03-05 12:35:05 UTC
Verified using MTC 1.4.2. proxy AWS 4.5 (controller) -> proxy AWS (4.7), AWS S3

    - name: MIG_CONTROLLER_REPO
      value: openshift-migration-controller-rhel8@sha256
    - name: MIG_CONTROLLER_TAG
      value: f02f9a62479b9ec712c622880128a80dafb5e034a97df6c34fc14cf0c0699f21

Migcluster showed no error, and an image could be migrated without problems using DIM.

Moved to VERIFIED statu.

Comment 10 errata-xmlrpc 2021-03-15 08:15:36 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 (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


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