{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/13314","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/13314/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/13314/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/13314/events","html_url":"https://github.com/rancher/rancher/issues/13314","id":320566574,"number":13314,"title":"Error: failed to start containers: kubelet","user":{"login":"sixcorners","id":585501,"avatar_url":"https://avatars0.githubusercontent.com/u/585501?v=4","gravatar_id":"","url":"https://api.github.com/users/sixcorners","html_url":"https://github.com/sixcorners","followers_url":"https://api.github.com/users/sixcorners/followers","following_url":"https://api.github.com/users/sixcorners/following{/other_user}","gists_url":"https://api.github.com/users/sixcorners/gists{/gist_id}","starred_url":"https://api.github.com/users/sixcorners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sixcorners/subscriptions","organizations_url":"https://api.github.com/users/sixcorners/orgs","repos_url":"https://api.github.com/users/sixcorners/repos","events_url":"https://api.github.com/users/sixcorners/events{/privacy}","received_events_url":"https://api.github.com/users/sixcorners/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-05-06T06:23:18Z","updated_at":"2018-05-07T06:10:32Z","closed_at":null,"author_association":"NONE","body":"**Rancher versions:**\r\nrancher/server or rancher/rancher: rancher/rancher:latest@sha256:38839bb19bdcac084a413a4edce7efb97ab99b6d896bda2f433dfacfd27f8770\r\nrancher/agent or rancher/rancher-agent:\r\nrancher/rancher-agent:v2.0.0\r\n**Infrastructure Stack versions:**\r\nwhatever the defaults are\r\n\r\n**Docker version: (`docker version`,`docker info` preferred)**\r\nClient:\r\n Version:      17.03.2-ce\r\n API version:  1.27\r\n Go version:   go1.8.3\r\n Git commit:   f5ec1e2-snap-345b814\r\n Built:        Thu Jun 29 23:40:29 2017\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      17.03.2-ce\r\n API version:  1.27 (minimum version 1.12)\r\n Go version:   go1.8.3\r\n Git commit:   f5ec1e2-snap-345b814\r\n Built:        Thu Jun 29 23:40:29 2017\r\n OS/Arch:      linux/amd64\r\n Experimental: false\r\n**Operating system and kernel: (`cat /etc/os-release`, `uname -r` preferred)**\r\n4.15.0-20-generic\r\n**Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)**\r\nssdnodes/custom cluster\r\n**Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)**\r\nsingle node\r\n**Environment Template: (Cattle/Kubernetes/Swarm/Mesos)**\r\ncan't set up node\r\n**Steps to Reproduce:**\r\nsnap install docker --channel=17.03/stable\r\nmkdir /etc/kubernetes\r\nsudo docker run -d --privileged --restart=unless-stopped --net=host -v /etc/kubernetes:/etc/kubernetes -v /var/run:/var/run rancher/rancher-agent:v2.0.0 --server https://rancher.sixcorners.info --token abc --ca-checksum xyz --worker\r\ndocker logs -f share-mnt\r\n**Results:**\r\nFound state.json: 931882e24ff0ef67b0e8744dbf1f7e04fd68afe714a29a2522293312824f3c51\r\ntime=\"2018-05-06T06:09:15Z\" level=info msg=\"Execing [/usr/bin/nsenter --mount=/proc/21787/ns/mnt -F -- /var/snap/docker/common/var-lib-docker/aufs/mnt/5d00bd40adec6662aaec8ea2a5f5ce6a332e9dbfad087a008c5c89b7cac4c22f/usr/bin/share-mnt --stage2 /var/lib/kubelet /var/lib/rancher -- norun]\" \r\nError response from daemon: {\"message\":\"No such container: kubelet\"}\r\nError: failed to start containers: kubelet\r\nError response from daemon: {\"message\":\"No such container: kubelet\"}\r\nError: failed to start containers: kubelet\r\nError response from daemon: {\"message\":\"No such container: kubelet\"}\r\nError: failed to start containers: kubelet\r\n"},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/386966871","html_url":"https://github.com/rancher/rancher/issues/13314#issuecomment-386966871","issue_url":"https://api.github.com/repos/rancher/rancher/issues/13314","id":386966871,"user":{"login":"jonaskello","id":664076,"avatar_url":"https://avatars0.githubusercontent.com/u/664076?v=4","gravatar_id":"","url":"https://api.github.com/users/jonaskello","html_url":"https://github.com/jonaskello","followers_url":"https://api.github.com/users/jonaskello/followers","following_url":"https://api.github.com/users/jonaskello/following{/other_user}","gists_url":"https://api.github.com/users/jonaskello/gists{/gist_id}","starred_url":"https://api.github.com/users/jonaskello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonaskello/subscriptions","organizations_url":"https://api.github.com/users/jonaskello/orgs","repos_url":"https://api.github.com/users/jonaskello/repos","events_url":"https://api.github.com/users/jonaskello/events{/privacy}","received_events_url":"https://api.github.com/users/jonaskello/received_events","type":"User","site_admin":false},"created_at":"2018-05-07T06:10:32Z","updated_at":"2018-05-07T06:10:32Z","author_association":"NONE","body":"Interestingly I also got this when adding my second node, but the third was added fine. Basically what I did was follow the quickstart to set everything up on a single VM, then add a second VM as worker node and got the error. Then added a third node as worker and it went well."}}
{"actor":{"display_login":"jonaskello"}}