Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1763005

Summary: [ASB] asb unable to retrieve images from registry-proxy.engineering.redhat.com
Product: OpenShift Container Platform Reporter: Cuiping HUO <chuo>
Component: Service BrokerAssignee: Jesus M. Rodriguez <jesusr>
Status: CLOSED ERRATA QA Contact: Cuiping HUO <chuo>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.3.0CC: aos-bugs, chezhang, jesusr, jfan, jiazhang
Target Milestone: ---   
Target Release: 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1765061 (view as bug list) Environment:
Last Closed: 2020-01-23 11:08:20 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:
Bug Depends On:    
Bug Blocks: 1765082    

Comment 1 Cuiping HUO 2019-10-18 03:36:32 UTC
This issue should also be fixed in 4.1.z and 4.2.z.

Comment 2 Jesus M. Rodriguez 2019-11-05 16:32:07 UTC
Making this the 4.3 bug since the bug has been fixed by PR https://github.com/openshift/ansible-service-broker/pull/1247

Comment 4 Cuiping HUO 2019-11-06 08:10:44 UTC
verification blocked by bug-1768765.

Comment 5 Cuiping HUO 2019-11-18 09:10:39 UTC
Verified.
Ansible Service Broker Version: 1.4.5
broker-config
registries:
    - images:
      - rh-osbs/openshift-mariadb-apb
      - rh-osbs/openshift-mediawiki-apb
      - rh-osbs/openshift-mysql-apb
      - rh-osbs/openshift-postgresql-apb
      name: proxy
      skip_verify_tls: true
      type: registry_proxy
      url: https://registry-proxy.engineering.redhat.com
      white_list:
      - .*-apb$
$ oc logs -f asb-2-sf8f8 -c asb
Using config file mounted to /etc/ansible-service-broker/config.yaml
============================================================
==           Creating Ansible Service Broker...           ==
============================================================
time="2019-11-15T07:39:29Z" level=info msg="Ansible Service Broker Version: 1.4.5"
time="2019-11-15T07:39:29Z" level=info msg="Initializing clients..."
time="2019-11-15T07:39:30Z" level=info msg="Kubernetes version: v1.14.6+76aeb0c"
time="2019-11-15T07:39:30Z" level=info msg="Empty AuthType. Assuming credentials are defined in the config... "
time="2019-11-15T07:39:30Z" level=info msg="== REGISTRY CX == "
time="2019-11-15T07:39:30Z" level=info msg="Name: proxy"
time="2019-11-15T07:39:30Z" level=info msg="Type: registry_proxy"
time="2019-11-15T07:39:30Z" level=info msg="Url: https://registry-proxy.engineering.redhat.com"
time="2019-11-15T07:39:30Z" level=warning msg="skipping verification of registry TLS certificate per adapter configuration"
============================================================
==           Starting Ansible Service Broker...           ==
============================================================
time="2019-11-15T07:39:30Z" level=info msg="Initiating Recovery Process"
time="2019-11-15T07:39:30Z" level=info msg="Recovery complete"
time="2019-11-15T07:39:30Z" level=info msg="recover called"
time="2019-11-15T07:39:30Z" level=info msg="Broker configured to bootstrap on startup"
time="2019-11-15T07:39:30Z" level=info msg="Attempting bootstrap..."
time="2019-11-15T07:39:30Z" level=info msg="AnsibleBroker::Bootstrap"
time="2019-11-15T07:39:30Z" level=info msg="0 specs deleted"
time="2019-11-15T07:39:34Z" level=warning msg="Failed to fetch catalog response from 'https://registry-proxy.engineering.redhat.com/v2/_catalog?next_page=gAAAAABdzlY3f2D1IiOvBSi4Eq0LzJPyW7DF-OryT5D8LKxn4kpbjHwU21zgD1PYiZZ9YrLwACCGCKviowHeQJd9qBg14XqQy3q3Tbpn0ch4lqO-zZnYZK0%3D&n=50'. Expected a 200 status and got: 429 Too Many Requests"
time="2019-11-15T07:39:34Z" level=info msg="Bundles filtered by white/blacklist filter:\n\t-> rh-osbs/jboss-datagrid-7-datagrid72\n\t-> rh-osbs/amq-interconnect-amq-interconnect-1.2-openshift\n\t-> rh-osbs/rhosp12-openstack-octavia-housekeeping\n\t-> rh-osbs/rhscl-devtoolset-7-toolchain-rhel7\n\t-> rh-osbs/openshift-istio-tech-preview-citadel-rhel8\n\t-> rh-
...
ime="2019-11-15T07:40:38Z" level=info msg="Validating specs..."
time="2019-11-15T07:40:38Z" level=info msg="All specs passed validation!"
time="2019-11-15T07:40:38Z" level=info msg="update spec: 5c5f857386e21b96de7a95d596da777f|proxy-mysql-apb to crd"
time="2019-11-15T07:40:38Z" level=info msg="update spec: 360b46c4bc7572175dfc22788214856f|proxy-mariadb-apb to crd"
time="2019-11-15T07:40:38Z" level=info msg="add spec: 618c84a43d2879dbf885e42c325c3642|proxy-postgresql-apb"
time="2019-11-15T07:40:38Z" level=info msg="update spec: 3a734ff974372050584c79ec4cec0cae|proxy-mediawiki-apb to crd"
time="2019-11-15T07:40:38Z" level=info msg="Broker successfully bootstrapped on startup"
time="2019-11-15T07:40:38Z" level=info msg="Listening on https://[::]:1338"
time="2019-11-15T07:40:38Z" level=info msg="Ansible Service Broker Starting"
time="2019-11-15T07:46:03Z" level=info msg="AnsibleBroker::Catalog"
10.128.0.49 - - [15/Nov/2019:07:46:03 +0000] "GET /osb/v2/catalog HTTP/1.1" 200 33014

Comment 7 errata-xmlrpc 2020-01-23 11:08:20 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/RHBA-2020:0062