Bug 1873095

Summary: While edit application user is unable to change git repo
Product: OpenShift Container Platform Reporter: Jaivardhan Kumar <jakumar>
Component: Dev ConsoleAssignee: Jaivardhan Kumar <jakumar>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: high Docs Contact:
Priority: high    
Version: 4.5CC: aos-bugs, cjerolim, nmukherj
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Name of resources where getting updated on edit flow which created issue in edit flow Consequence: While edit application user is unable to change git repo, Unable to update the application. Fix: Application name is not updated while in edit flow Result: While edit application user is able to change git repo and update the application.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:34:36 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: 1877290    

Description Jaivardhan Kumar 2020-08-27 11:06:40 UTC
Description of problem:

While edit application user is unable to change git repo , Unable to update the application. Observing the error: 

Operation cannot be fulfilled on imagestreams.image.openshift.io "react-web-app": StorageError: invalid object, Code: 4, Key: /openshift.io/imagestreams/nhg/react-web-app, ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in precondition: 7b680f56-9d97-4d45-8b79-adbe05f3d869, UID in object meta:
Prerequisites (if any, like setup, operators/versions):
Create any application using Import From Git. 

Steps to Reproduce
1.Create a deployment using Import from Git
2.Open Context Menu and click on Edit Application-name
3.Update the Git URL
4.Click on save

Actual results:
We get error  mentioned in the description

Expected results:
Application should update

Reproducibility (Always/Intermittent/Only Once):
Always

Build Details:
Build: 4.5.7, 4.6.0-0.nightly-2020-08-02-091622

Browser: Google Chrome Version 84.0.4147.89

Comment 1 Jaivardhan Kumar 2020-08-27 11:08:25 UTC
Jira: https://issues.redhat.com/browse/ODC-4616

Comment 4 Gajanan More 2020-09-07 10:17:48 UTC
I have validated the bugzilla on:

Build: 4.6.0-0.nightly-2020-09-05-015624

Browser: Google Chrome Version 84.0.4147.89

Marking this as verified.

Comment 6 errata-xmlrpc 2020-10-27 16:34:36 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 (OpenShift Container Platform 4.6 GA Images), 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:4196