Bug 1809178

Summary: Edit flow for knative Service with image change not creating new revision
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: On editing image name for knative service same existing ImageStream get's updated even if image is completely different. Consequence: Change in image name while editing knative Service is not creating a new revision. Fix: In case of knative service edit, generating new Image Stream with name-randomChars and update service with new image registry url and filtering image stream based on instance name. Result: Change in image name while editing knative Service will trigger a new revision as expected.
Story Points: ---
Clone Of: 1807868 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: 1807868    
Bug Blocks:    
Attachments:
Description Flags
Revision created none

Description Jaivardhan Kumar 2020-03-02 14:37:25 UTC
+++ This bug was initially created as a clone of Bug #1807868 +++

Description of problem:
On editing knative Service from topology view with different image not creating new revision.

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


How reproducible: Always


Steps to Reproduce:
1. Install serverless operator
2. Go to Add -> container image
3. search for `invincibleJai/tag-portal-v1` and create kn service
4. kn service is created can view in topology
5. Edit kn service
6. Change image from `invincibleJai/tag-portal-v1` to `invincibleJai/scrumola` and save

Actual results: No revision will be created


Expected results:The revision will be created


Additional info:

Comment 3 Gajanan More 2020-03-05 10:43:16 UTC
Created attachment 1667708 [details]
Revision created

Comment 4 Gajanan More 2020-03-05 10:43:51 UTC
I have validated this bug on:
Build: 4.4.0-0.nightly-2020-03-05-014624
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