Bug 1200924 - typo in /etc/kubernetes/kubelet
Summary: typo in /etc/kubernetes/kubelet
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kubernetes
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Chaloupka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-11 16:22 UTC by Leonid Kanter
Modified: 2015-03-26 22:02 UTC (History)
7 users (show)

Fixed In Version: kubernetes-0.12.0-0.9.git53b25a7.fc22
Clone Of:
Environment:
Last Closed: 2015-03-26 21:50:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Leonid Kanter 2015-03-11 16:22:24 UTC
Description of problem:

In /etc/kubernetes/kubelet there is following line:

KUBELET_API_SERVER="--api_server=127.0.0.1:8080"

but according to kubelet --help output and source code actual command line option is --api_servers

Version-Release number of selected component (if applicable):

kubernetes-0.12.0-0.4.gita4d871a.fc2

How reproducible:

Additional info:

Following patch should be applied:

--- contrib/init/systemd/environ/kubelet.orig   2015-03-03 07:04:24.000000000 +0300
+++ contrib/init/systemd/environ/kubelet        2015-03-11 18:10:49.638406448 +0300
@@ -11,7 +11,7 @@
 KUBELET_HOSTNAME="--hostname_override=127.0.0.1"

 # location of the api-server
-KUBELET_API_SERVER="--api_server=127.0.0.1:8080"
+KUBELET_API_SERVER="--api_servers=127.0.0.1:8080"

 # Add your own!
 KUBELET_ARGS=""

Comment 3 Fedora Update System 2015-03-13 16:40:56 UTC
kubernetes-0.12.0-0.9.git53b25a7.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/kubernetes-0.12.0-0.9.git53b25a7.fc22

Comment 4 Fedora Update System 2015-03-13 16:42:16 UTC
kubernetes-0.12.0-0.9.git53b25a7.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/kubernetes-0.12.0-0.9.git53b25a7.fc21

Comment 5 Fedora Update System 2015-03-13 16:43:09 UTC
kubernetes-0.12.0-0.9.git53b25a7.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/kubernetes-0.12.0-0.9.git53b25a7.fc20

Comment 6 Fedora Update System 2015-03-14 09:17:08 UTC
Package kubernetes-0.12.0-0.9.git53b25a7.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kubernetes-0.12.0-0.9.git53b25a7.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-3858/kubernetes-0.12.0-0.9.git53b25a7.fc20
then log in and leave karma (feedback).

Comment 7 Steven Dake 2015-03-23 02:11:17 UTC
note this is not a typo.  kubernetes used to use --api-server and changed it to --api-servers I suppose to add HA/HS.

Comment 8 Fedora Update System 2015-03-26 21:50:39 UTC
kubernetes-0.12.0-0.9.git53b25a7.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-03-26 21:53:18 UTC
kubernetes-0.12.0-0.9.git53b25a7.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2015-03-26 22:02:55 UTC
kubernetes-0.12.0-0.9.git53b25a7.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.