Bug 1569677
Summary: | Duplicate templates in OpenShift console | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Matthew Robson <mrobson> |
Component: | Management Console | Assignee: | Samuel Padgett <spadgett> |
Status: | CLOSED NOTABUG | QA Contact: | Yadan Pei <yapei> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.7.0 | CC: | aos-bugs, jokerman, mmccomas, mrobson |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-20 16:21:26 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
Matthew Robson
2018-04-19 19:10:25 UTC
Is this a problem in all namespaces or only the `openshift` namespace? I suspect this is different than https://github.com/openshift/origin-web-console/issues/2928 Can you check if /etc/origin/master/openshift-ansible-catalog-console.js on the masters exists and has the following content? window.OPENSHIFT_CONSTANTS.TEMPLATE_SERVICE_BROKER_ENABLED = true; If the file exists, but the value is set to false, you should be able to set it to true and restart the masters to fix the problem. This is a different problem than https://github.com/openshift/origin-web-console/issues/2928 Looks fine on all 3 masters: [root@ociopf-d-100 ~]# cat /etc/origin/master/openshift-ansible-catalog-console.js window.OPENSHIFT_CONSTANTS.TEMPLATE_SERVICE_BROKER_ENABLED = true; Can you check that the output of ``` $ curl -k https://<hostname>/console/scripts/extensions.js ``` also has that value set to true? OK, that's why the templates are showing up twice. The extension is not being loaded by the web console. - Can you check master-config.yaml to see if the extension file is set in `assetConfig.extensionScripts`? - If it's already there, can you try restarting the masters? - If it's not there, can you add it and restart the masters? $ systemctl restart origin-master-api origin-master-controllers |