[Bug 290203] cloudinit doesn't set the root password

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Oct 2025 13:20:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290203

            Bug ID: 290203
           Summary: cloudinit doesn't set the root password
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: rainer@ultra-secure.de

Hi,

I created an image from FreeBSD-14.3-RELEASE-amd64-BASIC-CLOUDINIT-ufs.qcow2
like this:

openstack image create --disk-format qcow2 --container-format=bare  --min-disk
8  --min-ram 2048   --property hw_disk_bus=scsi --property
hw_scsi_model=virtio-scsi --property hw_qemu_guest_agent=yes --property
os_distro=freebsd --property os_admin_user=root  --property
os_version="1403000" --file
FreeBSD-14.3-RELEASE-amd64-BASIC-CLOUDINIT-ufs.qcow2 "FreeBSD 14.3-RELEASE UFS"

Then, I created a volume:

srv=freebsdserver
openstack volume create --image "FreeBSD 14.3-RELEASE ZFS" --type v-ssd-medium
--size 50 --availability-zone ch-zh1-az3 --description "${srv} root" --bootable
${srv}-root

and the actual server:
  openstack server create --nic port-id=${front} --nic port-id=${back}
--availability-zone ch-zh1-az3 --key-name unix-keys \
    --property "sysadmin=admin" --property 'os=FreeBSD 14.3-RELEASE ZFS Root'
--config-drive true --flavor e1.large --volume ${srv}-root ${srv}

On first boot, this  image seemed unable to boot (very early right after the
loader, I think).

On reboot, it booted.

But the root-password was not set

However, the volume was still only 6GB, so it wasn't useful at all.

I had to re-set the volume-size in openstack and then gpart resize it.
Then, the pool was expanded.


Where do I file bug reports for this component?

-- 
You are receiving this mail because:
You are the assignee for the bug.