Skip to content

Instantly share code, notes, and snippets.

@bketelsen
Created March 22, 2015 21:52
Show Gist options
  • Save bketelsen/cd0c1768c3b54ba26cad to your computer and use it in GitHub Desktop.
Save bketelsen/cd0c1768c3b54ba26cad to your computer and use it in GitHub Desktop.
Kubelet won't start containers
I0322 22:51:16.199351 12178 event.go:138] Event(api.ObjectReference{Kind:"Pod", Namespace:"default", Name:"skydns-gziey", UID:"ec36d3dc-d0db-11e4-bc53-b827eb839ccd", APIVersion:"v1beta1", ResourceVersion:"497", FieldPath:"spec.containers{skydns}"}): reason: 'failed' Failed to start with docker id 81f8ac72c96a72d44858effe7699a8b95df4988a2824d902f726882682127484 with error: API error (500): Cannot start container 81f8ac72c96a72d44858effe7699a8b95df4988a2824d902f726882682127484: socket operation on non-socket
However... docker run -d skynetservices/skydns-arm works great
@bketelsen
Copy link
Author

Docker's Logs:

time="2015-03-22T22:54:08+01:00" level="info" msg="+job log(start, 3be35a39db6c7647fb8038037dad1aeb48790c7f93cf508841ef7f9430cf47cf, skynetservices/skydns-arm:latest)"
time="2015-03-22T22:54:08+01:00" level="info" msg="-job log(start, 3be35a39db6c7647fb8038037dad1aeb48790c7f93cf508841ef7f9430cf47cf, skynetservices/skydns-arm:latest) = OK (0)"
time="2015-03-22T22:54:09+01:00" level="debug" msg="Put on a non-mounted device 3be35a39db6c7647fb8038037dad1aeb48790c7f93cf508841ef7f9430cf47cf"
time="2015-03-22T22:54:09+01:00" level="info" msg="+job log(die, 3be35a39db6c7647fb8038037dad1aeb48790c7f93cf508841ef7f9430cf47cf, skynetservices/skydns-arm:latest)"
time="2015-03-22T22:54:09+01:00" level="info" msg="-job containers() = OK (0)"
time="2015-03-22T22:54:09+01:00" level="info" msg="-job log(die, 3be35a39db6c7647fb8038037dad1aeb48790c7f93cf508841ef7f9430cf47cf, skynetservices/skydns-arm:latest) = OK (0)"
Cannot start container 3be35a39db6c7647fb8038037dad1aeb48790c7f93cf508841ef7f9430cf47cf: socket operation on non-socket
time="2015-03-22T22:54:09+01:00" level="info" msg="-job start(3be35a39db6c7647fb8038037dad1aeb48790c7f93cf508841ef7f9430cf47cf) = ERR (1)"
time="2015-03-22T22:54:09+01:00" level="error" msg="Handler for POST /containers/{name:.*}/start returned error: Cannot start container 3be35a39db6c7647fb8038037dad1aeb48790c7f93cf508841ef7f9430cf47cf: socket operation on non-socket"
time="2015-03-22T22:54:09+01:00" level="error" msg="HTTP Error: statusCode=500 Cannot start container 3be35a39db6c7647fb8038037dad1aeb48790c7f93cf508841ef7f9430cf47cf: socket operation on non-socket"

@sokoow
Copy link

sokoow commented May 21, 2015

Hey, did you get around this ? I'm getting same on odroid, and so far didn't get too deep into it yet

@luxas
Copy link

luxas commented Jun 12, 2015

I got this error now...
Running Kubernetes v0.18 and on Raspberry Pi 2.

It works fine to start via docker but fails via kubectl.
I'll post if I find the solution

Did you ever find a solution?

@luxas
Copy link

luxas commented Sep 23, 2015

It might have something to do with this bug; moby/moby#14184
However, v.1.0.1 Kubernetes and v1.7.1 Docker works on a Raspberry Pi!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment