** Description changed:
+ [ Impact ]
+
+ Deployments of images using cloud-init 24.04.1 are stuck at "rebooting"
+ if you use a bonded interface on the network that is used for the MAAS
+ management.
+
+ This happened because the MAAS datasource isn't often ready when cloud-
+ init starts sending requests to it. Cloud-init had a built-in retry
+ mechansim, but this retry mechanism was broken for the MAAS datasource
+ in a recent release.
+
+ The fix is to allow cloud-init the ability to retry again.
+
+ [ Test Plan ]
+
+ Deploy the proposed image with a bonded interface.
+ Verify the machine boots successfully and can be SSH'ed into.
+
+ [ Where problems could occur ]
+
+ The affected code uses Python's dynamic nature to attach MAAS-specific
+ behavior to a commonly used interface in cloud-init. While this
+ particular change has been unit tested, it's possible that this dynamic
+ nature breaks some other piece of MAAS-specific code in ways we haven't
+ predicted.
+
+ [ Other Info ]
+ Upstream PR fixing this behavior:
https://github.com/canonical/cloud-init/pull/6167
+ SRU bug that contains this fix for non-Focal series:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2104165
+
+ [Original description ]
+
Describe the bug:
Deployments of images using cloud-init 24.04.1 are stuck at "rebooting"
if you use a bonded interface on the network that is used for the MAAS
management.
Steps to reproduce:
Deploy noble 20250401 with a bonded interface
-
Expected behavior (what should have happened?):
Should work fine
-
- Actual behavior (what actually happened?):
+ Actual behavior (what actually happened?):
Machine is stuck at rebooting because cloud-init/netplan are not waiting
for the network interfaces to be configured and cloud-init crashes when
it tries to reach out to MAAS
-
- MAAS version and installation type (deb, snap):
+ MAAS version and installation type (deb, snap):
Any
-
MAAS setup (HA, single node, multiple regions/racks):
Any
-
Host OS distro and version:
-
Additional context:
** Also affects: cloud-init (Ubuntu Focal)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2106671
Title:
Deployments using a bonded interface on the "MAAS" management network
are broken
To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/2106671/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs