Bug 1822943

Summary: openshift-kube-storage-version-migrator namespace doesn't come back when deleted
Product: OpenShift Container Platform Reporter: Sally <somalley>
Component: kube-storage-version-migratorAssignee: Sally <somalley>
Status: CLOSED ERRATA QA Contact: Ke Wang <kewang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4CC: aos-bugs, mfojtik, sanchezl, xxia
Target Milestone: ---Keywords: NeedsTestCase
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-13 17:26:59 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:

Description Sally 2020-04-10 15:12:21 UTC
1) watch clusteroperator/kube-storage-version-migrator
2) delete operand namespace - openshift-kube-storage-version-migrator
3) wait - it should return via its operator, kube-storage-version-migrator-operator  - waited for at least 10min - clusteroperator is Degraded=True during this time, but operand namespace never returns
4) refresh kube-storage-version-migrator-operator pod in openshift-kube-storage-version-migrator-operator namespace
5) only after the operator pod comes back does its operand namespace return, CO status Progressing=true/Degraded=False, then few seconds after Progressing=False

The operator should restore its operand namespace.  Steps 4,5 should not be necessary.

Comment 4 Ke Wang 2020-06-01 07:51:07 UTC
Verified with OCP 4.5.0-0.nightly-2020-05-30-025738,

$ oc get namespaces  | grep openshift-kube-storage-version-migrator
openshift-kube-storage-version-migrator            Active   6h3m
openshift-kube-storage-version-migrator-operator   Active   6h13m

$ oc delete namespaces openshift-kube-storage-version-migrator
namespace "openshift-kube-storage-version-migrator" deleted

$ oc get namespaces  | grep openshift-kube-storage-version-migrator
openshift-kube-storage-version-migrator            Active   18s
openshift-kube-storage-version-migrator-operator   Active   6h14m

$ oc get co
NAME                                       VERSION                             AVAILABLE   PROGRESSING   DEGRADED   SINCE
...
kube-storage-version-migrator              4.5.0-0.nightly-2020-05-30-025738   True        False         False      17s
...

From above results, the namespace openshift-kube-storage-version-migrator returned back quickly as expected, move the bug verified.

Comment 5 errata-xmlrpc 2020-07-13 17:26:59 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:2409