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.
Release branch commits: https://github.com/konveyor/mig-operator/commit/c8dbd42cd0af80eabad8581665919c6102ac96b2 https://github.com/konveyor/mig-operator/commit/ca3928c3fdc53d6656a9bafe3fa8319efdc31e4b https://github.com/konveyor/mig-controller/commit/84f938718002b8babd215cb96060c2f1ef662a0e https://github.com/konveyor/mig-controller/commit/6d8d22288b1450db42e8adc73bc5ca18e0e51694
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.
https://github.com/konveyor/mig-operator/commit/7be6bdeadc813415cd0af0fe8185b99c0710d900 Fix for bad secret name.
https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1165888 https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1165895
Fix for upper cased keys: Fix for uppercase keys https://github.com/konveyor/mig-operator/commit/4f7de261223404617db1f0729668683103d34ec8
Verified using CAM 1.1.2 stage openshift-migration-rhel7-operator@sha256:a4c461aecdb7428be38c854f4c301db6bc5cbca9d13deacb479c750e45ad8856
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