Bug 1861097
Summary: | Kube API reports OCP version instead of Kube version | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Russell Teague <rteague> | |
Component: | Release | Assignee: | Luke Meyer <lmeyer> | |
Status: | CLOSED ERRATA | QA Contact: | Gaoyun Pei <gpei> | |
Severity: | high | Docs Contact: | ||
Priority: | urgent | |||
Version: | 4.6 | CC: | aos-bugs, dbosanac, gpei, jokerman, jupierce, lmeyer, mfojtik, mnewby, mrajanna, muagarwa, nberry, obabec, ocs-bugs, rcyriac, smaitra, tnielsen, vavuthu, xxia | |
Target Milestone: | --- | Keywords: | TestBlocker, TestBlockerForLayeredProduct | |
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: | ||||
: | 1875739 (view as bug list) | Environment: | ||
Last Closed: | 2020-10-27 16:17:21 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: | 1852357 |
Description
Russell Teague
2020-07-27 19:54:04 UTC
A slack conversation with Luke Meyer from ART revealed that the hyperkube binaries are built for release from a repo that doesn't have the same set of tags as openshift/kubernetes. This was previously worked around by a distgit script that expected a Godeps.json file [1], but that is broken by the move to go.mod. ART has agreed to take responsibility for the fix. 1: https://github.com/openshift/doozer/blob/a806878e56a34d4833c2ef8297a393c2a4b1316c/doozerlib/distgit.py#L1789-L1808 Jira issue: https://issues.redhat.com/browse/ART-2063 In addition to the reported failure mode, an incorrect server version will also prompt failure in some e2e tests hard-coded to check compatibility of the current kube version. @Luke What is the timeline for the fix? OCS is blocked by this version issue, thus @Neha added a dependency. If we try to workaround this, we will just be peeling the onion to find all the issues until the version is fixed. *** Bug 1865942 has been marked as a duplicate of this bug. *** This issue also affects AMQ Online team as we use different product features based on this value. Could you share the nightly version containing the fix? Hi, from just blind pick latest release I found that fix is already there so 4.6.0-0.nightly-2020-08-07-202945 or as it's today latest-4.6 contains that. None of this info is approved from devs but it's working... With 4.6.0-0.nightly-2020-08-10-110737, it shows the Kube version 1.19 now. # oc version --output=json { "clientVersion": { "major": "", "minor": "", "gitVersion": "4.6.0-202008031851.p0-a695d74", "gitCommit": "a695d74ef1aee9a3f605d38dd8b6fae2062b63fc", "gitTreeState": "clean", "buildDate": "2020-08-03T19:18:12Z", "goVersion": "go1.13.4", "compiler": "gc", "platform": "linux/amd64" }, "serverVersion": { "major": "1", "minor": "19+", "gitVersion": "v1.19.0-rc.2+5241b27-dirty", "gitCommit": "5241b27b8acd73cdc99a0cac281645189189f1d8", "gitTreeState": "dirty", "buildDate": "2020-08-06T08:12:07Z", "goVersion": "go1.14.4", "compiler": "gc", "platform": "linux/amd64" }, "openshiftVersion": "4.6.0-0.nightly-2020-08-10-110737" } 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 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 |