Bug 1923102

Summary: [vsphere-problem-detector-operator] pod's version is not correct
Product: OpenShift Container Platform Reporter: Qin Ping <piqin>
Component: StorageAssignee: Christian Huffman <chuffman>
Storage sub component: Operators QA Contact: Qin Ping <piqin>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: unspecified CC: aos-bugs, chuffman
Version: 4.7   
Target Milestone: ---   
Target Release: 4.7.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: 2021-02-24 15:57:41 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:

Description Qin Ping 2021-02-01 12:26:01 UTC
Description of problem:
Check the vsphere problem detector operator logs, get the following version info:

$ oc -n openshift-cluster-storage-operator logs vsphere-problem-detector-operator-5dcbfd76bb-l9j2c
I0201 06:26:48.390637       1 builder.go:238] vsphere-problem-detector version v0.0.0-master+$Format:%h$-$Format:%H$


Version-Release number of selected component (if applicable):
4.7.0-0.nightly-2021-01-31-031653

How reproducible:
Always

Steps to Reproduce:


Actual results:

Expected results:
A correct version can be used to find the source code version.

Comment 2 Qin Ping 2021-02-04 01:41:39 UTC
Verified with: 4.7.0-0.nightly-2021-02-03-225958

2021-02-03T23:24:40.371614825Z I0203 23:24:40.371447       1 cmd.go:200] Using service-serving-cert provided certificates
2021-02-03T23:24:40.372085904Z I0203 23:24:40.372063       1 observer_polling.go:159] Starting file observer
2021-02-03T23:24:40.403381595Z I0203 23:24:40.403345       1 builder.go:238] vsphere-problem-detector version 602c274-602c27477b66fd8752b7c39a13b6b948731e60eb

Comment 5 errata-xmlrpc 2021-02-24 15:57:41 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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/RHSA-2020:5633