Bug 1610251
Summary: | [ASB]asb unable to retrieve image names from registry.dev.redhat.io registry | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Zhang Cheng <chezhang> |
Component: | Service Broker | Assignee: | David Zager <dzager> |
Status: | CLOSED ERRATA | QA Contact: | Zihan Tang <zitang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.11.0 | CC: | aos-bugs, jiazha, jmatthew, zitang |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | 3.11.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: | 2018-10-11 07:22:47 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: |
Comment 2
Zihan Tang
2018-08-01 06:32:44 UTC
It looks like the APB images are available on registry.dev.redhat.io: ➜ ~ docker run --rm --entrypoint rpm registry.dev.redhat.io/openshift3/mariadb-apb:v3.11 -qa | grep 'role' mariadb-apb-role-1.3.5-1.el7.noarch ➜ ~ docker run --rm --entrypoint rpm registry.dev.redhat.io/openshift3/mysql-apb:v3.11 -qa | grep 'role' mysql-apb-role-1.3.4-1.el7.noarch ➜ ~ docker run --rm --entrypoint rpm registry.dev.redhat.io/openshift3/mediawiki-apb:v3.11 -qa | grep 'role' mediawiki-apb-role-1.3.2-1.el7.noarch ➜ ~ docker run --rm --entrypoint rpm registry.dev.redhat.io/openshift3/postgresql-apb:v3.11 -qa | grep 'role' postgresql-apb-role-1.3.6-1.el7.noarch verified failed. apbs are available on registry.dev.redhat.io but , it still failed at bootstrapt. adding basic auth to token request" time="2018-08-16T06:45:39Z" level=debug msg="new token: eyJhbGciOiJSUzI1NiIsInR5...........................cLFFMTA3-t5X9DT8t32l_gVlq0fHr-cog3nJIPin4VZfE4SO_i0yJluG1Jcm31epr098A" time="2018-08-16T06:45:39Z" level=debug msg="GET /v2/ successful with new token" time="2018-08-16T06:45:39Z" level=debug msg="RHCCRegistry::LoadImages" time="2018-08-16T06:45:39Z" level=debug msg="Using https://registry.dev.redhat.io/v1/search?q=%22%2A-apb%22 to source APB images " time="2018-08-16T06:45:39Z" level=error msg="unable to retrieve image names for registry rh - 404 Not Found" time="2018-08-16T06:45:39Z" level=warning msg="registry: 0x1553b10 was unable to complete bootstrap - 404 Not Found" time="2018-08-16T06:45:39Z" level=error msg="Failed to bootstrap on startup! registry.stage.... works well. asb version in #coment5: 1.3.9 I'm changing status to back since I suggest we should support it even though not in 3.11 I understand you need to use registry.dev.redhat.io. It is my understanding that it will not support the search functionality. I was, however, able to simply use the apiv2 type registry adapter, provide the url and auth; specifying the specific images I wanted to use and it worked as I would expect. - name: dev type: apiv2 url: https://registry.dev.redhat.io white_list: - ".*" images: - openshift3/mediawiki-apb - openshift3/mariadb-apb - openshift3/mysql-apb - openshift3/postgresql-apb auth_type: "secret" auth_name: "asb-dev-auth" skip_verify_tls: false Thanks David, after add 'images' parameters, we can use type apiv2 or openshift for 'registy.dev.redhat.io' Chage the status to verified. 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:2652 |