{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rke/issues/121","repository_url":"https://api.github.com/repos/rancher/rke","labels_url":"https://api.github.com/repos/rancher/rke/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rke/issues/121/comments","events_url":"https://api.github.com/repos/rancher/rke/issues/121/events","html_url":"https://github.com/rancher/rke/issues/121","id":280342573,"number":121,"title":"Failed to Save Kubernetes certificates: Timeout waiting for K8s to be ready","user":{"login":"HighwayofLife","id":146643,"avatar_url":"https://avatars2.githubusercontent.com/u/146643?v=4","gravatar_id":"","url":"https://api.github.com/users/HighwayofLife","html_url":"https://github.com/HighwayofLife","followers_url":"https://api.github.com/users/HighwayofLife/followers","following_url":"https://api.github.com/users/HighwayofLife/following{/other_user}","gists_url":"https://api.github.com/users/HighwayofLife/gists{/gist_id}","starred_url":"https://api.github.com/users/HighwayofLife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HighwayofLife/subscriptions","organizations_url":"https://api.github.com/users/HighwayofLife/orgs","repos_url":"https://api.github.com/users/HighwayofLife/repos","events_url":"https://api.github.com/users/HighwayofLife/events{/privacy}","received_events_url":"https://api.github.com/users/HighwayofLife/received_events","type":"User","site_admin":false},"labels":[{"id":731116545,"url":"https://api.github.com/repos/rancher/rke/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2017-12-08T01:50:06Z","updated_at":"2017-12-15T12:56:48Z","closed_at":null,"author_association":"NONE","body":"**RKE version:**\r\nrke version v0.0.8-dev\r\n\r\n**Docker version: (`docker version`,`docker info` preferred)**\r\nDocker version 17.03.2-ce, build f5ec1e2\r\n\r\n**Operating system and kernel: (`cat /etc/os-release`, `uname -r` preferred)**\r\nNAME=\"Ubuntu\"\r\nVERSION=\"16.04.3 LTS (Xenial Xerus)\"\r\nID=ubuntu\r\nID_LIKE=debian\r\nPRETTY_NAME=\"Ubuntu 16.04.3 LTS\"\r\nVERSION_ID=\"16.04\"\r\nHOME_URL=\"http://www.ubuntu.com/\"\r\nSUPPORT_URL=\"http://help.ubuntu.com/\"\r\nBUG_REPORT_URL=\"http://bugs.launchpad.net/ubuntu/\"\r\nVERSION_CODENAME=xenial\r\nUBUNTU_CODENAME=xenial\r\n\r\n**Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)**\r\nAzure (UbuntuServer VM, no extensions)\r\n\r\n**cluster.yml file:**\r\n```yml\r\nnodes:\r\n- address: 10.18.160.13\r\n  role:\r\n  - controlplane\r\n  - etcd\r\n  hostname_override: kubemaster\r\n  user: <redacted>\r\n- address: 10.18.160.14\r\n  role:\r\n  - worker\r\n  hostname_override: kubenode1\r\n  user: <redacted>\r\n- address: 10.18.160.15\r\n  role:\r\n  - worker\r\n  hostname_override: kubenode2\r\n  user: <redacted>\r\nservices:\r\n  etcd:\r\n    image: quay.io/coreos/etcd:latest\r\n  kube-api:\r\n    image: rancher/k8s:v1.8.3-rancher2\r\n    service_cluster_ip_range: 10.234.0.0/18\r\n  kube-controller:\r\n    image: rancher/k8s:v1.8.3-rancher2\r\n    cluster_cidr: 10.233.64.0/18\r\n    service_cluster_ip_range: 10.234.0.0/18\r\n  scheduler:\r\n    image: rancher/k8s:v1.8.3-rancher2\r\n  kubelet:\r\n    image: rancher/k8s:v1.8.3-rancher2\r\n    cluster_domain: cluster.local\r\n    infra_container_image: gcr.io/google_containers/pause-amd64:3.0\r\n    cluster_dns_server: 10.234.0.3\r\n  kubeproxy:\r\n    image: rancher/k8s:v1.8.3-rancher2\r\nnetwork:\r\n  plugin: flannel\r\nauth:\r\n  strategy: x509\r\nssh_key_path: ~/.ssh/kubernetes\r\n```\r\n\r\n**Steps to Reproduce:**\r\n```./rke --debug up```\r\n\r\n**Results:**\r\n```\r\n...\r\nINFO[2597] [worker] Successfully started [kube-proxy] container on host [10.18.160.18] \r\nINFO[2597] [worker] Successfully started Worker Plane.. \r\nINFO[2597] [certificates] Save kubernetes certificates as secrets \r\nDEBU[2597] [certificates] Saving certificate [kube-scheduler] to kubernetes \r\nFATA[2627] [certificates] Failed to Save Kubernetes certificates: Failed to save certificate [kube-scheduler] to kubernetes: [certificates] Timeout waiting for kubernetes to be ready \r\n```\r\n\r\nTried several times on 2 different clusters configured the same way. It always fails at this point. Saving certificates to kubernetes."},"comment":{"url":"https://api.github.com/repos/rancher/rke/issues/comments/351999439","html_url":"https://github.com/rancher/rke/issues/121#issuecomment-351999439","issue_url":"https://api.github.com/repos/rancher/rke/issues/121","id":351999439,"user":{"login":"chanwit","id":10666,"avatar_url":"https://avatars2.githubusercontent.com/u/10666?v=4","gravatar_id":"","url":"https://api.github.com/users/chanwit","html_url":"https://github.com/chanwit","followers_url":"https://api.github.com/users/chanwit/followers","following_url":"https://api.github.com/users/chanwit/following{/other_user}","gists_url":"https://api.github.com/users/chanwit/gists{/gist_id}","starred_url":"https://api.github.com/users/chanwit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanwit/subscriptions","organizations_url":"https://api.github.com/users/chanwit/orgs","repos_url":"https://api.github.com/users/chanwit/repos","events_url":"https://api.github.com/users/chanwit/events{/privacy}","received_events_url":"https://api.github.com/users/chanwit/received_events","type":"User","site_admin":false},"created_at":"2017-12-15T12:56:47Z","updated_at":"2017-12-15T12:56:47Z","author_association":"NONE","body":"Even my 6443 port in the security group is opened, I still got this error and the cluster is failed to be provisioned.\r\n\r\nThe environment is AWS."}}
{"actor":{"display_login":"chanwit"}}