Bug 1811204

Summary: upgrades where entire sample imagestreams were removed in the new version can get stuck in progressing
Product: OpenShift Container Platform Reporter: Gabe Montero <gmontero>
Component: SamplesAssignee: Gabe Montero <gmontero>
Status: CLOSED ERRATA QA Contact: XiuJuan Wang <xiuwang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4CC: nagrawal, wsun, xiuwang
Target Milestone: ---Keywords: Upgrades
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: if a sample imagestream available in a prior release was removed in a subsequent release, then during upgrade to that subsequent releast the removed imagestream could be incorrectly tracked as needing imagestreamimports to complete, and since no imagestreamimmports are even occurring, samples will not report its upgrade as complete Consequence: overall upgraded would be marked as failed if the problematic timing windows in samples operator occured Fix: samples operated was updated to not attempt to track imagestreams which existed in a prior release but not in the release we are upgrading to Result: imagestreams that are removed release to release should not cause samples operator to fail upgrade
Story Points: ---
Clone Of: 1811143 Environment:
Last Closed: 2020-05-04 11:45:36 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: 1811143    
Bug Blocks: 1811206    

Comment 1 Gabe Montero 2020-03-19 15:26:29 UTC
PR https://github.com/openshift/cluster-samples-operator/pull/242 is up but we have bugzilla bot hoopla about this PR targeting 4.4.z instead of 4.4

Comment 2 Gabe Montero 2020-04-13 17:56:33 UTC
per discussion with Adam, setting target for 4.4.0

will let patch managers make final call on inclusion

Comment 8 XiuJuan Wang 2020-04-23 02:00:58 UTC
Upgrade from 4.3.14 to 4.4.0-0.nightly-2020-04-21-210658
Samples operator upgrade successfully, and passed the regression test.

Comment 10 errata-xmlrpc 2020-05-04 11:45: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, 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