Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Cloud-init 18.4 is needed on CentOS 7 for templating used by CAPA and CAPV #41

@akutz

Description

@akutz

/kind feature

Describe the solution you'd like
@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 on CentOS 7.6.1810 is cloud-init 18.2.

Since cloud-init 18.4+ is required for JINJA templating, used by both CAPA and CAPV and presumably the new bootstrap controller, CentOS 7 will be incompatible with v1alpha2.

And 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.

The sites rpm2find and pkgs.org have lists of the RPMs for cloud-init, and it's unclear if any of the newer packages are compatible with CentOS 7.

For 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions