Skip to content

Conversation

@pothos
Copy link
Member

@pothos pothos commented Sep 3, 2025

When a Flatcar extension file is created on an old node that doesn't yet support them but the update will, and already downloads it, then we also need to create the folder because it's not existing yet.

Fixes flatcar/Flatcar#1788

How to use

Testing done

Tested with ./flatcar-update -V 9999.9.9 -P flatcar_test_update.gz -E flatcar_test_update-flatcar-python.gz -D -A when updating from LTS 3033.3.18 with /etc/flatcar/enabled-sysext.conf containing python

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

Copy link
Contributor

@tormath1 tormath1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Only the sign-off mention is missing!

When a Flatcar extension file is created on an old node that doesn't yet
support them but the update will, and already downloads it, then we also
need to create the folder because it's not existing yet.

Fixes flatcar/Flatcar#1788

Signed-off-by: Kai Lueke <kailuke@microsoft.com>
pothos added a commit to flatcar/scripts that referenced this pull request Sep 3, 2025
This pulls in flatcar/update_engine#50 to fix
a corner case when the extension file exists on old nodes that don't
yet support extensions but should pull them on their update.

Signed-off-by: Kai Lueke <kailuke@microsoft.com>
@pothos
Copy link
Member Author

pothos commented Sep 3, 2025

Tested and solves the issue

@pothos pothos merged commit aa31b3e into main Sep 3, 2025
5 checks passed
@pothos pothos deleted the kai/corner-case branch September 3, 2025 15:40
pothos added a commit to flatcar/scripts that referenced this pull request Sep 3, 2025
This pulls in flatcar/update_engine#50 to fix
a corner case when the extension file exists on old nodes that don't
yet support extensions but should pull them on their update.

Signed-off-by: Kai Lueke <kailuke@microsoft.com>
pothos added a commit to flatcar/scripts that referenced this pull request Sep 4, 2025
This pulls in flatcar/update_engine#50 to fix
a corner case when the extension file exists on old nodes that don't
yet support extensions but should pull them on their update.

Signed-off-by: Kai Lueke <kailuke@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

updating fails when sysext is enabled

3 participants