upgrade from Plucky to Questing cloud-init-base 25.3~2g890873f5-0ubuntu2 failed to install/upgrade on MAAS
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| The Ubuntu-power-systems project |
Fix Released
|
Undecided
|
Unassigned | ||
| cloud-init (Ubuntu) |
Fix Released
|
High
|
Chad Smith | ||
| Questing |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
[ Impact ]
* MAAS systems make use of a number of debconf settings which are read by cloud-init-
[ Test Plan ]
* Assert upgrade path to -proposed doesn't create unexpected /etc/cloud/
cat > setup_proposed.sh <<EOF
#!/usr/bin/bash
echo -e "Types: deb\nURIs: http://
apt-get update -q;
apt-get install -qy cloud-init;
EOF
lxc launch ubuntu-
lxc file push setup_proposed.sh test-2127022/
lxc exec test-2127022 bash
# Peek at existing debconf settings
debconf-show cloud-init > debconf.
debconf-show cloud-init-base >> debconf.
# Copy existing /etc/cloud/
cp -r /etc/cloud/
bash /setup_proposed.sh
# Upgrade and ensure exit 0 and no errors
echo $?
debconf-show cloud-init > debconf.
debconf-show cloud-init-base >> debconf.
# expect no new config files created by postinst
diff -urN cloud.cfg.d /etc/cloud/
* Assert multi-line debconf settings used by MAAS are properly processed and written to /etc/cloud/
# provide multi-line value matching MAAS provisioning config debconf settings
cat > selections <<EOF
cloud-init cloud-init/
EOF
lxc launch ubuntu-
lxc file push selections test-2127022/
lxc exec test-2127022 -- debconf-
# install from -proposed
lxc file push setup_proposed.sh test-21272022/
lxc exec test-2127022 bash
# Peek at existing debconf settings
debconf-show cloud-init > debconf.
debconf-show cloud-init-base >> debconf.
# Copy existing /etc/cloud/
cp -r /etc/cloud/
bash /setup_proposed.sh
# Upgrade and ensure exit 0 and no errors
echo $?
debconf-show cloud-init > debconf.
debconf-show cloud-init-base >> debconf.
# expect 1 new config file created by postinst 90_dpkg_
diff -urN cloud.cfg.d /etc/cloud/
[ Where problems could occur ]
* Problems processing cloud-init or cloud-init-base debconf settings can show up across package upgrade path due to cloud-init-
* Specific to MAAS debconf value processing, invalid handling of db_get results could result regressions by creating invalid cloud-config artifacts in /etc/cloud/
This type of regression has been seen in Resolute series https:/
[ Other Info ]
===== Original description =====
Trying to upgrade a Power10 node from Ubuntu 25.04 Plucky to 25.10 Questing (do-release-upgrade -d) :
```
Found initrd image: /boot/initrd.
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_
Adding boot menu entry for UEFI Firmware Settings ...
done
Processing triggers for ca-certificates (20250419) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-
done.
Processing triggers for initramfs-tools (0.150ubuntu3) ...
update-initramfs: Generating /boot/initrd.
Errors were encountered while processing:
cloud-init-base
cloud-init
needrestart is being skipped since dpkg has failed
packages have been installed but needrestart is suspended
Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1)
*** Send problem report to the developers?
After the problem report has been sent, please fill out the form in the
automatically opened web browser.
What would you like to do? Your options are:
S: Send report (345.0 KB)
V: View report
K: Keep report file for sending later or copying to somewhere else
I: Cancel and ignore future crashes of this program version
C: Cancel
Please choose (S/V/K/I/C):
```
It finishes the upgrade, but requires a manual reboot.
Then I can boot it into Questing.
| summary: |
upgrade from Plucky to Questing cloud-init-base 25.3~2g890873f5-0ubuntu2 - failed to install/upgrade + failed to install/upgrade on MAAS |
| Changed in cloud-init (Ubuntu): | |
| status: | Confirmed → In Progress |
| importance: | Undecided → Critical |
| assignee: | nobody → Chad Smith (chad.smith) |
| importance: | Critical → High |
| Changed in ubuntu-power-systems: | |
| status: | New → Fix Released |
| description: | updated |
| description: | updated |
| description: | updated |

adding this as there's a slightly similar issue with s390x https:/ /bugs.launchpad .net/bugs/ 2126934