Hide Forgot
Description of problem: oc client does not display the client platform. This occurs for all supported platforms (see output below). Trevor found that it's been broken since the output format changed in http://github.com/openshift/origin/commit/8c90407567709252c88896a7af6cbb96c2a5297a Version-Release number of selected component (if applicable): 4.1.0-rc.0 (but older version of oc also exhibit this behavior) How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Windows ======= PS C:\Users\ocp-q> oc version Client Version: version.Info{Major:"4", Minor:"1+", GitVersion:"v4.1.0-201904211700+843a3fa-dirty", GitCommit:"843a3fa", GitTreeState:"", BuildDate:"2019-04-21T23:42:21Z", GoVersion:"", Compiler:"", Platform:""} Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.4+c9ccf35", GitCommit:"c9ccf35", GitTreeState:"clean", BuildDate:"2019-04-23T08:10:24Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"} Linux ====== pruan@dhcp-91-104 ~/workspace/bushslicer (master)$ oc version Client Version: version.Info{Major:"4", Minor:"1+", GitVersion:"v4.1.0", GitCommit:"1016bda6b", GitTreeState:"", BuildDate:"2019-04-09T04:48:59Z", GoVersion:"", Compiler:"", Platform:""} Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.4+c9ccf35", GitCommit:"c9ccf35", GitTreeState:"clean", BuildDate:"2019-04-23T08:10:24Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"} MacOS ======= pruan@MacBook-Pro ~/Downloads $ oc version Client Version: version.Info{Major:"4", Minor:"1+", GitVersion:"v4.1.0-201904211700+843a3fa-dirty", GitCommit:"843a3fa", GitTreeState:"", BuildDate:"2019-04-21T23:42:21Z", GoVersion:"", Compiler:"", Platform:""} Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.4+c9ccf35", GitCommit:"c9ccf35", GitTreeState:"clean", BuildDate:"2019-04-23T08:10:24Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"} Expected results: Additional info:
@xxia, Clayton indicated in slack to open a bug to master team
PR in https://github.com/openshift/origin/pull/22650
Confirmed with latest oc , the issue has fixed: [root@dhcp-140-138 ~]# oc version Client Version: version.Info{Major:"4", Minor:"1+", GitVersion:"v4.1.0", GitCommit:"44e89e525", GitTreeState:"clean", BuildDate:"2019-04-25T22:42:17Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.4+5c41ab6", GitCommit:"5c41ab6", GitTreeState:"clean", BuildDate:"2019-04-24T20:42:36Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"} [root@Mac-Slave-1 ~]$ oc version Client Version: version.Info{Major:"4", Minor:"1+", GitVersion:"v4.1.0", GitCommit:"bbefc2cc4", GitTreeState:"clean", BuildDate:"2019-04-26T03:10:49Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"darwin/amd64"}
oc version Client Version: version.Info{Major:"4", Minor:"1+", GitVersion:"v4.1.0", GitCommit:"27a00af64", GitTreeState:"clean", BuildDate:"2019-04-27T17:00:43Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"windows/amd6 4"} Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.4+438fe5b", GitCommit:"438fe5b", GitTreeState:"clean", BuildDate:"2019-04-25T11:05:03Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linu x/amd64"}
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-2019:0758