{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubeadm/issues/75","repository_url":"https://api.github.com/repos/kubernetes/kubeadm","labels_url":"https://api.github.com/repos/kubernetes/kubeadm/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubeadm/issues/75/comments","events_url":"https://api.github.com/repos/kubernetes/kubeadm/issues/75/events","html_url":"https://github.com/kubernetes/kubeadm/issues/75","id":192418378,"number":75,"title":"`kubeadm` does not pass the `--cloud-config` argument to `kube-controller-manager`","user":{"login":"nnashok","id":10915339,"avatar_url":"https://avatars.githubusercontent.com/u/10915339?v=3","gravatar_id":"","url":"https://api.github.com/users/nnashok","html_url":"https://github.com/nnashok","followers_url":"https://api.github.com/users/nnashok/followers","following_url":"https://api.github.com/users/nnashok/following{/other_user}","gists_url":"https://api.github.com/users/nnashok/gists{/gist_id}","starred_url":"https://api.github.com/users/nnashok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnashok/subscriptions","organizations_url":"https://api.github.com/users/nnashok/orgs","repos_url":"https://api.github.com/users/nnashok/repos","events_url":"https://api.github.com/users/nnashok/events{/privacy}","received_events_url":"https://api.github.com/users/nnashok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-29T22:18:54Z","updated_at":"2016-12-20T16:03:27Z","closed_at":null,"body":"When creating a cluster with `kubeadm` using a cloud provider, `kubeadm` does not pass the `--cloud-config` argument to `kube-controller-manager` causing `kube-controller-manager` to fail during\r\nContainerCreating state with the following shown by `kubectl logs <kube-controller-manager-pod>`:\r\n```text\r\nI1123 23:33:07.046711       1 leaderelection.go:214] sucessfully acquired lease kube-system/kube-controller-managerF1123 23:33:07.052699       1 controllermanager.go:227] Cloud provider could not be initialized: could not init cloud provider \"openstack\": no OpenStack cloud provider config file given\r\n```\r\n\r\nWorkaround: Once the `kubeadm` has created the `/etc/kubernetes/manifests/kube-controller-manager.json` manifest on the master node, modify it with:\r\n```diff\r\n--- /etc/kubernetes/manifests/kube-controller-manager.json      2016-11-23 18:33:00.576451689 -0500\r\n+++ /etc/kubernetes/manifests/kube-controller-manager.json        2016-11-23 18:22:41.482875253 -0500\r\n@@ -41,7 +41,8 @@\r\n           \"--cluster-signing-cert-file=/etc/kubernetes/pki/ca.pem\",\r\n           \"--cluster-signing-key-file=/etc/kubernetes/pki/ca-key.pem\",\r\n           \"--insecure-experimental-approve-all-kubelet-csrs-for-group=system:kubelet-bootstrap\",\r\n-          \"--cloud-provider=openstack\"\r\n+          \"--cloud-provider=openstack\",\r\n+          \"--cloud-config=/etc/kubernetes/cloud-config.conf\"\r\n         ],\r\n         \"resources\": {\r\n           \"requests\": {\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubeadm/issues/comments/268281790","html_url":"https://github.com/kubernetes/kubeadm/issues/75#issuecomment-268281790","issue_url":"https://api.github.com/repos/kubernetes/kubeadm/issues/75","id":268281790,"user":{"login":"kad","id":41858,"avatar_url":"https://avatars.githubusercontent.com/u/41858?v=3","gravatar_id":"","url":"https://api.github.com/users/kad","html_url":"https://github.com/kad","followers_url":"https://api.github.com/users/kad/followers","following_url":"https://api.github.com/users/kad/following{/other_user}","gists_url":"https://api.github.com/users/kad/gists{/gist_id}","starred_url":"https://api.github.com/users/kad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kad/subscriptions","organizations_url":"https://api.github.com/users/kad/orgs","repos_url":"https://api.github.com/users/kad/repos","events_url":"https://api.github.com/users/kad/events{/privacy}","received_events_url":"https://api.github.com/users/kad/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T16:03:27Z","updated_at":"2016-12-20T16:03:27Z","body":"Do you have that file present on filesystem ?\r\nwhich options were used during \"kubeadm init\" ?"}}
{"actor":{"display_login":"kad"}}