Bug 1752883
| Summary: | Problems with push secret when using external images | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Sergio <sregidor> | ||||||
| Component: | Migration Tooling | Assignee: | Scott Seago <sseago> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Sergio <sregidor> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 4.2.0 | CC: | chezhang, rpattath, xjiang | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | 4.2.0 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2019-10-16 06:41:14 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Sergio
2019-09-17 13:30:59 UTC
Created attachment 1615879 [details]
buildconfig yaml
Fix is in this PR: https://github.com/fusor/openshift-migration-plugin/pull/27 This fix is also in the most recent migration-plugin stable build Verified in:
Controller:
image: quay.io/ocpmigrate/mig-controller:release-1.0
imageID: quay.io/ocpmigrate/mig-controller@sha256:b9e78beef9f9c9d36dacb84d552ec0c7ce09fea556293d6fbec8c90c11f70cb7
Velero:
image: quay.io/ocpmigrate/velero:fusor-1.1
imageID: quay.io/ocpmigrate/velero@sha256:6c16a1288bf6aca74afbb0184fa987506839c5193ae8bb2be05cb6aa0a9f3dc5
image: quay.io/ocpmigrate/migration-plugin:release-1.0
imageID: quay.io/ocpmigrate/migration-plugin@sha256:f917ce774c08b3ea4e4d5c422521230d8fb8e03bc13ac0b9a323cbd4599cd341
OCP3
# oc version
oc v3.9.97
kubernetes v1.9.1+a0ce1bc657
features: Basic-Auth GSSAPI Kerberos SPNEGO
Server https://
openshift v3.9.97
kubernetes v1.9.1+a0ce1bc657
OCP4
$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.2.0-0.nightly-2019-09-24-025718 True False 10h Cluster version is 4.2.0-0.nightly-2019-09-24-025718
In source OCP3 cluster, before migration this was the secret in the build:
# oc get build -o yaml | grep -i pushSecret -A 1
pushSecret:
name: builder-dockercfg-mnwtw
In target OCP4, after the migration, the secret was properly handled and updated and the build could run with no failures:
$ oc get build
NAME TYPE FROM STATUS STARTED DURATION
django-psql-persistent-1 Source Git@0905223 Complete 2 hours ago 1m14s
$ oc get build -o yaml | grep -i pushSecret -A 1
pushSecret:
name: builder-dockercfg-9mgdx
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/RHBA-2019:2922 |