Bug 1867499
| Summary: | server version show "dirty" | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | RamaKasturi <knarra> |
| Component: | Release | Assignee: | Luke Meyer <lmeyer> |
| Status: | CLOSED ERRATA | QA Contact: | RamaKasturi <knarra> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.6 | CC: | aos-bugs, jdelft, jokerman, mfojtik, sttts, xxia, yinzhou |
| Target Milestone: | --- | ||
| Target Release: | 4.6.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-10-27 16:26:36 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
RamaKasturi
2020-08-10 08:01:56 UTC
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1806825 This is about the server version, rather than the client version. Passing this to apiserver because I'm guessing its build needs to determine clean/dirty differently. http://pkgs.devel.redhat.com/cgit/containers/openshift-enterprise-hyperkube/tree/Dockerfile?h=rhaos-4.6-rhel-7 indicates: OS_GIT_TREE_STATE=clean SOURCE_GIT_TREE_STATE=clean Pass it back if ART builds need to supply a KUBE_* var or something (how would we determine that?) ART will need to supply `KUBE_GIT_TREE_STATE=clean` to ensure the upstream build tooling is correctly configured. Verified with the payload below and i do not see server version to be shown dirty anymore. [ramakasturinarra@dhcp35-60 openshift-client-linux-4.6.0-0.nightly-2020-09-03-191144]$ oc version -o yaml clientVersion: buildDate: "2020-09-04T02:26:55Z" compiler: gc gitCommit: ae6fae6fa14dbd9625cc6369e79558b58c716254 gitTreeState: clean gitVersion: 4.6.0-202009040156.p0-ae6fae6 goVersion: go1.14.4 major: "" minor: "" platform: linux/amd64 openshiftVersion: 4.6.0-0.nightly-2020-09-04-064335 serverVersion: buildDate: "2020-09-04T01:56:40Z" compiler: gc gitCommit: 068702de7d48739e835ea41b7ca959b5252de432 gitTreeState: clean gitVersion: v1.19.0-rc.2+068702d goVersion: go1.14.4 major: "1" minor: 19+ platform: linux/amd64 [ramakasturinarra@dhcp35-60 openshift-client-linux-4.6.0-0.nightly-2020-09-03-191144]$ oc version Client Version: 4.6.0-202009040156.p0-ae6fae6 Server Version: 4.6.0-0.nightly-2020-09-04-064335 Kubernetes Version: v1.19.0-rc.2+068702d Based on the above moving the bug to verified state. *** Bug 1862042 has been marked as a duplicate of this bug. *** 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.6 GA Images), 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:4196 |