Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud Init not reading drop-ins sections since Flatcar 3975.2.0. #1567

Open
snikhil1998 opened this issue Oct 17, 2024 · 3 comments
Open

Cloud Init not reading drop-ins sections since Flatcar 3975.2.0. #1567

snikhil1998 opened this issue Oct 17, 2024 · 3 comments
Labels
kind/bug Something isn't working resolution-suggested

Comments

@snikhil1998
Copy link

Description

CoreOS Cloud Init is not reading the drop-ins sections in cloud-config.yml since Flatcar 3975.2.0.

Impact

Some fixes implemented by us are not being read from cloud-config.yml.

Environment and steps to reproduce

  1. Set-up: VMware ESXi
  2. Task: Freshly deploying the OVA, modifications for drop-ins sections in cloud-config.yml

Expected behavior

The drop-ins sections should be read and the drop-in files should be created/modified accordingly.

@snikhil1998 snikhil1998 added the kind/bug Something isn't working label Oct 17, 2024
@jepio
Copy link
Member

jepio commented Oct 18, 2024

This is called out in the release notes for 3975.2.0:
"Removed coreos-cloudinit support for automatic keys conversion (e.g reboot-strategy -> reboot_strategy) (scripts#1687)"

We needed to remove this to upgrade the yaml library used in cloudinit, the previously used one was unmaintained and had vulnerabilities.

Changing it to drop_ins should work.

@snikhil1998
Copy link
Author

snikhil1998 commented Oct 21, 2024

Does changing drop-ins to drop_ins work on Flatcar Linux 3815.2.x and older?

@jepio
Copy link
Member

jepio commented Oct 21, 2024

Yes, the canonical name of that section was always drop_ins but the old yaml parser performed automatic conversion for drop-ins. This isn't supported in newer parser versions. It's also unfortunate that the examples in docs used drop-ins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working resolution-suggested
Projects
Status: 📝 Needs Triage
Development

No branches or pull requests

3 participants