Description of problem: Cannot pull the correct image if the registry contains a port. The correct image name should be "registry.reg-aws.openshift.com:443/openshift3/postgresql-apb:v3.10", not "registry.reg-aws.openshift.com/openshift3/postgresql-apb:v3.10" when the registry URL is "https://registry.reg-aws.openshift.com:443". Version-Release number of selected component (if applicable): The ASB version: 1.2.14 How reproducible: always Steps to Reproduce: 1. Config the partner_rhcc adapter as below: - type: partner_rhcc name: aws url: https://registry.reg-aws.openshift.com:443 user: xxx pass: xxx tag: v3.10 images: - openshift3/mediawiki-apb - openshift3/postgresql-apb - openshift3/mariadb-apb - openshift3/mysql-apb white_list: [.*-apb$] 2. Provision an APB, such as PostgreSQL. Actual results: Pull image error: Warning Failed 38s kubelet, qe-jiazha-29node-registry-router-1 Failed to pull image "registry.reg-aws.openshift.com/openshift3/postgresql-apb:v3.10": rpc error: code = Unknown desc = Error: image openshift3/postgresql-apb:v3.10 not found Expected results: Provision APB success. The image name should be "registry.reg-aws.openshift.com:443/openshift3/postgresql-apb:v3.10" Additional info:
I submit a PR(https://github.com/automationbroker/bundle-lib/pull/96) to fix this, looking forward your comments.
Change status to MODIFIED since the image is NOT ready.
openshift-enterprise-asb-container-v3.10.0-0.54.0.1 should be available now.
$ docker inspect registry.access.stage.redhat.com/openshift3/ose-ansible-service-broker:v3.10.0 --format "{{ index .Config.Labels.release }}" 0.54.0.1
Sorry, my mistake, it's ready. Thanks @David Verify success. ASB version: 1.2.16 [root@qe-jiazha-o4master-etcd-1 ~]# oc describe pods -n pr-mariadb-apb-prov-p9rgp| grep image Normal Pulling 11m kubelet, qe-jiazha-o4node-registry-router-1 pulling image "registry.reg-aws.openshift.com:443/openshift3/mariadb-apb:v3.10" # oc get pods -n pr-mariadb-apb-prov-p9rgp NAME READY STATUS RESTARTS AGE apb-501de8aa-8912-4ea9-aaaa-1436fb2cd0bc 0/1 Completed 0 13m Provision APB success. # oc get pods -n jian NAME READY STATUS RESTARTS AGE mariadb-45bd4502-67ce-11e8-ab15-0a580a800003-1-692q8 1/1 Running 0 1m
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-2018:1816