Description of problem: You cannot use a template that references several different types in the Web Console. Examples include persistent volume claims, secrets, service accounts, and many others. See https://github.com/openshift/origin/issues/3722 https://github.com/openshift/origin/pull/3746 Version-Release number of selected component (if applicable): 3.0 How reproducible: Always Steps to Reproduce: 1. Load a template that uses persistent volume claims, like examples/db-templates/postgresql-persistent-template.json 2. Try to create using the template in the Web Console Actual results: The creation fails with no error message. Expected results: The creation succeeds. Additional info: We should also fail gracefully when templates reference unrecognized types. (To test, change the kind of an object in a template to an invalid value.)
Fix merged in origin: https://github.com/openshift/origin/pull/3746
Test on ose puddle 2015-07-21.3. $ oc version oc v3.0.1.0-388-g51e9da7 kubernetes v1.0.0 Steps to verify: 1.Create template in project "prozyp". $ oc create -f origin/examples/db-templates/postgresql-persistent-template.json -n prozyp 2.Login web console, create using template postgresql-persistent in project "prozyp". 3.Create template in project "prozyp1". Edit the template, and chage the kind "PersistentVolumeClaim" to an invalid type "TestPersistentVolumeClaim". $ oc create -f origin/examples/db-templates/postgresql-persistent-template.json -n prozyp1 $ oc edit templates/postgresql-persistent -n prozyp1 4.Login web console, create using template postgresql-persistent in project "prozyp1". Actual results: 2.Show successful creation info on Overview page. 4.Show failure info, and in details there is error info: Cannot create object. Unrecognized type: TestPersistentVolumeClaim.
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/RHBA-2015:1540