cloud-init icon indicating copy to clipboard operation
cloud-init copied to clipboard

cloud-init breaks noble arm64 targets

Open fhost opened this issue 1 month ago • 2 comments

Bug report

It looks like the PR (https://github.com/canonical/cloud-init/pull/6826) was backported to noble, breaking arm64 targets.

Steps to reproduce the problem

Install a noble arm64 image with could-init enabled.

Environment details

  • noble
  • arm64
  • 26.1-0ubuntu1~24.04.1

cloud-init logs

Nothing relevant in logs, it just overrides ubuntu.sources with wrong addresses.

fhost avatar Oct 22 '26 15:10 fhost

I checked the noble fix in an arm64 container: with 26.2-0ubuntu1~24.04.2 from noble-updates, apt_configure writes http://ports.ubuntu.com/ubuntu-ports into ubuntu.sources on first boot, and apt-get update works.

For jammy, ubuntu/jammy is now on the 2e29ad07 snapshot, which includes #6826, but it doesn't carry retain-arm64-apt-mirrors-revert-archive-ubuntu-com.patch yet, and archive.ubuntu.com has no jammy arm64 either (dists/jammy/main/binary-arm64/Release is a 404). jammy-updates (26.1-0ubuntu1~22.04.1) predates #6826, so only the next jammy upload would hit it. ubuntu/noble doesn't have the patch yet either, only ubuntu/noble-26.x does.

Happy to open a PR adding the patch to ubuntu/jammy if that helps.

aozmekik avatar Nov 02 '26 08:11 aozmekik

so only the next jammy upload would hit it. ubuntu/noble doesn't have the patch yet either, only ubuntu/noble-26.x does.

Happy to open a PR adding the patch to ubuntu/jammy if that helps.

Thank you much @aozmekik for the analysis and you are correct that ubunty/jammy doesn't carry the arm64 patch and would get hit if we target 26.2 release to the jammy branch. I don't think at the moment we are planning to release 26.2 to jammy as it is greater than two LTS versions ago. We are looking to limit the maintenance footprint of Ubuntu SRUs to the two most recent LTS versions.

Given that this fix is released to noble, and that we are not intending on release of 26.2 to Jammy, we won't need that patch, yet. If something changes that warrants a 26.2 release to jammy, we'll pull in that change (or @nryanl's branch). Many thanks.

Closing this issue as fix-released for noble, and irrelevant for jammy currently.

blackboxsw avatar Nov 23 '26 17:11 blackboxsw