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

Bug 1849524

Summary: marketplace-operator should show the source git commit
Product: OpenShift Container Platform Reporter: Jian Zhang <jiazha>
Component: OLMAssignee: Evan Cordell <ecordell>
OLM sub component: OperatorHub QA Contact: Jian Zhang <jiazha>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium    
Version: 4.4   
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-13 17:44:38 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: 1849518    

Description Jian Zhang 2020-06-22 06:07:05 UTC
This is a clone of bug 1849518,

Description of problem:
The marketplace-operator --version should show the git source commits, not the build commits.

Version-Release number of selected component (if applicable):
Cluster version is 4.4.0-0.nightly-2020-06-21-210301

How reproducible:
always

Steps to Reproduce:
1. Install an OCP 4.x cluster

2. Check the marketplace-operator version.

Actual results:
The below git commit "01f5538293c300c97ea5b045d60981243bc24c30" isn't the source commit, we could not find it in the commits history: https://github.com/operator-framework/operator-marketplace/commits/release-4.4

mac:~ jianzhang$ oc -n openshift-marketplace  exec marketplace-operator-664774d49-jhqkf -- marketplace-operator --version
time="2020-06-22T05:48:11Z" level=info msg="Go Version: go1.13.4"
time="2020-06-22T05:48:11Z" level=info msg="Go OS/Arch: linux/amd64"
time="2020-06-22T05:48:11Z" level=info msg="operator-sdk Version: v0.8.0"
Marketplace source git commit: 01f5538293c300c97ea5b045d60981243bc24c30


Expected results:
It should show the source commits that we can find it in the https://github.com/operator-framework/operator-marketplace/commits/release-4.4

Additional info:

Comment 3 errata-xmlrpc 2020-07-13 17:44:38 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