Bug 1741773 - Insecure Traffic value is not correctly set when creating app by form
Summary: Insecure Traffic value is not correctly set when creating app by form
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.2.0
Assignee: cvogt
QA Contact: Ruchir Garg
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-16 06:07 UTC by XiaochuanWang
Modified: 2019-10-16 06:36 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-16 06:36:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:36:26 UTC

Description XiaochuanWang 2019-08-16 06:07:11 UTC
Description of problem:
User create app from Developer Catalog, when user create a secure route and choose a value of "Insecure Traffic", the app can not be created and give error 

Version-Release number of selected component (if applicable):
4.2.0-0.nightly-2019-08-15-205330

How reproducible:
Always

Steps to Reproduce:
1. User go to Dev console and click +Add -> Developer Catalog (or clusteradmin user go to OperatorHub, click Developer Catalog
2. User fill the necessary fields and add a secure route: 
TLS Termination: Passthrough
Insecure Traffic: Redirect
3. Hit Create

Actual results:
3. Error "Invalid value: "redirect": invalid value for InsecureEdgeTerminationPolicy option, acceptable values are None, Redirect, or empty" for field "spec.tls.insecureEdgeTerminationPolicy".

Expected results:
3. Should be saved with route has "Insecure Traffic: Redirect"

Additional info:

Comment 3 XiaochuanWang 2019-09-11 08:04:20 UTC
Created Passthrough/Redirect route successfully and functionally works for the route link. 

$ oc get route
NAME   HOST/PORT                                                         PATH   SERVICES   PORT   TERMINATION            WILDCARD
test   test-xiaocwan-t.apps.qe-ui-09110831.qe.devcluster.openshift.com          example    80     passthrough/Redirect   None

Verified on 4.2.0-0.nightly-2019-09-10-181551

Comment 4 errata-xmlrpc 2019-10-16 06:36:15 UTC
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-2019:2922


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