Bug 1190192
| Summary: | Kubelet service fails to start on Project Atomic host | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matt Micene <matt.micene> | ||||
| Component: | kubernetes | Assignee: | Jan Chaloupka <jchaloup> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 21 | CC: | eparis, golang-updates, jchaloup, lsm5, nhorman, vbatts, wkq5325 | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | kubernetes-0.9.1-0.2.git3623a01.fc20 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-02-21 04:24:12 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: | |||||||
| Attachments: |
|
||||||
|
Description
Matt Micene
2015-02-06 15:43:26 UTC
Created attachment 988941 [details]
Change docker.socket dependency to docker.service
Replicates fix from workaround
kubernetes-0.9.1-0.2.git3623a01.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/kubernetes-0.9.1-0.2.git3623a01.fc21 kubernetes-0.9.1-0.2.git3623a01.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/kubernetes-0.9.1-0.2.git3623a01.fc20 Package kubernetes-0.9.1-0.2.git3623a01.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing kubernetes-0.9.1-0.2.git3623a01.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-1847/kubernetes-0.9.1-0.2.git3623a01.fc21 then log in and leave karma (feedback). Hi everyone, I still hit that when change from docker.socket to docker.service ( I used fedora 20) as below: [fedora@test-k8s-minion ~]$ cat /usr/lib/systemd/system/kubelet.service [Unit] Description=Kubernetes Kubelet Server Documentation=https://github.com/GoogleCloudPlatform/kubernetes After=docker.service cadvisor.service Requires=docker.service [Service] EnvironmentFile=-/etc/kubernetes/config EnvironmentFile=-/etc/kubernetes/kubelet ExecStart=/usr/bin/kubelet \ ${KUBE_LOGTOSTDERR} \ ${KUBE_LOG_LEVEL} \ ${KUBE_ETCD_SERVERS} \ ${KUBELET_ADDRESS} \ ${KUBELET_PORT} \ ${KUBELET_HOSTNAME} \ ${KUBE_ALLOW_PRIV} \ ${KUBELET_ARGS} Restart=on-failure [Install] WantedBy=multi-user.target [fedora@test-k8s-minion ~]$ sudo systemctl start kubelet Failed to issue method call: Unit docker.socket failed to load: No such file or directory. I really can not figure out why it complain again and again. Could you help that ? Thanks I have solved it, it need reboot system. or else. it would not work. Seems fedora bug. I am not sure the root cause. Hi, if you change a service file manually you must reload systemd service deamon by [1]: # systemctl daemon-reload With yum update this happen automatically. [1] http://www.freedesktop.org/software/systemd/man/systemctl.html kubernetes-0.9.1-0.2.git3623a01.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. kubernetes-0.9.1-0.2.git3623a01.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |