Bug 1822127 - Migrating workloads between clusters with independently configured proxies fails to migrate internal images
Summary: Migrating workloads between clusters with independently configured proxies fa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Migration Tooling
Version: 4.3.z
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.3.z
Assignee: Erik Nelson
QA Contact: Xin jiang
URL:
Whiteboard:
Depends On: 1822170
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-08 10:25 UTC by Sergio
Modified: 2020-04-23 17:32 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1822170 (view as bug list)
Environment:
Last Closed: 2020-04-23 17:32:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:1552 0 None None None 2020-04-23 17:32:18 UTC

Comment 1 Erik Nelson 2020-04-08 14:55:48 UTC
Master PRs:
https://github.com/konveyor/mig-operator/pull/294
https://github.com/konveyor/mig-controller/pull/482

Will follow with 1.1.2 release branch commit links.

Comment 4 Sergio 2020-04-13 15:52:58 UTC
Errors were found while validating the fix in CAM 1.1.2 stage.

We can find this log in the "ansible" container of the operator pod.

TASK [migrationcontroller : Create proxy configuration secret if proxy is configured] ***
task path: /opt/ansible/roles/migrationcontroller/tasks/main.yml:147
fatal: [localhost]: FAILED! => {"changed": false, "error": 422, "msg": "Failed to create object: {\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"Secret \\\"migration-proxy-\\\" is invalid: metadata.name: Invalid value: \\\"migration-proxy-\\\": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')\",\"reason\":\"Invalid\",\"details\":{\"name\":\"migration-proxy-\",\"kind\":\"Secret\",\"causes\":[{\"reason\":\"FieldValueInvalid\",\"message\":\"Invalid value: \\\"migration-proxy-\\\": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')\",\"field\":\"metadata.name\"}]},\"code\":422}
", "reason": "Unprocessable Entity", "status": 422}
TASK [migrationcontroller : k8s_status] ****************************************

The name of the secret doesn't seem to have the right format.

Comment 8 Erik Nelson 2020-04-15 14:56:17 UTC
Fix for upper cased keys: Fix for uppercase keys https://github.com/konveyor/mig-operator/commit/4f7de261223404617db1f0729668683103d34ec8

Comment 9 Sergio 2020-04-16 17:13:49 UTC
Verified using CAM 1.1.2 stage

openshift-migration-rhel7-operator@sha256:a4c461aecdb7428be38c854f4c301db6bc5cbca9d13deacb479c750e45ad8856

Comment 12 errata-xmlrpc 2020-04-23 17:32:08 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:1552


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