-
Notifications
You must be signed in to change notification settings - Fork 820
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add breaking changes section to reference docs (#5147)
- Loading branch information
Showing
2 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
.. _breaking_changes: | ||
|
||
Breaking changes | ||
**************** | ||
|
||
This section provides guidance on specific breaking changes to cloud-init | ||
releases. | ||
|
||
24.1 - removed Ubuntu's ordering dependency on snapd.seeded | ||
=========================================================== | ||
|
||
In Ubuntu releases, cloud-init will no longer wait on ``snapd`` pre-seeding to | ||
run. If a user-provided script relies on a snap, it must now be prefixed with | ||
``snap wait system seed.loaded`` to ensure the snaps are ready for use. For | ||
example, a cloud config that previously included: | ||
|
||
.. code-block:: yaml | ||
runcmd: | ||
- [ snap, install, mc-installer ] | ||
Will now need to be: | ||
|
||
.. code-block:: yaml | ||
runcmd: | ||
- [ snap, wait, system, seed.loaded ] | ||
- [ snap, install, mc-installer ] | ||
23.4 - added status code for recoverable error | ||
============================================== | ||
|
||
Cloud-init return codes have been extended with a new error code (2), | ||
which will be returned when cloud-init experiences an error that it can | ||
recover from. See :ref:`this page which documents the change <error_codes>`. | ||
|
||
|
||
23.2 - kernel commandline | ||
========================= | ||
|
||
The ``ds=`` kernel commandline value is used to forcibly select a specific | ||
datasource in cloud-init. Prior to 23.2, this only optionally selected | ||
the ``NoCloud`` datasource. | ||
|
||
Anyone that previously had a matching ``ds=nocloud*`` in their kernel command | ||
line that did not want to use the ``NoCloud`` datasource may experience broken | ||
behavior as a result of this change. | ||
|
||
Workarounds include updating the kernel commandline and optionally configuring | ||
a ``datasource_list`` in ``/etc/cloud/cloud.cfg.d/*.cfg``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters