{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/6598","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/6598/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/6598/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/6598/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/6598","id":67233640,"number":6598,"title":"[AWS][CoreOS] Issues with minions initializations","user":{"login":"roman-shuhov","id":1341678,"avatar_url":"https://avatars.githubusercontent.com/u/1341678?v=3","gravatar_id":"","url":"https://api.github.com/users/roman-shuhov","html_url":"https://github.com/roman-shuhov","followers_url":"https://api.github.com/users/roman-shuhov/followers","following_url":"https://api.github.com/users/roman-shuhov/following{/other_user}","gists_url":"https://api.github.com/users/roman-shuhov/gists{/gist_id}","starred_url":"https://api.github.com/users/roman-shuhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roman-shuhov/subscriptions","organizations_url":"https://api.github.com/users/roman-shuhov/orgs","repos_url":"https://api.github.com/users/roman-shuhov/repos","events_url":"https://api.github.com/users/roman-shuhov/events{/privacy}","received_events_url":"https://api.github.com/users/roman-shuhov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-08T22:26:43Z","updated_at":"2015-04-08T22:34:53Z","closed_at":null,"body":"I have issues with minions initialization. I'm trying to run the following command:\r\n\r\n    aws ec2 run-instances --count 3 --image-id ami-323b195a --region us-east-1 --security-groups kubernetes --key-name venezia-k8s-keypair --instance-type m3.medium --user-data file://node.yml\r\n\r\nIt creates 3 instances but fails to apply node.yml config.\r\n\r\nThe content of config is https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/aws/cloud-configs/node.yaml (i changed <master-private-ip> to the master ip)\r\n\r\n1. So i have 2 issues with this config. The first one is that it tries to use \"eth1\" interface for flannel and it fails, because all machines have only eth0 interface defined. I changed it to \"eth0\" and looks like it solved the issue.\r\n\r\n2. Next issue is that etcd is marked as \"masked\"  in minion config:\r\n\r\n    - name: etcd.service\r\n          mask: true\r\n\r\nFor this reason flannel fails to start. The out of systemctl status flanneld is:\r\n\r\n````\r\n● flanneld.service - Network fabric for containers\r\n   Loaded: loaded (/usr/lib64/systemd/system/flanneld.service; static; vendor preset: disabled)\r\n  Drop-In: /etc/systemd/system/flanneld.service.d\r\n           └─50-network-config.conf\r\n   Active: activating (auto-restart) (Result: exit-code) since Wed 2015-04-08 22:24:07 UTC; 18ms ago\r\n     Docs: https://github.com/coreos/flannel\r\n  Process: 5594 ExecStartPre=/usr/bin/etcdctl set /coreos.com/network/config {\"Network\":\"10.244.0.0/16\", \"Backend\": {\"Type\": \"vxlan\"}} (code=exited, status=2)\r\n  Process: 5586 ExecStartPre=/bin/bash -c until curl http://10.41.143.48:4001/v2/machines; do sleep 2; done (code=exited, status=0/SUCCESS)\r\n  Process: 5585 ExecStartPre=/usr/bin/touch /run/flannel/options.env (code=exited, status=0/SUCCESS)\r\n  Process: 5584 ExecStartPre=/usr/bin/mkdir -p /run/flannel (code=exited, status=0/SUCCESS)\r\n  Process: 5582 ExecStartPre=/sbin/modprobe ip_tables (code=exited, status=0/SUCCESS)\r\n````\r\n\r\nI can fix this issue by changing etcd to :\r\n\r\n        - name: etcd.service\r\n          command: start\r\n\r\nand looks like flannel starts after that, but i'm pretty sure that's a wrong fix, and, moreover, i'm getting more network issues after that. You can see them at http://stackoverflow.com/questions/29401765/kubernetes-unable-connect-to-any-pod-from-master"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/91056098","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/6598#issuecomment-91056098","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/6598","id":91056098,"user":{"login":"vishh","id":7063592,"avatar_url":"https://avatars.githubusercontent.com/u/7063592?v=3","gravatar_id":"","url":"https://api.github.com/users/vishh","html_url":"https://github.com/vishh","followers_url":"https://api.github.com/users/vishh/followers","following_url":"https://api.github.com/users/vishh/following{/other_user}","gists_url":"https://api.github.com/users/vishh/gists{/gist_id}","starred_url":"https://api.github.com/users/vishh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishh/subscriptions","organizations_url":"https://api.github.com/users/vishh/orgs","repos_url":"https://api.github.com/users/vishh/repos","events_url":"https://api.github.com/users/vishh/events{/privacy}","received_events_url":"https://api.github.com/users/vishh/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T22:34:53Z","updated_at":"2015-04-08T22:34:53Z","body":"cc @jmreicha "}}