Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

With weave-kube 2.0.1 and kubernetes 1.6.4, seeing a lot docker error logs #3047

Closed
inetfuture opened this issue Jun 29, 2017 · 5 comments
Closed

Comments

@inetfuture
Copy link

inetfuture commented Jun 29, 2017

What you expected to happen?

no annoying docker error logs

What happened?

I have a kubernetes 1.6.4 cluster, previously I used weave-kube(and weave-npc) 1.9.7, then I upgraded weave to 2.0.1, with https://git.io/weave-kube, everything seems to keep working, but docker complains a lot:

root@192-168-161-102:~# journalctl -f | grep weave
Jun 29 23:17:44 192-168-161-102 dockerd[4187]: time="2017-06-29T23:17:44.345853219+08:00" level=error msg="Error setting up exec command in container weaveproxy: No such container: weaveproxy"
Jun 29 23:17:44 192-168-161-102 dockerd[4187]: time="2017-06-29T23:17:44.347153957+08:00" level=error msg="Handler for POST /containers/weaveproxy/exec returned error: No such container: weaveproxy"
Jun 29 23:17:44 192-168-161-102 dockerd[4187]: time="2017-06-29T23:17:44.348392929+08:00" level=error msg="Handler for GET /containers/weaveplugin/json returned error: No such container: weaveplugin"
Jun 29 23:17:54 192-168-161-102 dockerd[4187]: time="2017-06-29T23:17:54.349975464+08:00" level=error msg="Handler for GET /containers/weaveplugin/json returned error: No such container: weaveplugin"
Jun 29 23:17:54 192-168-161-102 dockerd[4187]: time="2017-06-29T23:17:54.352455852+08:00" level=error msg="Error setting up exec command in container weaveproxy: No such container: weaveproxy"
Jun 29 23:17:54 192-168-161-102 dockerd[4187]: time="2017-06-29T23:17:54.352841049+08:00" level=error msg="Handler for POST /containers/weaveproxy/exec returned error: No such container: weaveproxy"
Jun 29 23:18:14 192-168-161-102 dockerd[4187]: time="2017-06-29T23:18:14.392577223+08:00" level=error msg="Handler for GET /containers/weaveplugin/json returned error: No such container: weaveplugin"
Jun 29 23:18:14 192-168-161-102 dockerd[4187]: time="2017-06-29T23:18:14.492361575+08:00" level=error msg="Error setting up exec command in container weaveproxy: No such container: weaveproxy"
Jun 29 23:18:14 192-168-161-102 dockerd[4187]: time="2017-06-29T23:18:14.492749995+08:00" level=error msg="Handler for POST /containers/weaveproxy/exec returned error: No such container: weaveproxy"
Jun 29 23:18:44 192-168-161-102 dockerd[4187]: time="2017-06-29T23:18:44.536729226+08:00" level=error msg="Error setting up exec command in container weaveproxy: No such container: weaveproxy"
Jun 29 23:18:44 192-168-161-102 dockerd[4187]: time="2017-06-29T23:18:44.537598063+08:00" level=error msg="Handler for POST /containers/weaveproxy/exec returned error: No such container: weaveproxy"
Jun 29 23:18:44 192-168-161-102 dockerd[4187]: time="2017-06-29T23:18:44.538097349+08:00" level=error msg="Handler for GET /containers/weaveplugin/json returned error: No such container: weaveplugin"
Jun 29 23:19:14 192-168-161-102 dockerd[4187]: time="2017-06-29T23:19:14.598098853+08:00" level=error msg="Handler for GET /containers/weaveplugin/json returned error: No such container: weaveplugin"
Jun 29 23:19:14 192-168-161-102 dockerd[4187]: time="2017-06-29T23:19:14.598487158+08:00" level=error msg="Error setting up exec command in container weaveproxy: No such container: weaveproxy"
Jun 29 23:19:14 192-168-161-102 dockerd[4187]: time="2017-06-29T23:19:14.598524338+08:00" level=error msg="Handler for POST /containers/weaveproxy/exec returned error: No such container: weaveproxy"
Jun 29 23:20:44 192-168-161-102 dockerd[4187]: time="2017-06-29T23:20:44.945948692+08:00" level=error msg="Error setting up exec command in container weaveproxy: No such container: weaveproxy"
Jun 29 23:20:44 192-168-161-102 dockerd[4187]: time="2017-06-29T23:20:44.946370515+08:00" level=error msg="Handler for POST /containers/weaveproxy/exec returned error: No such container: weaveproxy"
Jun 29 23:20:45 192-168-161-102 dockerd[4187]: time="2017-06-29T23:20:45.105914499+08:00" level=error msg="Handler for GET /containers/weaveplugin/json returned error: No such container: weaveplugin"
Jun 29 23:22:15 192-168-161-102 dockerd[4187]: time="2017-06-29T23:22:15.152258556+08:00" level=error msg="Error setting up exec command in container weaveproxy: No such container: weaveproxy"
Jun 29 23:22:15 192-168-161-102 dockerd[4187]: time="2017-06-29T23:22:15.152658548+08:00" level=error msg="Handler for POST /containers/weaveproxy/exec returned error: No such container: weaveproxy"
Jun 29 23:22:15 192-168-161-102 dockerd[4187]: time="2017-06-29T23:22:15.336278084+08:00" level=error msg="Handler for GET /containers/weaveplugin/json returned error: No such container: weaveplugin"

Anything else we need to know?

I configured kubernetes with kubeadm.

I also installed weave-scope with kubectl apply --namespace kube-system -f "https://cloud.weave.works/k8s/scope.yaml?k8s-version=$(kubectl version | base64 | tr -d '\n')"

Versions:

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.4", GitCommit:"d6f433224538d4f9ca2f7ae19b252e6fcb66a3ae", GitTreeState:"clean", BuildDate:"2017-05-19T20:41:07Z", GoVersion:"go1.8.1", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.4", GitCommit:"d6f433224538d4f9ca2f7ae19b252e6fcb66a3ae", GitTreeState:"clean", BuildDate:"2017-05-19T18:33:17Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"}
@inetfuture
Copy link
Author

reinstall weave-scope fixed this issue 😄

@inetfuture
Copy link
Author

no, still happens...

@inetfuture inetfuture reopened this Jun 29, 2017
@inetfuture inetfuture changed the title With weave-kube 2.0.1 and kubernetes 1.6.4, seeing a log docker error logs With weave-kube 2.0.1 and kubernetes 1.6.4, seeing a lot docker error logs Jun 29, 2017
@inetfuture
Copy link
Author

if I uninstall weave-scope, these logs disappear

@bboreham
Copy link
Contributor

Looks like weaveworks/scope#2634

@inetfuture
Copy link
Author

ok, closing this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants