Public bug reported:

DISTRIB_DESCRIPTION="Ubuntu 22.04.5 LTS"

apt-cache policy cloud-init
cloud-init:
  Installed: 25.1.2-0ubuntu0~22.04.1
  Candidate: 25.1.2-0ubuntu0~22.04.1
  Version table:
 *** 25.1.2-0ubuntu0~22.04.1 100
        100 /var/lib/dpkg/status

At some point after June 4th 2025 our Octavia OpenStack test jobs
started to fail.

On closer inspection we found that the VMs were not getting IP addresses
configured.

I was able to reproduce this on a local devstack system.

On the failing VM I connected to the console locally. The cloud-init
configuration appears correct and the config drive mounted with the
correct information.

What is odd however is there are no cloud-init logs in /var/log.

It appears as if it didn't run on boot.

I compared our images from the last known successful test run and the
current image and the only package I see different is:

< cloud-init all 24.4.1-0ubuntu0~22.04.2 [566 kB]
---
> cloud-init all 25.1.2-0ubuntu0~22.04.1 [568 kB]

I then made a copy of the image and replaced 25.1.2 with the 24.4.1
version and this image booted as expected.

This issue is 100% repeatable with 25.1.2.

If you would like to create an image we have tools available to create one that 
reproduces the problem:
1. git clone https://opendev.org/openstack/octavia
2. cd octavia/diskimage-create
3. run "./diskimage-create.sh -r <root password> -d jammy"
4. It will create a qcow2 image that boots under OpenStack with config drive

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "The /var/log directory"
   
https://bugs.launchpad.net/bugs/2113797/+attachment/5883080/+files/vm-logs.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2113797

Title:
  cloud-init 25.1.2 on Jammy not running on VM boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2113797/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to