Bug 1881881

Summary: unable to specify target port manually resulting in application not reachable
Product: OpenShift Container Platform Reporter: Mohammed Saud <msaud>
Component: Dev ConsoleAssignee: Mohammed Saud <msaud>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: medium Docs Contact: Harsh Mishra <hmishra>
Priority: medium    
Version: 4.6CC: aballant, aos-bugs, dsantra, nmukherj
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, the *Port* list in the *Add* flow only provided options for exposed ports and did not allow you to specify a custom port. The list has now been replaced by a typeahead select menu, and now it is possible to specify a custom port while creating the application.
Story Points: ---
Clone Of: Environment:
Version: 4.6.0-0.nightly-2020-09-22-213802 Cluster ID: f121c7e0-cc7c-4d86-9b19-b10233391c34 Browser: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0
Last Closed: 2021-02-24 15:18:56 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:
Bug Depends On:    
Bug Blocks: 1893620    

Description Mohammed Saud 2020-09-23 09:59:42 UTC
Description of problem:
see https://issues.redhat.com/browse/ODC-4205?focusedCommentId=15106010&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15106010

I cannot manually specify the target port for my application. My application listens on port 3000, but the nodejs builder image only exposes 8080. The dev-console from git form does not allow the user to manually enter their port


Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
    go to +Add => from git
    enter a git url. eg https://github.com/nodeshift-starters/react-web-app
    select the nodejs builder
    open the routing advanced section
    try to set target port to 3000


Actual results:
The dropdown only allows for the selection of the exposed ports from the builder image


Expected results:
Builder image exposed ports should only be "hints". The user should have the ability to specify their target port to ensure the route works.


Reproducibility (Always/Intermittent/Only Once):
always


Build Details:
4.6.0-0.nightly-2020-09-16-062819

Comment 3 Debsmita Santra 2020-11-02 08:04:45 UTC
verified this on build 4.7.0-0.nightly-2020-10-27-051128

Comment 6 errata-xmlrpc 2021-02-24 15:18:56 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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/RHSA-2020:5633