Bug 1859753

Summary: [4.5] Excessive installplans require manual cleanup
Product: OpenShift Container Platform Reporter: Evan Cordell <ecordell>
Component: OLMAssignee: Evan Cordell <ecordell>
OLM sub component: OLM QA Contact: Bruno Andrade <bandrade>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: urgent CC: assingh, bandrade, bkunal, cpassare, jcoscia, jiazha, palonsor, robertodocampo, scuppett, sdodson, vdinh, wwurzbac
Version: 4.4   
Target Milestone: ---   
Target Release: 4.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1859178
: 1859755 (view as bug list) Environment:
Last Closed: 2020-07-30 18:56:59 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: 1859178    
Bug Blocks: 1859755    

Comment 2 Bruno Andrade 2020-07-23 20:18:30 UTC
Provisioned a cluster with 4.5.0-0.nightly-2020-07-17-173231 payload, which don't have the fix of bz 1855706. After installing OCS Operator it generated a buch ip installplans as shown below:

oc get ip -n openshift-storage  
NAME            CSV                             APPROVAL   APPROVED
install-42z42   lib-bucket-provisioner.v2.0.0   Manual     true
install-7976g   lib-bucket-provisioner.v2.0.0   Manual     false
install-8wp54   lib-bucket-provisioner.v2.0.0   Manual     false
install-hh8q7   lib-bucket-provisioner.v2.0.0   Manual     false
install-p7pht   ocs-operator.v4.4.1             Manual     true
install-xdzt6   lib-bucket-provisioner.v2.0.0   Manual     false
install-xttm5   lib-bucket-provisioner.v2.0.0   Manual     false

Upgraded to 4.5.0-0.ci-2020-07-23-181547, which has the GC commit, it removed several InstallPlans, as shown below:

oc get co | grep operator                                               1 ↵
config-operator                            4.5.0-0.ci-2020-07-23-181547        True        False         False      45m
operator-lifecycle-manager                 4.5.0-0.ci-2020-07-23-181547        True        False         False      51m
operator-lifecycle-manager-catalog         4.5.0-0.ci-2020-07-23-181547        True        False         False      52m
operator-lifecycle-manager-packageserver   4.5.0-0.ci-2020-07-23-181547        True        False         False      10m


oc get ip -n openshift-storage
NAME            CSV                             APPROVAL   APPROVED
install-7976g   lib-bucket-provisioner.v2.0.0   Manual     false
install-8wp54   lib-bucket-provisioner.v2.0.0   Manual     false
install-hh8q7   lib-bucket-provisioner.v2.0.0   Manual     false
install-xdzt6   lib-bucket-provisioner.v2.0.0   Manual     false
install-xttm5   lib-bucket-provisioner.v2.0.0   Manual     false


Marking as VERIFIED

Comment 5 errata-xmlrpc 2020-07-30 18:56: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:3028