Description of problem: With the Service Catalog installed, we are seeing duplicate templates in the OpenShift console. Upstream issue: https://github.com/openshift/origin-web-console/issues/2928 Version-Release number of selected component (if applicable): oc version oc v3.7.23 kubernetes v1.7.6+a08f5eeb62 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://mrlb.usersys.redhat.com:8443 openshift v3.7.23 kubernetes v1.7.6+a08f5eeb62 How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Templates are duplicated in the console Expected results: Only 1 version of each template. Additional info:
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