{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35103","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35103/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35103/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35103/events","html_url":"https://github.com/kubernetes/kubernetes/issues/35103","id":183921628,"number":35103,"title":"AWS: cluster/kube-up.sh stays in loop forever in version 1.4.3","user":{"login":"hrdcdr","id":4437838,"avatar_url":"https://avatars.githubusercontent.com/u/4437838?v=3","gravatar_id":"","url":"https://api.github.com/users/hrdcdr","html_url":"https://github.com/hrdcdr","followers_url":"https://api.github.com/users/hrdcdr/followers","following_url":"https://api.github.com/users/hrdcdr/following{/other_user}","gists_url":"https://api.github.com/users/hrdcdr/gists{/gist_id}","starred_url":"https://api.github.com/users/hrdcdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hrdcdr/subscriptions","organizations_url":"https://api.github.com/users/hrdcdr/orgs","repos_url":"https://api.github.com/users/hrdcdr/repos","events_url":"https://api.github.com/users/hrdcdr/events{/privacy}","received_events_url":"https://api.github.com/users/hrdcdr/received_events","type":"User","site_admin":false},"labels":[{"id":149099263,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/platform/aws","name":"area/platform/aws","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"justinsb","id":100893,"avatar_url":"https://avatars.githubusercontent.com/u/100893?v=3","gravatar_id":"","url":"https://api.github.com/users/justinsb","html_url":"https://github.com/justinsb","followers_url":"https://api.github.com/users/justinsb/followers","following_url":"https://api.github.com/users/justinsb/following{/other_user}","gists_url":"https://api.github.com/users/justinsb/gists{/gist_id}","starred_url":"https://api.github.com/users/justinsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinsb/subscriptions","organizations_url":"https://api.github.com/users/justinsb/orgs","repos_url":"https://api.github.com/users/justinsb/repos","events_url":"https://api.github.com/users/justinsb/events{/privacy}","received_events_url":"https://api.github.com/users/justinsb/received_events","type":"User","site_admin":false},"assignees":[{"login":"justinsb","id":100893,"avatar_url":"https://avatars.githubusercontent.com/u/100893?v=3","gravatar_id":"","url":"https://api.github.com/users/justinsb","html_url":"https://github.com/justinsb","followers_url":"https://api.github.com/users/justinsb/followers","following_url":"https://api.github.com/users/justinsb/following{/other_user}","gists_url":"https://api.github.com/users/justinsb/gists{/gist_id}","starred_url":"https://api.github.com/users/justinsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinsb/subscriptions","organizations_url":"https://api.github.com/users/justinsb/orgs","repos_url":"https://api.github.com/users/justinsb/repos","events_url":"https://api.github.com/users/justinsb/events{/privacy}","received_events_url":"https://api.github.com/users/justinsb/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-10-19T10:17:41Z","updated_at":"2016-11-15T16:50:11Z","closed_at":null,"body":"When I run cluster/kube-up.sh it loops on Waiting for cluster initialization. I was tried to spin up a cluster in us-west-1, us-west-2, eu-west-1 several times and no result.\nThere is output from a startup script:\n\n```\n$ export KUBE_AWS_ZONE=eu-west-1a\n$ export NUM_NODES=3\n$ export KUBE_AWS_INSTANCE_PREFIX=test\n$ export MASTER_SIZE=m3.medium\n$ export NODE_SIZE=t2.medium\n$ export KUBERNETES_PROVIDER=aws\n$ ./cluster/kube-up.sh\n... Starting cluster in eu-west-1a using provider aws\n... calling verify-prereqs\n... calling kube-up\nStarting cluster using os distro: jessie\nUploading to Amazon S3\nCreating kubernetes-staging-17d502113db4ff6c4fb9c4b42955c586\nmake_bucket: s3://kubernetes-staging-17d502113db4ff6c4fb9c4b42955c586/\nConfirming bucket was created...\n+++ Staging server tars to S3 Storage: kubernetes-staging-17d502113db4ff6c4fb9c4b42955c586/devel\nupload: ../../tmp/kubernetes.Bj5OaA/s3/bootstrap-script to s3://kubernetes-staging-17d502113db4ff6c4fb9c4b42955c586/devel/bootstrap-script\nupload: ../../tmp/kubernetes.Bj5OaA/s3/kubernetes-salt.tar.gz to s3://kubernetes-staging-17d502113db4ff6c4fb9c4b42955c586/devel/kubernetes-salt.tar.gz\nupload: ../../tmp/kubernetes.Bj5OaA/s3/kubernetes-server-linux-amd64.tar.gz to s3://kubernetes-staging-17d502113db4ff6c4fb9c4b42955c586/devel/kubernetes-server-linux-amd64.tar.gz\n\nUploaded server tars:\n  SERVER_BINARY_TAR_URL: https://s3.amazonaws.com/kubernetes-staging-17d502113db4ff6c4fb9c4b42955c586/devel/kubernetes-server-linux-amd64.tar.gz\n  SALT_TAR_URL: https://s3.amazonaws.com/kubernetes-staging-17d502113db4ff6c4fb9c4b42955c586/devel/kubernetes-salt.tar.gz\n  BOOTSTRAP_SCRIPT_URL: https://s3.amazonaws.com/kubernetes-staging-17d502113db4ff6c4fb9c4b42955c586/devel/bootstrap-script\nINSTANCEPROFILE arn:aws:iam::333659885792:instance-profile/kubernetes-master    2016-07-28T10:52:30Z    AIPAJ2ESPVLTF7USVISQI   kubernetes-master   /\nROLES   arn:aws:iam::333659885792:role/kubernetes-master    2016-07-28T10:52:29Z    /   AROAJGF5WAAV5OFWYKBHW   kubernetes-master\nASSUMEROLEPOLICYDOCUMENT    2012-10-17\nSTATEMENT   sts:AssumeRole  Allow\nPRINCIPAL   ec2.amazonaws.com\nINSTANCEPROFILE arn:aws:iam::333659885792:instance-profile/kubernetes-minion    2016-08-04T08:41:10Z    AIPAJYJLZTINGNI4RFBLY   kubernetes-minion   /\nROLES   arn:aws:iam::333659885792:role/kubernetes-minion    2016-08-04T08:41:10Z    /   AROAIWUBQVYHYHTSSEH6C   kubernetes-minion\nASSUMEROLEPOLICYDOCUMENT    2012-10-17\nSTATEMENT   sts:AssumeRole  Allow\nPRINCIPAL   ec2.amazonaws.com\nGenerating public/private rsa key pair.\nYour identification has been saved in /root/.ssh/kube_aws_rsa.\nYour public key has been saved in /root/.ssh/kube_aws_rsa.pub.\nThe key fingerprint is:\n25:a6:8e:4f:79:2f:75:bf:55:6e:68:c6:7a:35:28:a9 root@ip-172-31-12-179\nThe key's randomart image is:\n+---[RSA 2048]----+\n|                 |\n|                 |\n|        o .      |\n|       o o       |\n|      . S   . . .|\n|     o .  .o.o +o|\n|    . + ......=.=|\n|     o ..E   +oo |\n|      .  .. .... |\n+-----------------+\nUsing SSH key with (AWS) fingerprint: 25:a6:8e:4f:79:2f:75:bf:55:6e:68:c6:7a:35:28:a9\nUsing VPC vpc-55137031\nAdding tag to dopt-c7f311a3: Name=kubernetes-dhcp-option-set\nAdding tag to dopt-c7f311a3: KubernetesCluster=test\nUsing DHCP option set dopt-c7f311a3\nUsing existing subnet with CIDR 172.20.0.0/24\nUsing subnet subnet-0a43046e\nCreating Internet Gateway.\nUsing Internet Gateway igw-9dc42bf9\nAssociating route table.\nCreating route table\nAdding tag to rtb-da9cb4be: KubernetesCluster=test\nAssociating route table rtb-da9cb4be to subnet subnet-0a43046e\nAdding route to route table rtb-da9cb4be\nUsing Route Table rtb-da9cb4be\nCreating master security group.\nCreating security group kubernetes-master-test.\nAdding tag to sg-80b072e6: KubernetesCluster=test\nCreating minion security group.\nCreating security group kubernetes-minion-test.\nAdding tag to sg-8cb072ea: KubernetesCluster=test\nUsing master security group: kubernetes-master-test sg-80b072e6\nUsing minion security group: kubernetes-minion-test sg-8cb072ea\nCreating master disk: size 20GB, type gp2\nAdding tag to vol-1f19bb9d: Name=test-master-pd\nAdding tag to vol-1f19bb9d: KubernetesCluster=test\nAllocated Elastic IP for master: 52.49.10.199\nAdding tag to vol-1f19bb9d: kubernetes.io/master-ip=52.49.10.199\nGenerating certs for alternate-names: IP:52.49.10.199,IP:172.20.0.9,IP:10.0.0.1,DNS:kubernetes,DNS:kubernetes.default,DNS:kubernetes.default.svc,DNS:kubernetes.default.svc.cluster.local,DNS:test-master\nStarting Master\nAdding tag to i-ac1ca727: Name=test-master\nAdding tag to i-ac1ca727: Role=test-master\nAdding tag to i-ac1ca727: KubernetesCluster=test\nWaiting for master to be ready\nAttempt 1 to check for master nodeWaiting for instance i-ac1ca727 to be running (currently pending)\nSleeping for 3 seconds...\nWaiting for instance i-ac1ca727 to be running (currently pending)\nSleeping for 3 seconds...\nWaiting for instance i-ac1ca727 to be running (currently pending)\nSleeping for 3 seconds...\n [master running]\nAttaching IP 52.49.10.199 to instance i-ac1ca727\nAttaching persistent data volume (vol-1f19bb9d) to master\n2016-10-19T09:41:18.422Z    /dev/sdb    i-ac1ca727  attaching   vol-1f19bb9d\ncluster \"aws_test\" set.\nuser \"aws_test\" set.\ncontext \"aws_test\" set.\nswitched to context \"aws_test\".\nuser \"aws_test-basic-auth\" set.\nWrote config for aws_test to /root/.kube/config\nCreating minion configuration\nCreating autoscaling group\n 0 minions started; waiting\n 0 minions started; waiting\n 0 minions started; waiting\n 0 minions started; waiting\n 3 minions started; ready\nWaiting for cluster initialization.\n\n  This will continually check to see if the API for kubernetes is reachable.\n  This might loop forever if there was some uncaught error during start\n  up.\n\n..............................................................................................................................................................................................^C\n```\n\n```\n$ ./cluster/kubectl.sh version\nClient Version: version.Info{Major:\"1\", Minor:\"4\", GitVersion:\"v1.4.3\", GitCommit:\"4957b090e9a4f6a68b4a40375408fdc74a212260\", GitTreeState:\"clean\", BuildDate:\"2016-10-16T06:36:33Z\", GoVersion:\"go1.6.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\n```\n\nFrom master node:\n\n```\n$ ps -ef | grep kube\nroot       620   618  0 10:00 pts/0    00:00:00 grep kube\n```\n\n```\n$ cat /var/log/kube-apiserver.log\ncat: /var/log/kube-apiserver.log: No such file or directory\n```\n\n```\n$ cat /var/log/cloud-init.log | grep -i error\n$ \n```\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/260697210","html_url":"https://github.com/kubernetes/kubernetes/issues/35103#issuecomment-260697210","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35103","id":260697210,"user":{"login":"justinsb","id":100893,"avatar_url":"https://avatars.githubusercontent.com/u/100893?v=3","gravatar_id":"","url":"https://api.github.com/users/justinsb","html_url":"https://github.com/justinsb","followers_url":"https://api.github.com/users/justinsb/followers","following_url":"https://api.github.com/users/justinsb/following{/other_user}","gists_url":"https://api.github.com/users/justinsb/gists{/gist_id}","starred_url":"https://api.github.com/users/justinsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinsb/subscriptions","organizations_url":"https://api.github.com/users/justinsb/orgs","repos_url":"https://api.github.com/users/justinsb/repos","events_url":"https://api.github.com/users/justinsb/events{/privacy}","received_events_url":"https://api.github.com/users/justinsb/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T16:50:11Z","updated_at":"2016-11-15T16:50:11Z","body":"Can I recommend using kops instead?  kube-up is in maintenance mode."}}
{"actor":{"display_login":"justinsb"}}