Issue with Bridge Configuration – cloud-init not completing customization

Hello everyone,

I’m facing an issue when deploying a machine using MAAS with a bridge configured.

When I select the option to create a bridge (as shown in the attached screenshot), the machine is successfully deployed — networking is configured correctly and I can ping the host. However, SSH access does not work, and cloud-init does not finish the customization process.

I’ve tested directly from the console and verified that the network is up and functional. Still, something along the way seems to prevent cloud-init init from running or completing its tasks.

After a long time, the machine ends up with a “Deployment failed” status in MAAS.

This is how I configured the bridge:

MaaS Version: 3.5.6
OS Version: Ubuntu 22.04 from maas

Any advice or suggestions on what might be missing?

cloud-init had some issues in the latest releases so it might be due to that. Please try the daily ppa Bug #2106671 “Deployments using a bonded interface on the “MAAS”...” : Bugs : MAAS

It works!!! :smile: (at least for now :stuck_out_tongue_winking_eye:)

I enabled the daily PPA for cloud-init, just like you said on Launchpad. Thanks!

late_commands:
  maas: [wget, '--no-proxy', {{node_disable_pxe_url|escape.json}}, '--post-data', {{node_disable_pxe_data|escape.json}}, '-O', '/dev/null']
  cloud_init_00: ["curtin", "in-target", "--", "add-apt-repository", "-y", "ppa:cloud-init-dev/daily"]
  cloud_init_01: ["curtin", "in-target", "--", "apt-get", "install", "-y", "cloud-init"]

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.