Bug 1469986
| Summary: | Need enable catalog console in openshift-ansible | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | DeShuai Ma <dma> |
| Component: | Installer | Assignee: | ewolinet |
| Status: | CLOSED ERRATA | QA Contact: | Johnny Liu <jialiu> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.6.0 | CC: | aos-bugs, ewolinet, jmatthew, jokerman, jpazdziora, mmccomas, pmorie, sdodson, spadgett, wmeng, wsun, xxia |
| Target Milestone: | --- | Flags: | sdodson:
needinfo-
sdodson: needinfo- sdodson: needinfo- |
| Target Release: | --- | ||
| 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: | 2017-08-10 05:31:01 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
DeShuai Ma
2017-07-12 08:22:36 UTC
What's catalog console? (In reply to Scott Dodson from comment #1) > What's catalog console? https://github.com/openshift/origin-web-catalog The catalog UI needs to be enabled by a web console extension. (The right extension content depends on whether pod presets are enabled and the template broker is enabled.) https://docs.openshift.org/latest/install_config/web_console_customization.html#web-console-enable-tech-preview-feature For new catalog landing page: window.OPENSHIFT_CONSTANTS.ENABLE_TECH_PREVIEW_FEATURE.service_catalog_landing_page = true; If pod presets are enabled, you'll also need: window.OPENSHIFT_CONSTANTS.ENABLE_TECH_PREVIEW_FEATURE.pod_presets = true; If the template broker is enabled, you'll also need: window.OPENSHIFT_CONSTANTS.ENABLE_TECH_PREVIEW_FEATURE.template_service_broker = true; Could you help move to ON_QA, this should be fixed in latest puddle. I try latest version, I find we also need PodPreset admission controller as default in /etc/origin/master/master-config.yaml Otherwise podpreset can't inject info to pod.
admissionConfig:
pluginConfig:
PodPreset:
configuration:
kind: DefaultAdmissionConfig
apiVersion: v1
disable: false
ref: https://github.com/openshift/origin/pull/14461#issuecomment-307807536
I filed https://bugzilla.redhat.com/show_bug.cgi?id=1471881 Might be related to comment #8 When Creating a Binding a saw the below error from Service Catalog (puddle 3.6.152) controller_binding.go:336] Creating Secret demo/postgresql-apb-399c3-t3idc controller_binding.go:231] Error injecting binding results for Binding "demo/postgresql-apb-399c3-jmcmw": User "system:serviceaccount:kube-service-catalog:service-catalog-controller" cannot create podpresets.settings.k8s.io in project "demo" Hi, John Matthews This is different issue, you met the issue when create podpresets. For comment 8, this is after create podpresetsm then whether podpreset can inject pod not for create process. As comment 8, we also add that. To address https://bugzilla.redhat.com/show_bug.cgi?id=1469986#c8 https://github.com/openshift/openshift-ansible/pull/4781 Additional changes merged. More changes merged. Verify on openshift-ansible-3.6.162-1.git.0.50e29bd.el7.noarch.rpm. PodPreset admission controller is added.
admissionConfig:
pluginConfig:
PodPreset:
configuration:
apiVersion: v1
disable: false
kind: DefaultAdmissionConfig
Also verify this bug with openshift-ansible-3.6.162-1.git.0.50e29bd.el7.noarch on a multiple master HA env, and PASS. /etc/origin/master/openshift-ansible-catalog-console.js is created on each master in this cluster, and PodPreset admission controller is added into all the masters' config file. 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/RHEA-2017:1716 |