Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1447997 - Errors are not shown on web when create resource from template contains fake api group
Errors are not shown on web when create resource from template contains fake ...
Status: CLOSED CURRENTRELEASE
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console (Show other bugs)
3.6.0
Unspecified Unspecified
medium Severity low
: ---
: ---
Assigned To: Samuel Padgett
XiaochuanWang
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-04 07:21 EDT by Xiaolin
Modified: 2017-08-16 15 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-07-25 10:08:07 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1716 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.6 RPM Release Advisory 2017-08-10 05:02:50 EDT

  None (edit)
Description Xiaolin 2017-05-04 07:21:00 EDT
Description of problem:
  Errors are not shown on web when create resource from template contains fake api group

Version-Release number of selected component (if applicable):
dev-preview-int
openshift v3.6.63
kubernetes v1.6.1+5115d708d7

How reproducible:
Always

Steps to Reproduce:
1. Create a template using , https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-stibuild.json
2. $ oc edit template ruby-helloworld-sample, change the "apiVersion“ of the "Secret" object to fake/v1
3. Login to web console, click "Add to Project" , select the created template,ruby-helloworld-sample. Do not fill in any fields,  just click "Create" on next step page.

Actual results:
The "Create" button becomes disabled, the erros about "user cannot create"  are not shown

Expected results:
The page should show the error about "fail to create" or some 403 error.

Additional info:
Comment 2 openshift-github-bot 2017-05-04 13:23:23 EDT
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/978c2f748e3c40f40ecffca682a32de9c149a842
Bug 1447997 - Show warning for unsupported resource versions

Show warnings when instantiating a template that contains resource
versions not supported by the server.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1447997
Comment 4 Xiaolin 2017-06-05 04:50:48 EDT
Verified on 

OpenShift Master:    v3.6.94
Kubernetes Master:   v1.6.1+5115d708d7

Note You need to log in before you can comment on or make changes to this bug.