Bug 1881881 - unable to specify target port manually resulting in application not reachable
Summary: unable to specify target port manually resulting in application not reachable
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.7.0
Assignee: Mohammed Saud
QA Contact: Gajanan More
Harsh Mishra
URL:
Whiteboard:
Depends On:
Blocks: 1893620
TreeView+ depends on / blocked
 
Reported: 2020-09-23 09:59 UTC by Mohammed Saud
Modified: 2021-02-24 15:20 UTC (History)
4 users (show)

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.
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
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6719 0 None closed Bug 1881881: Replace route dropdown input with typeahead select menu in import/edit flow 2021-01-08 10:48:26 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:20:57 UTC

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


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