Created
September 24, 2015 21:37
-
-
Save maddyblue/aa5951b09a08cc6e4570 to your computer and use it in GitHub Desktop.
kubernetes init failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker run --net=host --rm -it -v /var/run/docker.sock:/var/run/docker.sock gcr.io/google_containers/hyperkube:v1.0.6 /hyperkube kubelet --api_servers=http://localhost:8080 --v=2 --address=0.0.0.0 --enable_server --hostname_override=127.0.0.1 --config=/etc/kubernetes/manifests | |
WARNING: Your kernel does not support memory swappiness capabilities, memory swappiness discarded. | |
W0924 21:36:28.920738 1 server.go:261] failed to set oom_score_adj to -900: write /proc/self/oom_score_adj: permission denied | |
W0924 21:36:28.920875 1 server.go:474] Could not load kubeconfig file /var/lib/kubelet/kubeconfig: stat /var/lib/kubelet/kubeconfig: no such file or directory. Trying auth path instead. | |
W0924 21:36:28.920896 1 server.go:436] Could not load kubernetes auth path /var/lib/kubelet/kubernetes_auth: stat /var/lib/kubelet/kubernetes_auth: no such file or directory. Continuing with defaults. | |
I0924 21:36:28.920937 1 server.go:273] Using root directory: /var/lib/kubelet | |
I0924 21:36:28.920952 1 plugins.go:69] No cloud provider specified. | |
I0924 21:36:28.920961 1 server.go:292] Successfully initialized cloud provider: "" from the config file: "" | |
I0924 21:36:30.171005 1 docker.go:295] Connecting to docker on unix:///var/run/docker.sock | |
I0924 21:36:30.171225 1 server.go:663] Adding manifest file: /etc/kubernetes/manifests | |
I0924 21:36:30.171254 1 file.go:47] Watching path "/etc/kubernetes/manifests" | |
I0924 21:36:30.171271 1 server.go:673] Watching apiserver | |
E0924 21:36:30.171853 1 reflector.go:136] Failed to list *api.Service: Get http://localhost:8080/api/v1/services: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:30.171916 1 reflector.go:136] Failed to list *api.Node: Get http://localhost:8080/api/v1/nodes?fieldSelector=metadata.name%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:30.171948 1 reflector.go:136] Failed to list *api.Pod: Get http://localhost:8080/api/v1/pods?fieldSelector=spec.nodeName%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
I0924 21:36:30.266891 1 plugins.go:56] Registering credential provider: .dockercfg | |
W0924 21:36:30.287205 1 container_manager_linux.go:96] Memory limit 0 for container /docker-daemon is too small, reset it to 157286400 | |
I0924 21:36:30.287237 1 container_manager_linux.go:100] Configure resource-only container /docker-daemon with memory limit: 157286400 | |
I0924 21:36:30.288262 1 plugins.go:180] Loaded volume plugin "kubernetes.io/aws-ebs" | |
I0924 21:36:30.288295 1 plugins.go:180] Loaded volume plugin "kubernetes.io/empty-dir" | |
I0924 21:36:30.288304 1 plugins.go:180] Loaded volume plugin "empty" | |
I0924 21:36:30.288315 1 plugins.go:180] Loaded volume plugin "kubernetes.io/gce-pd" | |
I0924 21:36:30.288323 1 plugins.go:180] Loaded volume plugin "gce-pd" | |
I0924 21:36:30.288333 1 plugins.go:180] Loaded volume plugin "kubernetes.io/git-repo" | |
I0924 21:36:30.288340 1 plugins.go:180] Loaded volume plugin "git" | |
I0924 21:36:30.288350 1 plugins.go:180] Loaded volume plugin "kubernetes.io/host-path" | |
I0924 21:36:30.288365 1 plugins.go:180] Loaded volume plugin "kubernetes.io/nfs" | |
I0924 21:36:30.288377 1 plugins.go:180] Loaded volume plugin "kubernetes.io/secret" | |
I0924 21:36:30.288400 1 plugins.go:180] Loaded volume plugin "kubernetes.io/iscsi" | |
I0924 21:36:30.288413 1 plugins.go:180] Loaded volume plugin "kubernetes.io/glusterfs" | |
I0924 21:36:30.288425 1 plugins.go:180] Loaded volume plugin "kubernetes.io/persistent-claim" | |
I0924 21:36:30.288440 1 plugins.go:180] Loaded volume plugin "kubernetes.io/rbd" | |
I0924 21:36:30.288616 1 server.go:635] Started kubelet | |
E0924 21:36:30.288727 1 kubelet.go:682] Image garbage collection failed: cAdvisor is unsupported in this build | |
I0924 21:36:30.288928 1 server.go:63] Starting to listen on 0.0.0.0:10250 | |
I0924 21:36:30.288995 1 server.go:82] Starting to listen read-only on 0.0.0.0:10255 | |
E0924 21:36:30.294056 1 event.go:194] Unable to write event: 'Post http://localhost:8080/api/v1/namespaces/default/events: dial tcp 127.0.0.1:8080: connection refused' (may retry after sleeping) | |
W0924 21:36:30.295335 1 kubelet.go:700] Failed to move Kubelet to container "/kubelet": mkdir /sys/fs/cgroup/cpuset/kubelet: read-only file system | |
I0924 21:36:30.295359 1 kubelet.go:702] Running in container "/kubelet" | |
E0924 21:36:30.337955 1 kubelet.go:712] Failed to start CAdvisor, system may not be properly monitored: cAdvisor is unsupported in this build | |
E0924 21:36:30.337993 1 kubelet.go:722] Failed to start OOM watching: cAdvisor is unsupported in this build | |
I0924 21:36:30.338007 1 status_manager.go:76] Starting to sync pod status with apiserver | |
I0924 21:36:30.338019 1 kubelet.go:1725] Starting kubelet main sync loop. | |
W0924 21:36:30.340626 1 container_manager_linux.go:173] [ContainerManager] Failed to ensure state of "/docker-daemon": failed to find pid of Docker container: exit status 1 | |
E0924 21:36:30.343152 1 kubelet.go:1641] error getting node: node 127.0.0.1 not found | |
E0924 21:36:30.343168 1 kubelet.go:1575] error getting machine info: cAdvisor is unsupported in this build | |
I0924 21:36:30.374139 1 manager.go:1384] Need to restart pod infra container for "k8s-master-127.0.0.1_default" because it is not found | |
W0924 21:36:30.374479 1 status_manager.go:80] Failed to updated pod status: error updating status for pod "k8s-master-127.0.0.1_default": Get http://localhost:8080/api/v1/namespaces/default/pods/k8s-master-127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:30.387640 1 kubelet.go:2016] Error getting machine info: cAdvisor is unsupported in this build | |
E0924 21:36:30.387668 1 kubelet.go:2035] Error getting version info: cAdvisor is unsupported in this build | |
I0924 21:36:30.387680 1 kubelet.go:1942] Recording NodeReady event message for node 127.0.0.1 | |
I0924 21:36:30.387703 1 kubelet.go:790] Attempting to register node 127.0.0.1 | |
I0924 21:36:30.388238 1 kubelet.go:793] Unable to register 127.0.0.1 with the apiserver: Post http://localhost:8080/api/v1/nodes: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:30.588399 1 kubelet.go:2016] Error getting machine info: cAdvisor is unsupported in this build | |
E0924 21:36:30.588431 1 kubelet.go:2035] Error getting version info: cAdvisor is unsupported in this build | |
I0924 21:36:30.588445 1 kubelet.go:1942] Recording NodeReady event message for node 127.0.0.1 | |
I0924 21:36:30.588503 1 kubelet.go:790] Attempting to register node 127.0.0.1 | |
I0924 21:36:30.588885 1 kubelet.go:793] Unable to register 127.0.0.1 with the apiserver: Post http://localhost:8080/api/v1/nodes: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:30.989164 1 kubelet.go:2016] Error getting machine info: cAdvisor is unsupported in this build | |
E0924 21:36:30.989196 1 kubelet.go:2035] Error getting version info: cAdvisor is unsupported in this build | |
I0924 21:36:30.989208 1 kubelet.go:1942] Recording NodeReady event message for node 127.0.0.1 | |
I0924 21:36:30.989230 1 kubelet.go:790] Attempting to register node 127.0.0.1 | |
I0924 21:36:30.989602 1 kubelet.go:793] Unable to register 127.0.0.1 with the apiserver: Post http://localhost:8080/api/v1/nodes: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:31.172225 1 reflector.go:136] Failed to list *api.Node: Get http://localhost:8080/api/v1/nodes?fieldSelector=metadata.name%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:31.172239 1 reflector.go:136] Failed to list *api.Service: Get http://localhost:8080/api/v1/services: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:31.172266 1 reflector.go:136] Failed to list *api.Pod: Get http://localhost:8080/api/v1/pods?fieldSelector=spec.nodeName%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:31.789870 1 kubelet.go:2016] Error getting machine info: cAdvisor is unsupported in this build | |
E0924 21:36:31.789907 1 kubelet.go:2035] Error getting version info: cAdvisor is unsupported in this build | |
I0924 21:36:31.789920 1 kubelet.go:1942] Recording NodeReady event message for node 127.0.0.1 | |
I0924 21:36:31.789946 1 kubelet.go:790] Attempting to register node 127.0.0.1 | |
I0924 21:36:31.790275 1 kubelet.go:793] Unable to register 127.0.0.1 with the apiserver: Post http://localhost:8080/api/v1/nodes: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:32.172597 1 reflector.go:136] Failed to list *api.Service: Get http://localhost:8080/api/v1/services: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:32.172608 1 reflector.go:136] Failed to list *api.Node: Get http://localhost:8080/api/v1/nodes?fieldSelector=metadata.name%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:32.172687 1 reflector.go:136] Failed to list *api.Pod: Get http://localhost:8080/api/v1/pods?fieldSelector=spec.nodeName%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:33.173086 1 reflector.go:136] Failed to list *api.Service: Get http://localhost:8080/api/v1/services: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:33.173348 1 reflector.go:136] Failed to list *api.Node: Get http://localhost:8080/api/v1/nodes?fieldSelector=metadata.name%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:33.173348 1 reflector.go:136] Failed to list *api.Pod: Get http://localhost:8080/api/v1/pods?fieldSelector=spec.nodeName%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:33.390706 1 kubelet.go:2016] Error getting machine info: cAdvisor is unsupported in this build | |
E0924 21:36:33.390747 1 kubelet.go:2035] Error getting version info: cAdvisor is unsupported in this build | |
I0924 21:36:33.390761 1 kubelet.go:1942] Recording NodeReady event message for node 127.0.0.1 | |
I0924 21:36:33.390782 1 kubelet.go:790] Attempting to register node 127.0.0.1 | |
I0924 21:36:33.391208 1 kubelet.go:793] Unable to register 127.0.0.1 with the apiserver: Post http://localhost:8080/api/v1/nodes: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:33.780452 1 manager.go:1557] Failed to create pod infra container: API error (404): Cannot start container 128b4232ac50c1a7a749c6875158ea8e3dfcaf6c7905432f7e05562fecc7461b: [8] System error: open /sys/fs/cgroup/cpu,cpuacct/init.scope/system.slice/docker-128b4232ac50c1a7a749c6875158ea8e3dfcaf6c7905432f7e05562fecc7461b.scope/cpu.shares: no such file or directory | |
; Skipping pod "k8s-master-127.0.0.1_default" | |
E0924 21:36:33.780520 1 pod_workers.go:111] Error syncing pod 83c187e630b6ba3ad86d07e333dba201, skipping: API error (404): Cannot start container 128b4232ac50c1a7a749c6875158ea8e3dfcaf6c7905432f7e05562fecc7461b: [8] System error: open /sys/fs/cgroup/cpu,cpuacct/init.scope/system.slice/docker-128b4232ac50c1a7a749c6875158ea8e3dfcaf6c7905432f7e05562fecc7461b.scope/cpu.shares: no such file or directory | |
E0924 21:36:34.173671 1 reflector.go:136] Failed to list *api.Pod: Get http://localhost:8080/api/v1/pods?fieldSelector=spec.nodeName%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:34.173710 1 reflector.go:136] Failed to list *api.Service: Get http://localhost:8080/api/v1/services: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:34.173710 1 reflector.go:136] Failed to list *api.Node: Get http://localhost:8080/api/v1/nodes?fieldSelector=metadata.name%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:35.174037 1 reflector.go:136] Failed to list *api.Node: Get http://localhost:8080/api/v1/nodes?fieldSelector=metadata.name%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:35.174043 1 reflector.go:136] Failed to list *api.Pod: Get http://localhost:8080/api/v1/pods?fieldSelector=spec.nodeName%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:35.174073 1 reflector.go:136] Failed to list *api.Service: Get http://localhost:8080/api/v1/services: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:35.291629 1 event.go:194] Unable to write event: 'Post http://localhost:8080/api/v1/namespaces/default/events: dial tcp 127.0.0.1:8080: connection refused' (may retry after sleeping) | |
E0924 21:36:36.174384 1 reflector.go:136] Failed to list *api.Node: Get http://localhost:8080/api/v1/nodes?fieldSelector=metadata.name%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:36.174421 1 reflector.go:136] Failed to list *api.Service: Get http://localhost:8080/api/v1/services: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:36.174425 1 reflector.go:136] Failed to list *api.Pod: Get http://localhost:8080/api/v1/pods?fieldSelector=spec.nodeName%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:36.591368 1 kubelet.go:2016] Error getting machine info: cAdvisor is unsupported in this build | |
E0924 21:36:36.591399 1 kubelet.go:2035] Error getting version info: cAdvisor is unsupported in this build | |
I0924 21:36:36.591413 1 kubelet.go:1942] Recording NodeReady event message for node 127.0.0.1 | |
I0924 21:36:36.591430 1 kubelet.go:790] Attempting to register node 127.0.0.1 | |
I0924 21:36:36.591874 1 kubelet.go:793] Unable to register 127.0.0.1 with the apiserver: Post http://localhost:8080/api/v1/nodes: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:37.175241 1 reflector.go:136] Failed to list *api.Service: Get http://localhost:8080/api/v1/services: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:37.175253 1 reflector.go:136] Failed to list *api.Node: Get http://localhost:8080/api/v1/nodes?fieldSelector=metadata.name%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:37.175282 1 reflector.go:136] Failed to list *api.Pod: Get http://localhost:8080/api/v1/pods?fieldSelector=spec.nodeName%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:38.175833 1 reflector.go:136] Failed to list *api.Pod: Get http://localhost:8080/api/v1/pods?fieldSelector=spec.nodeName%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:38.175885 1 reflector.go:136] Failed to list *api.Service: Get http://localhost:8080/api/v1/services: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:38.175898 1 reflector.go:136] Failed to list *api.Node: Get http://localhost:8080/api/v1/nodes?fieldSelector=metadata.name%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:39.176566 1 reflector.go:136] Failed to list *api.Pod: Get http://localhost:8080/api/v1/pods?fieldSelector=spec.nodeName%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:39.176565 1 reflector.go:136] Failed to list *api.Service: Get http://localhost:8080/api/v1/services: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:39.176577 1 reflector.go:136] Failed to list *api.Node: Get http://localhost:8080/api/v1/nodes?fieldSelector=metadata.name%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:40.176979 1 reflector.go:136] Failed to list *api.Node: Get http://localhost:8080/api/v1/nodes?fieldSelector=metadata.name%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:40.176978 1 reflector.go:136] Failed to list *api.Service: Get http://localhost:8080/api/v1/services: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:40.176978 1 reflector.go:136] Failed to list *api.Pod: Get http://localhost:8080/api/v1/pods?fieldSelector=spec.nodeName%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:40.374154 1 kubelet.go:1641] error getting node: node 127.0.0.1 not found | |
E0924 21:36:40.374174 1 kubelet.go:1575] error getting machine info: cAdvisor is unsupported in this build | |
I0924 21:36:40.411619 1 manager.go:1384] Need to restart pod infra container for "k8s-master-127.0.0.1_default" because it is not found | |
E0924 21:36:40.981248 1 manager.go:1557] Failed to create pod infra container: API error (404): Cannot start container 2ef0dce4986f3d4c150a8781c58f43dbb8ffc5aa64ca86badd6b4f9d7a6bae09: [8] System error: open /sys/fs/cgroup/cpu,cpuacct/init.scope/system.slice/docker-2ef0dce4986f3d4c150a8781c58f43dbb8ffc5aa64ca86badd6b4f9d7a6bae09.scope/cpu.shares: no such file or directory | |
; Skipping pod "k8s-master-127.0.0.1_default" | |
E0924 21:36:40.981300 1 pod_workers.go:111] Error syncing pod 83c187e630b6ba3ad86d07e333dba201, skipping: API error (404): Cannot start container 2ef0dce4986f3d4c150a8781c58f43dbb8ffc5aa64ca86badd6b4f9d7a6bae09: [8] System error: open /sys/fs/cgroup/cpu,cpuacct/init.scope/system.slice/docker-2ef0dce4986f3d4c150a8781c58f43dbb8ffc5aa64ca86badd6b4f9d7a6bae09.scope/cpu.shares: no such file or directory | |
E0924 21:36:41.177424 1 reflector.go:136] Failed to list *api.Node: Get http://localhost:8080/api/v1/nodes?fieldSelector=metadata.name%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:41.177430 1 reflector.go:136] Failed to list *api.Pod: Get http://localhost:8080/api/v1/pods?fieldSelector=spec.nodeName%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:41.177549 1 reflector.go:136] Failed to list *api.Service: Get http://localhost:8080/api/v1/services: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:42.177908 1 reflector.go:136] Failed to list *api.Service: Get http://localhost:8080/api/v1/services: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:42.177962 1 reflector.go:136] Failed to list *api.Node: Get http://localhost:8080/api/v1/nodes?fieldSelector=metadata.name%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:42.178003 1 reflector.go:136] Failed to list *api.Pod: Get http://localhost:8080/api/v1/pods?fieldSelector=spec.nodeName%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:42.992082 1 kubelet.go:2016] Error getting machine info: cAdvisor is unsupported in this build | |
E0924 21:36:42.992100 1 kubelet.go:2035] Error getting version info: cAdvisor is unsupported in this build | |
I0924 21:36:42.992107 1 kubelet.go:1942] Recording NodeReady event message for node 127.0.0.1 | |
I0924 21:36:42.992117 1 kubelet.go:790] Attempting to register node 127.0.0.1 | |
I0924 21:36:42.992415 1 kubelet.go:793] Unable to register 127.0.0.1 with the apiserver: Post http://localhost:8080/api/v1/nodes: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:43.178550 1 reflector.go:136] Failed to list *api.Service: Get http://localhost:8080/api/v1/services: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:43.178568 1 reflector.go:136] Failed to list *api.Pod: Get http://localhost:8080/api/v1/pods?fieldSelector=spec.nodeName%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused | |
E0924 21:36:43.178569 1 reflector.go:136] Failed to list *api.Node: Get http://localhost:8080/api/v1/nodes?fieldSelector=metadata.name%3D127.0.0.1: dial tcp 127.0.0.1:8080: connection refused |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment