Bug 1822396

Summary: subscription_sync_total metric potentially not getting removed
Product: OpenShift Container Platform Reporter: Anik <anbhatta>
Component: OLMAssignee: Anik <anbhatta>
OLM sub component: OLM QA Contact: kuiwang
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: dsover, ecordell, krizza
Version: 4.5   
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1850237 (view as bug list) Environment:
Last Closed: 2020-10-27 15:57:47 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: 1850237    

Description Anik 2020-04-08 21:47:07 UTC
Description of problem:

Metrics for Subscriptions of CSVs that have been upgraded to new versions still hang around after new Subscription/CSV have succeeded. 

Version-Release number of selected component (if applicable):


How reproducible:

Always

Steps to Reproduce:
1. Install ocs-operator.v4.2.2 
2. Upgrade to ocs-operator.v4.2.3
3. Check metrics emitted for csv_succeded

Actual results:

Metrics for both ocs-operator.v4.2.2 and ocs-operator.v4.2.3 are been emitted

Expected results:

Only Subscription metric for ocs-operator.v4.2.3 show up

Additional info:

Comment 13 errata-xmlrpc 2020-10-27 15:57:47 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