{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-bootstrap-provider-kubeadm/issues/41","repository_url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-bootstrap-provider-kubeadm","labels_url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-bootstrap-provider-kubeadm/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-bootstrap-provider-kubeadm/issues/41/comments","events_url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-bootstrap-provider-kubeadm/issues/41/events","html_url":"https://github.com/kubernetes-sigs/cluster-api-bootstrap-provider-kubeadm/issues/41","id":469464446,"node_id":"MDU6SXNzdWU0Njk0NjQ0NDY=","number":41,"title":"Cloud-init 18.4 is needed on CentOS 7 for templating used by CAPA and CAPV","user":{"login":"akutz","id":101085,"node_id":"MDQ6VXNlcjEwMTA4NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/101085?v=4","gravatar_id":"","url":"https://api.github.com/users/akutz","html_url":"https://github.com/akutz","followers_url":"https://api.github.com/users/akutz/followers","following_url":"https://api.github.com/users/akutz/following{/other_user}","gists_url":"https://api.github.com/users/akutz/gists{/gist_id}","starred_url":"https://api.github.com/users/akutz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akutz/subscriptions","organizations_url":"https://api.github.com/users/akutz/orgs","repos_url":"https://api.github.com/users/akutz/repos","events_url":"https://api.github.com/users/akutz/events{/privacy}","received_events_url":"https://api.github.com/users/akutz/received_events","type":"User","site_admin":false},"labels":[{"id":1421119331,"node_id":"MDU6TGFiZWwxNDIxMTE5MzMx","url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-bootstrap-provider-kubeadm/labels/kind/feature","name":"kind/feature","color":"c7def8","default":false},{"id":1421177472,"node_id":"MDU6TGFiZWwxNDIxMTc3NDcy","url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-bootstrap-provider-kubeadm/labels/priority/important-soon","name":"priority/important-soon","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-bootstrap-provider-kubeadm/milestones/2","html_url":"https://github.com/kubernetes-sigs/cluster-api-bootstrap-provider-kubeadm/milestone/2","labels_url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-bootstrap-provider-kubeadm/milestones/2/labels","id":4484162,"node_id":"MDk6TWlsZXN0b25lNDQ4NDE2Mg==","number":2,"title":"Next","description":"Outside of the current milestone","creator":{"login":"chuckha","id":98927,"node_id":"MDQ6VXNlcjk4OTI3","avatar_url":"https://avatars0.githubusercontent.com/u/98927?v=4","gravatar_id":"","url":"https://api.github.com/users/chuckha","html_url":"https://github.com/chuckha","followers_url":"https://api.github.com/users/chuckha/followers","following_url":"https://api.github.com/users/chuckha/following{/other_user}","gists_url":"https://api.github.com/users/chuckha/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckha/subscriptions","organizations_url":"https://api.github.com/users/chuckha/orgs","repos_url":"https://api.github.com/users/chuckha/repos","events_url":"https://api.github.com/users/chuckha/events{/privacy}","received_events_url":"https://api.github.com/users/chuckha/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":9,"state":"open","created_at":"2019-07-11T13:20:49Z","updated_at":"2019-10-10T18:47:19Z","due_on":null,"closed_at":null},"comments":21,"created_at":"2019-07-17T21:52:33Z","updated_at":"2019-10-10T18:51:33Z","closed_at":null,"author_association":"NONE","body":"/kind feature\r\n\r\n**Describe the solution you'd like**\r\n@detiber informed me that in v1alpha2 the fork (`18.3-52-gc5f78957-1~bddeb~18.04.1`) of cloud-init will no longer be used by the bootstrap controller. Instead the decision was made to use the `runcmd`. I would be thrilled as I originally questioned the value of the `kubeadm` module over the `runcmd`, except I've come to appreciate Jason's fork since it is **required** on CentOS 7. Cloud-init on CentOS 7 is slow to update to newer versions, and the most [recent version](http://mirror.centos.org/centos/7.6.1810//os/x86_64/Packages/) on CentOS 7.6.1810 is cloud-init 18.2.\r\n\r\nSince cloud-init 18.4+ [is required](https://cloudinit.readthedocs.io/en/latest/topics/instancedata.html#using-instance-data) for JINJA templating, used by both CAPA and CAPV and presumably the new bootstrap controller, CentOS 7 will be incompatible with v1alpha2.\r\n\r\nAnd before someone says \"But Jason's fork is based on cloud-init 18.3, and it works with templating,\" yes, yes it does. But that's the result of a terribly happy accident. Jason just so happened to have forked cloud-init off of `master` between 18.3 and 18.4 **after** templating was merged into the `master` branch.\r\n\r\nThe sites [rpm2find](https://rpmfind.net/linux/rpm2html/search.php?query=cloud-init) and [pkgs.org](https://pkgs.org/download/cloud-init) have lists of the RPMs for cloud-init, and it's unclear if any of the newer packages are compatible with CentOS 7.\r\n\r\nFor machine images based on CentOS 7 to work with v1alpha2, someone needs to either fork cloud-init 18.4+ (ideally 19.1, the latest release) for CentOS 7, or document how to install cloud-init 18.4+ on CentOS 7.\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-bootstrap-provider-kubeadm/issues/comments/540724424","html_url":"https://github.com/kubernetes-sigs/cluster-api-bootstrap-provider-kubeadm/issues/41#issuecomment-540724424","issue_url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-bootstrap-provider-kubeadm/issues/41","id":540724424,"node_id":"MDEyOklzc3VlQ29tbWVudDU0MDcyNDQyNA==","user":{"login":"detiber","id":915544,"node_id":"MDQ6VXNlcjkxNTU0NA==","avatar_url":"https://avatars3.githubusercontent.com/u/915544?v=4","gravatar_id":"","url":"https://api.github.com/users/detiber","html_url":"https://github.com/detiber","followers_url":"https://api.github.com/users/detiber/followers","following_url":"https://api.github.com/users/detiber/following{/other_user}","gists_url":"https://api.github.com/users/detiber/gists{/gist_id}","starred_url":"https://api.github.com/users/detiber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/detiber/subscriptions","organizations_url":"https://api.github.com/users/detiber/orgs","repos_url":"https://api.github.com/users/detiber/repos","events_url":"https://api.github.com/users/detiber/events{/privacy}","received_events_url":"https://api.github.com/users/detiber/received_events","type":"User","site_admin":false},"created_at":"2019-10-10T18:51:33Z","updated_at":"2019-10-10T18:51:33Z","author_association":"MEMBER","body":"Closing since this is now resolved with the latest images built in the image-builder\r\n/close"}}
{"actor":{"display_login":"detiber"}}