** Description changed:
+ [ Impact ]
+
+ Cloud-init is currently broken on `do-release-upgrade` to plucky. In
+ plucky, cloud-init's packaging has been broken out into multiple binary
+ packages:
+ - cloud-init-base contains almost all of what used to be cloud-init
+ minus some dependencies that aren't needed everywhere
+ - Additional cloud-specific packages will be made that contain
+ cloud-init-base + the dependencies needed for that cloud
+ - cloud-init now depends on cloud-init-base + all extra cloud-specific
+ dependencies.
+
+ This allows the cloud-init package to be essentially identical to what
+ the cloud-init package contained before with the advantage of being
+ able to install only `cloud-init-base` on systems that don't need
+ everything required by `cloud-init`'s full dependencies.
+
+ When making this change, the following was initially added to
+ `cloud-init-base` package on plucky:
+
+ Breaks: cloud-init (<= 24.4~3+really24.3.1-0ubuntu4)
+ Replaces: cloud-init (<= 24.4~3+really24.3.1-0ubuntu4)
+
+ However, this doesn't work. Since cloud-init get's SRUed in full, the
+ version numbers will always need to increase. Furthermore, this means
+ `cloud-init-base` can potentially break and replace the version of
+ cloud-init on plucky being upgraded.
+
+ Instead, we can fix this problem by adding the following to currently
+ supported released series:
+ Provides: cloud-init-base
+
+ while adding the following to the current devel release:
+ Replaces: cloud-init (<< [version]), cloud-init-base
+
+ [ Test Plan ]
+
+ - Launch an instance and upgrade to the proposed version. Verify that after
upgrade cloud-init works without error and that no apt errors occurred.
+ - Launch an instance and do-release-upgrade to the next release. Verify that
after upgrade, cloud-init works without and that no apt errors occurred.
+
+ [ Where problems could occur ]
+
+ There could still be hidden errors that won't be unmasked until
+ upgrading to a later version of cloud-init or upgrading from a newer
+ version than specified in the "Replaces" line. However, since
+ "Replaces:" is version gated, we would still have the opportunity to fix
+ any new problem at that time.
+
+ [ Other Info ]
+
+ Adding `Replaces: cloud-init` to devel was the originally proposed
+ solution, but Julian Klode suggested the current approach.
+
+ [ Original Description]
+
This crash happened on the upgrade from oracular to plucky.
ProblemType: Package
DistroRelease: Ubuntu 25.04
Package: cloud-init-base 24.4-0ubuntu1
ProcVersionSignature: Ubuntu 6.11.0-13.14-generic 6.11.0
Uname: Linux 6.11.0-13-generic x86_64
ApportVersion: 2.31.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sat Dec 21 14:20:25 2024
ErrorMessage: Versuch, »/etc/cloud/cloud.cfg« zu überschreiben, welches auch
in Paket cloud-init 24.4-0ubuntu1~24.10.1 ist
InstallationDate: Installed on 2024-10-15 (67 days ago)
InstallationMedia: Ubuntu-Cinnamon 24.04.1 LTS "Noble Numbat" - Release amd64
(20240827)
PackageArchitecture: all
Python3Details: /usr/bin/python3.12, Python 3.12.8, python3-minimal, 3.12.7-1
PythonDetails: N/A
RelatedPackageVersions:
- dpkg 1.22.11ubuntu3
- apt 2.9.16
+ dpkg 1.22.11ubuntu3
+ apt 2.9.16
SourcePackage: cloud-init
Title: package cloud-init-base 24.4-0ubuntu1 failed to install/upgrade:
Versuch, »/etc/cloud/cloud.cfg« zu überschreiben, welches auch in Paket
cloud-init 24.4-0ubuntu1~24.10.1 ist
UpgradeStatus: Upgraded to plucky on 2024-12-21 (0 days ago)
** Summary changed:
- package cloud-init-base 24.4-0ubuntu1 failed to install/upgrade: Versuch,
»/etc/cloud/cloud.cfg« zu überschreiben, welches auch in Paket cloud-init
24.4-0ubuntu1~24.10.1 ist
+ cloud-init is broken by cloud-init-base package on do-release-upgrade to
plucky
** Changed in: cloud-init (Ubuntu)
Status: Confirmed => Triaged
** Changed in: cloud-init (Ubuntu)
Importance: Undecided => Critical
** Also affects: cloud-init (Ubuntu Oracular)
Importance: Undecided
Status: New
** Also affects: cloud-init (Ubuntu Noble)
Importance: Undecided
Status: New
** Also affects: cloud-init (Ubuntu Jammy)
Importance: Undecided
Status: New
** Also affects: cloud-init (Ubuntu Plucky)
Importance: Critical
Status: Triaged
** 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/2092333
Title:
cloud-init is broken by cloud-init-base package on do-release-upgrade
to plucky
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2092333/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs