+++ This bug was initially created as a clone of Bug #1728714 +++ Description of problem: Running `openshift-install version` shows a different version. 4.2.7 binary from https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/ $ ./openshift-install version ./openshift-install v4.2.5 built from commit 425e4ff0037487e32571258640b39f56d5ee5572 release image quay.io/openshift-release-dev/ocp-release@sha256:bac62983757570b9b8f8bc84c740782984a255c16372b3e30cfc8b52c0a187b9 Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Get https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-install-linux-4.2.7.tar.gz 2. Extract and uncompress it 3. Run `openshift-install version` Actual results: A different version is shown: ./openshift-install v4.2.5 Expected results: Version should match, i.e: ./openshift-install v4.2.7 Additional info:
Reproduce: # oc adm release extract --command='openshift-install' "quay.io/openshift-release-dev/ocp-release:4.2.7" --to=/usr/bin # openshift-install version openshift-install v4.2.5 built from commit 425e4ff0037487e32571258640b39f56d5ee5572 release image quay.io/openshift-release-dev/ocp-release@sha256:bac62983757570b9b8f8bc84c740782984a255c16372b3e30cfc8b52c0a187b9 Verification: # oc adm release extract --command='openshift-install' "quay.io/openshift-release-dev/ocp-release:4.2.14-x86_64" --to=/usr/bin # openshift-install version openshift-install v4.2.14 built from commit 46f909e4ccb4f7a4f82bf1ee28b32fa011a6bd1f release image quay.io/openshift-release-dev/ocp-release@sha256:3fabe939da31f9a31f509251b9f73d321e367aba2d09ff392c2f452f6433a95a
Also confirm this: # wget https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.2.14/openshift-install-linux-4.2.14.tar.gz # gunzip openshift-install-linux-4.2.14.tar.gz # tar -xf ./openshift-install-linux-4.2.14.tar # ./openshift-install version ./openshift-install v4.2.14 built from commit 46f909e4ccb4f7a4f82bf1ee28b32fa011a6bd1f release image quay.io/openshift-release-dev/ocp-release@sha256:3fabe939da31f9a31f509251b9f73d321e367aba2d09ff392c2f452f6433a95a
Should probably not be POST, since the 4.3 bug 1790537 and its [1] are still open. [1]: https://github.com/openshift/installer/pull/2907
This has been addressed in 4.3 and has not been deemed critical enough to fix in 4.2.