Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1809182

Summary: For knative service ports are not prefetched based on selected image under Advance options in Route
Product: OpenShift Container Platform Reporter: Jaivardhan Kumar <jakumar>
Component: Dev ConsoleAssignee: Jaivardhan Kumar <jakumar>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, gamore, nmukherj, rgarg
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Issue with prefetching of container ports for images in case knative under Advance options in route Consequence: User will be shown with inputbox not select box with prefetched ports Fix: Check container for existing ports Result: User will be shown with Selectbox with preselected ports if any else shown input-box
Story Points: ---
Clone Of: 1806552 Environment:
Last Closed: 2020-05-04 11:43:52 UTC Type: ---
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: 1806552    
Bug Blocks:    
Attachments:
Description Flags
Prefetched port none

Description Jaivardhan Kumar 2020-03-02 14:40:34 UTC
+++ This bug was initially created as a clone of Bug #1806552 +++

Description of problem:
Deploy Image- For knative service, ports are not prefetched based on selected image i.e for image `tensorflow/tensorflow:latest-jupyter` run on `8888` and not `8080` so revision will fail if user doesn't provide port `8888` explicitly.

Version-Release number of selected component (if applicable):4.4


How reproducible: Always


Steps to Reproduce:
1. Install Serverless operator
2. Dev Console -> Add -> Container image
3. provide image `tensorflow/tensorflow:latest-jupyter`
4. Check ports under Route in Advance section, 
4. Create as kn svc

Actual results: Routes in advance options doesn't have pre-fetched Port and revisions won't come up in case of creation of service


Expected results: Routes in advance options should have pre-fetched Port and revisions should  come up in case of creation of service


Additional info:

Comment 3 Gajanan More 2020-03-04 07:29:55 UTC
Created attachment 1667409 [details]
Prefetched port

Comment 4 Gajanan More 2020-03-04 07:30:24 UTC
I have validated this bug on 
Build: 4.4.0-0.ci-2020-03-03-151622
Browser: Google Chrome Version 78.0.3904.108
Marking this as verified.

Comment 6 errata-xmlrpc 2020-05-04 11:43:52 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-2020:0581