Bug 1808282

Summary: Deploy Image: "Image name from internal registry" with Knative Service creates a broken ImageStream
Product: OpenShift Container Platform Reporter: Jaivardhan Kumar <jakumar>
Component: Dev ConsoleAssignee: Jaivardhan Kumar <jakumar>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: aos-bugs, cvogt, gamore, nmukherj, rgarg, spathak, talessio
Target Milestone: ---   
Target Release: 4.3.z   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: In case of Container image deployment if internal image stream sis selected for knative then as well it tries to create new Image Stream and thus may fail Consequence: Unable to deploy image (internal image stream) as knative service Fix: Don create new Image Stream for internal image selection as it already exists. Result: Able to deploy as knative service for internal image registry
Story Points: ---
Clone Of: 1808280 Environment:
Last Closed: 2020-03-24 14:34:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1808280    
Bug Blocks:    
Description Flags
Deploy Image: "Image name from internal registry" with Knative Service creates a fine ImageStream none

Description Jaivardhan Kumar 2020-02-28 07:08:25 UTC
+++ This bug was initially created as a clone of Bug #1808280 +++

Description of problem: In Deploy Image select"Image name from internal registry" with with stream of image created via gitImport flow with Knative Service and it'll fail to deploy as creates a broken ImageStream

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

How reproducible: Always

Steps to Reproduce:
1.Install Serverless operator
2.Create a new Project 'app-test'
3.Move to DevConsole -> Click on Git Import -> import any image with deployment selection
4. Wait for above build to complete
5. Click on Add -> Container Image -> Select imageStream created as part of step 3 and Select Knative Service. 

Actual results: Deployment for knative Service will fail

Expected results: Deployment for knative Service should pass

Additional info:

Comment 3 Gajanan More 2020-03-17 07:55:03 UTC
@cvogt  @jakumar @rgarg
It has been blocked because of https://issues.redhat.com/browse/ODC-3363

Comment 7 spathak@redhat.com 2020-03-18 22:01:35 UTC
Created attachment 1671249 [details]
Deploy Image: "Image name from internal registry" with Knative Service creates a fine ImageStream

Comment 8 spathak@redhat.com 2020-03-18 22:02:12 UTC
Verified on build: 4.3.0-0.ci-2020-03-18-122927
Chrome browser: 76.0.3809.132

Comment 10 errata-xmlrpc 2020-03-24 14:34:23 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.