Thank you for filing a bug and making Ubuntu better.
I can confirm that your procedure to reproduce on Ubuntu jammy. This does in fact represent a bug in how the firewalld systemd unit is being setup. My first guess here is the DefaultDependencies being injected by firewalld's systemd service is what is causing the ordering cycle w/ cloud-init.
It will need a bit more time to triage. But I can at least confirm the bug report.
Thank you for filing a bug and making Ubuntu better.
I can confirm that your procedure to reproduce on Ubuntu jammy. This does in fact represent a bug in how the firewalld systemd unit is being setup. My first guess here is the DefaultDependencies being injected by firewalld's systemd service is what is causing the ordering cycle w/ cloud-init.
It will need a bit more time to triage. But I can at least confirm the bug report.