Bug 1660804
Summary: | Disconnect install - oreg_url not used as universal url | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Luis Martinho <lmartinh> |
Component: | Service Broker | Assignee: | Shawn Hurley <shurley> |
Status: | CLOSED NOTABUG | QA Contact: | Zhang Cheng <chezhang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.11.0 | CC: | aos-bugs, bleanhar, lmartinh, sdodson |
Target Milestone: | --- | ||
Target Release: | 3.11.z | ||
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: | 2019-03-14 15:19:49 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: |
Description
Luis Martinho
2018-12-19 09:41:01 UTC
Looking at the code, it really looks to me that the openshift_web_console and template_service_broker are properly using oreg_url. I agree the ansible_service_broker bug should be addressed. (In reply to Luis Martinho from comment #0) > The playbooks should be set to use the oreg_url. ... > -/usr/share/ansible/openshift-ansible/roles/openshift_web_console/defaults/ > main.yml `openshift_web_console_image` uses oreg_url via `l_osm_registry_url` local var > -/usr/share/ansible/openshift-ansible/roles/template_service_broker/defaults/ > main.yml Same, template_service_broker_image uses oreg_url > -/usr/share/ansible/openshift-ansible/roles/ansible_service_broker/vars/ > openshift-enterprise.yml This determines the default registry used for APBs in Service Catalog, but its not necessary for cluster to function, thus it can be pointing to Red Hat's registry. Satellity sync script won't copy those by default Please file a documentation issue to mention this var in https://docs.openshift.com/container-platform/3.11/install/configuring_inventory_file.html and https://docs.openshift.com/container-platform/3.11/install/disconnected_install.html Luis, would you mind if I close this as NOTABUG? It appears to me that the broker is using the oreg_url: https://github.com/openshift/openshift-ansible/blob/release-3.11/roles/ansible_service_broker/defaults/main.yml#L31 Does the user need to update the registry info for the ansible-service-broker to pull from their registry rather than the enterprise registry? It looks like the use of ansible_service_broker_registry_url is the chain by which it ends up populating the configmap with a value that's not a derivative of oreg_url. I believe that is the correct thing to do. APB's are set up to use a specific image. If the user would like to change the registry they can that is documented. I am going to close this bug as this is either asking for an RFE around having APB's dynamically chose the registry they use or it is asking for a way to change the registry that the APB uses, and in this case, the user has the ability to update this. Please re-open if you do not agree. |