Bug 1943699 - operator-sdk downstream version not detected by metrics
Summary: operator-sdk downstream version not detected by metrics
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Operator SDK
Version: 4.7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.7.z
Assignee: Varsha
QA Contact: Cuiping HUO
URL:
Whiteboard:
Depends On: 1943698
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-26 20:28 UTC by Jesus M. Rodriguez
Modified: 2021-04-20 18:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1943698
Environment:
Last Closed: 2021-04-20 18:52:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ocp-release-operator-sdk pull 109 0 None open : Bug 1943699: patch - identification of downstream sdk 2021-03-29 14:44:31 UTC
Red Hat Product Errata RHBA-2021:1149 0 None None None 2021-04-20 18:52:59 UTC

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


Note You need to log in before you can comment on or make changes to this bug.