{"action":"created","issue":{"url":"https://api.github.com/repos/kubespray/kargo-cli/issues/76","repository_url":"https://api.github.com/repos/kubespray/kargo-cli","labels_url":"https://api.github.com/repos/kubespray/kargo-cli/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/kubespray/kargo-cli/issues/76/comments","events_url":"https://api.github.com/repos/kubespray/kargo-cli/issues/76/events","html_url":"https://github.com/kubespray/kargo-cli/issues/76","id":194564633,"number":76,"title":"Add nodes to AWS cluster","user":{"login":"srjturner","id":5788784,"avatar_url":"https://avatars.githubusercontent.com/u/5788784?v=3","gravatar_id":"","url":"https://api.github.com/users/srjturner","html_url":"https://github.com/srjturner","followers_url":"https://api.github.com/users/srjturner/followers","following_url":"https://api.github.com/users/srjturner/following{/other_user}","gists_url":"https://api.github.com/users/srjturner/gists{/gist_id}","starred_url":"https://api.github.com/users/srjturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srjturner/subscriptions","organizations_url":"https://api.github.com/users/srjturner/orgs","repos_url":"https://api.github.com/users/srjturner/repos","events_url":"https://api.github.com/users/srjturner/events{/privacy}","received_events_url":"https://api.github.com/users/srjturner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-09T10:40:38Z","updated_at":"2016-12-09T15:51:03Z","closed_at":null,"body":"I followed the instructions to add a node to my AWS-based cluster. First I did a `kargo aws --add --nodes 1` which succeeded - the instance was created, and I can see it added to the inventory.cfg, but only under [all], not under [kube-node], which seems odd. Then I did a `kargo deploy...` but the instance did not get Kubernetes components added to the cluster (e.g. the \"Install kubelet launch script\" task returned \"ok\" rather than \"changed\" for the new worker instance) and after the deployment `kubectl get nodes` only returns the original set of instances.\r\n\r\nI then tried (just for fun) manually editing inventory.cfg and adding the new host under  [kube-node].   This time the new instance gets Kubernetes installed etc, but it fails at the task \"Link etcd certificates for calico-node\" for the masters and existing workers with the message \"Cannot link, file exists at destination\" for \"/etc/ssl/etcd/ssl/ca.pem\". \r\n\r\nAfter that, Kubernetes is aware of the node, but unsurprisingly the networking is broken - when I deploy something I get messages like: _Failed to setup network for pod \"foo\" using network plugins \"cni\": failed to find plugin \"loopback\" in path [/opt/loopback/bin /opt/cni/bin]; Skipping pod_\r\n"},"comment":{"url":"https://api.github.com/repos/kubespray/kargo-cli/issues/comments/266046841","html_url":"https://github.com/kubespray/kargo-cli/issues/76#issuecomment-266046841","issue_url":"https://api.github.com/repos/kubespray/kargo-cli/issues/76","id":266046841,"user":{"login":"srjturner","id":5788784,"avatar_url":"https://avatars.githubusercontent.com/u/5788784?v=3","gravatar_id":"","url":"https://api.github.com/users/srjturner","html_url":"https://github.com/srjturner","followers_url":"https://api.github.com/users/srjturner/followers","following_url":"https://api.github.com/users/srjturner/following{/other_user}","gists_url":"https://api.github.com/users/srjturner/gists{/gist_id}","starred_url":"https://api.github.com/users/srjturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srjturner/subscriptions","organizations_url":"https://api.github.com/users/srjturner/orgs","repos_url":"https://api.github.com/users/srjturner/repos","events_url":"https://api.github.com/users/srjturner/events{/privacy}","received_events_url":"https://api.github.com/users/srjturner/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T15:51:03Z","updated_at":"2016-12-09T15:51:03Z","body":"Update: I just recreated my cluster, but using Flannel and not Calico as the overlay and although I still had to manually add the new worker to [kube-node] in inventory.cfg, the deploy succeeded and I have a healthy cluster."}}
{"actor":{"display_login":"srjturner"}}