Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1610251 - [ASB]asb unable to retrieve image names from registry.dev.redhat.io registry
[ASB]asb unable to retrieve image names from registry.dev.redhat.io registry
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker (Show other bugs)
3.11.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.11.0
Assigned To: David Zager
Zihan Tang
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-07-31 05:54 EDT by Zhang Cheng
Modified: 2018-10-11 03:23 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-10-11 03:22:47 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2652 None None None 2018-10-11 03:23 EDT

  None (edit)
Comment 2 Zihan Tang 2018-08-01 02:32:44 EDT
The 'registry.dev.redhat.io' do not work for asb, so update this bug.
Comment 4 David Zager 2018-08-15 16:28:47 EDT
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
Comment 5 Zihan Tang 2018-08-16 02:49:01 EDT
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.
Comment 6 Zihan Tang 2018-08-16 02:49:39 EDT
asb version in #coment5: 1.3.9
Comment 9 Zhang Cheng 2018-08-16 21:32:30 EDT
I'm changing status to back since I suggest we should support it even though not in 3.11
Comment 10 David Zager 2018-08-17 16:21:25 EDT
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
Comment 11 Zihan Tang 2018-08-20 23:11:11 EDT
Thanks David,
after add 'images' parameters, we can use type apiv2 or openshift for 'registy.dev.redhat.io' 

Chage the status to verified.
Comment 13 errata-xmlrpc 2018-10-11 03:22:47 EDT
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

Note You need to log in before you can comment on or make changes to this bug.