Bug 1806757

Summary: [4.4][swift]image-registry crashes if change managementState from Removed to Managed for old swift container is forbidden to be removed
Product: OpenShift Container Platform Reporter: Adam Kaplan <adam.kaplan>
Component: Image RegistryAssignee: Oleg Bulatov <obulatov>
Status: CLOSED ERRATA QA Contact: Wenjing Zheng <wzheng>
Severity: medium Docs Contact:
Priority: low    
Version: 4.3.0CC: adam.kaplan, aos-bugs, obulatov, wzheng
Target Milestone: ---Keywords: Regression
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: the image registry operator didn't cleanup storage status when it were removing storage Consequence: when the registry was switched back to managed, it wasn't able to detect that storage needs to be bootstrapped. Fix: cleanup storage status Result: the operator creates storage when it's switched back to managed state
Story Points: ---
Clone Of: 1785534 Environment:
Last Closed: 2020-05-04 11:39:25 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: 1785534    
Bug Blocks:    

Comment 3 Wenjing Zheng 2020-02-27 09:43:48 UTC
Still can saw the issue on latest 4.4.0-0.nightly-2020-02-27-020932
$ oc adm release info registry.svc.ci.openshift.org/ocp/release:4.4.0-0.nightly-2020-02-27-020932 --commits | grep image-registry-operator
  cluster-image-registry-operator                https://github.com/openshift/cluster-image-registry-operator                1d89d08850a112c4d79a492430b6120752b2c62f

Comment 9 Wenjing Zheng 2020-03-03 06:08:16 UTC
Verified on 4.4.0-0.nightly-2020-03-02-231151.

Comment 11 errata-xmlrpc 2020-05-04 11:39:25 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