Bug 2051406
Summary: | Need commit hash in package json and logs | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | akmithal <akmithal> |
Component: | build | Assignee: | Boris Ranto <branto> |
Status: | CLOSED ERRATA | QA Contact: | Daniel Horák <dahorak> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.9 | CC: | branto, etamir, lmauda, madam, muagarwa, ocs-bugs, odf-bz-bot, pbalogh |
Target Milestone: | --- | ||
Target Release: | ODF 4.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ocs-registry:4.10.0-156 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-04-13 18:52:48 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
akmithal
2022-02-07 08:13:01 UTC
We need this in the build process Tested and verified on ocs-registry:4.10.0-167:
$ oc version
Client Version: 4.10.0-0.nightly-2022-02-23-193238
Server Version: 4.10.0-0.nightly-2022-02-23-193238
Kubernetes Version: v1.23.3+5642c2c
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ oc logs pod/noobaa-core-0 | grep -i version
Version is: 5.10.0-7e1a1d4
...
{ _id: 62173b1cf11ea3002947488d, heartbeat: { version: '5.10.0-7e1a1d4', time: 1645689670536, health: { usage: 0.031364599740509314, os_info: [Object], storage: [Object] } }, services_status: { dns_status: 'OPERATIONAL', ph_status: { status: 'OPERATIONAL', test_time: 1645689670 } } }
...
version: '5.10.0-7e1a1d4',
...
oc exec -it pod/noobaa-core-0 -- cat /root/node_modules/noobaa-core/package.json | grep version
"version": "5.10.0-7e1a1d4",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Noobaa version in logs and package.json contains commit hash.
>> VERIFIED
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 (Important: Red Hat OpenShift Data Foundation 4.10.0 enhancement, security & 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/RHSA-2022:1372 |