Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1943699

Summary: operator-sdk downstream version not detected by metrics
Product: OpenShift Container Platform Reporter: Jesus M. Rodriguez <jesusr>
Component: Operator SDKAssignee: Varsha <vnarsing>
Status: CLOSED ERRATA QA Contact: Cuiping HUO <chuo>
Severity: high Docs Contact:
Priority: high    
Version: 4.7CC: aos-bugs, jfan, vnarsing
Target Milestone: ---   
Target Release: 4.7.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1943698 Environment:
Last Closed: 2021-04-20 18:52:39 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: 1943698    
Bug Blocks:    

Description Jesus M. Rodriguez 2021-03-26 20:28:59 UTC
+++ This bug was initially created as a clone of Bug #1943698 +++

Description of problem:
operator-sdk downstream version not detected by metrics


The metrics annotation is treating all versions with a -XXX as a git sha and appends +git. So the downstream is being detected is v1.3.0+git which means it falsely looks like a built from source upstream v1.3.0 which is incorrect.

Comment 3 Cuiping HUO 2021-04-12 07:28:58 UTC
Verified.
operator-sdk version
operator-sdk version: "v1.3.0-ocp", commit: "6d9a4e195549d1ba8bcb69d8837c2b43bcc702d4", kubernetes version: "v1.19.4", go version: "go1.14.2", GOOS: "linux", GOARCH: "amd64"

Comment 5 errata-xmlrpc 2021-04-20 18:52:39 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.7.7 bug fix update), 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-2021:1149