Bug 1263783

Summary: When running kubectl version, kubernetes-1.0.3 returns 1.1.0 instead of 1.0.3
Product: Red Hat Enterprise Linux 7 Reporter: Jan Chaloupka <jchaloup>
Component: kubernetesAssignee: Jan Chaloupka <jchaloup>
Status: CLOSED ERRATA QA Contact: atomic-bugs <atomic-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: gouyang, lfriedma, mjenner, sghosh, vigoyal
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kubernetes-1.0.3-0.2.gitb9a88a7.el7 Doc Type: Bug Fix
Doc Text:
An issue within the versioning system caused kubectl to report an incorrect version of the currently installed kubectl. This issue has now been fixed and the correct version is reported when running the kubectl version command.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-03 16:22:51 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 Jan Chaloupka 2015-09-16 16:56:46 UTC
Description of problem:
When running kubectl version, kubernetes-1.0.6 returns 1.1.0 instead of 1.0.6

Version-Release number of selected component (if applicable):
kubernetes-1.0.3-0.1.gitb9a88a7.el7

How reproducible:
Always

Steps to Reproduce:
1. install etcd, kubernetes-master and kubernetes-client
2. # systemctl start etcd; systemctl start kube-apiserver
3. $ kubectl version

Actual results:
Client Version: version.Info{Major:"1", Minor:"1+", GitVersion:"v1.1.0-alpha.0.1909+280b66c9012c21", GitCommit:"b9a88a7d0e357be2174011dd2b127038c6ea8929", GitTreeState:"clean"}
Server Version: version.Info{Major:"1", Minor:"1+", GitVersion:"v1.1.0-alpha.0.1909+280b66c9012c21", GitCommit:"b9a88a7d0e357be2174011dd2b127038c6ea8929", GitTreeState:"clean"}

Expected results:
Client Version: version.Info{Major:"1", Minor:"0+", GitVersion:"v1.0.3", GitCommit:"61c6ac5f350253a4dc002aee97b7db7ff01ee4ca", GitTreeState:"clean"}
Server Version: version.Info{Major:"1", Minor:"0+", GitVersion:"v1.0.3", GitCommit:"61c6ac5f350253a4dc002aee97b7db7ff01ee4ca", GitTreeState:"clean"}


Additional info:
It is a spec only fix

Comment 8 errata-xmlrpc 2015-11-03 16:22:51 UTC
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://rhn.redhat.com/errata/RHBA-2015-1974.html