Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASB support multi registry with the same name currently #644

Closed
zihantang-rh opened this issue Jan 16, 2018 · 4 comments · Fixed by #655
Closed

ASB support multi registry with the same name currently #644

zihantang-rh opened this issue Jan 16, 2018 · 4 comments · Fixed by #655
Assignees
Labels
3.9 | release-1.1 Kubernetes 1.9 | Openshift 3.9 | Broker release-1.1

Comments

@zihantang-rh
Copy link

zihantang-rh commented Jan 16, 2018

This form is for bug reports and feature requests. Major features will go through a spec process.

What happened:
In v3.7, if config broker-config with multi registry with the same name , the asb pod will fail with errror
ERROR: Failed to read config file registry name must be unique
But in v3.9 the asb pod will start successfully. And successfully loaded apbs from the last registry.
Is it the expected feature ? @jwmatthews

openshift v3.9.0-0.19.0
kubernetes v1.9.0-beta1
ASB: brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/ose-ansible-service-broker:v3.9 [1.1.4]

What you expected to happen:

How to reproduce it:

  1. Config broker-config with:
  1. Restart broker.
    Logs:
    [2018-01-16T09:19:30.029Z] [DEBUG] - APBs passing white/blacklist filter:
    [2018-01-16T09:19:30.029Z] [DEBUG] - -> zjianbjz/fail-apb
    [2018-01-16T09:19:30.029Z] [DEBUG] - -> zjianbjz/hello-world-db-apb
    [2018-01-16T09:19:30.029Z] [DEBUG] - -> zjianbjz/mediawiki-apb
    [2018-01-16T09:19:30.029Z] [DEBUG] - -> zjianbjz/postgresql-apb
    [2018-01-16T09:19:30.029Z] [DEBUG] - -> zjianbjz/hello-test-apb
    [2018-01-16T09:19:30.117Z] [DEBUG] - Registry::imageToSpec
    [2018-01-16T09:19:30.981Z] [NOTICE] - Broker successfully bootstrapped
@jmrodri jmrodri closed this as completed Jan 16, 2018
@jmrodri
Copy link
Contributor

jmrodri commented Jan 16, 2018

This looks related to the recent config refactor we did.

@rthallisey
Copy link
Contributor

Since the org field is different, we will likely get a different set of images. So this is the functionality we want.

@shawn-hurley
Copy link
Contributor

@rthallisey I think that is the issue. The FQName only takes into account of the registry name and the name defined from the spec yaml. So dh-mediawiki123-apb, where registry name is dh and apb name is mediawiki123-apb. I think that this is a regression bug and as @jmrodri has mentioned is due to the config refactor.

@shawn-hurley shawn-hurley reopened this Jan 16, 2018
@rthallisey rthallisey added 3.9 | release-1.1 Kubernetes 1.9 | Openshift 3.9 | Broker release-1.1 bug labels Jan 16, 2018
@shawn-hurley shawn-hurley self-assigned this Jan 18, 2018
@shawn-hurley
Copy link
Contributor

Create a bugzilla for this issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1535182

Will keep both open to track this regression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.9 | release-1.1 Kubernetes 1.9 | Openshift 3.9 | Broker release-1.1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants