status breaks backwards compat with exit code 2 when recoverable errors/warnings

Bug #2048522 reported by Alberto Contreras
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Fix Released
Undecided
Alberto Contreras
Focal
Fix Released
Undecided
Alberto Contreras
Jammy
Fix Released
Undecided
Alberto Contreras
Lunar
Won't Fix
Undecided
Alberto Contreras
Mantic
Fix Released
Undecided
Alberto Contreras

Bug Description

[ Impact ]

`cloud-init status` introduced a new exit code of 2 with the meaning of recoverable errors / warnings.
Without this fix, status exited with 2 in cases where previously did it with 0, potentially breaking consumers (scripts or other programs) of `cloud-init status`.

The fix is to include a quilt patch retaining the exit code of 0 for recoverable errors / warnings for stable releases.

[ Test Plan ]

```sh
#!/usr/bin/bash -ux
NAME=lp2048522
RELEASE=jammy

# This cloud-config includes a deprecated key which is a recoverable warning
cat <<EOF > /tmp/user-data
#cloud-config
apt_update: false
EOF

lxc delete -f $NAME 2>/dev/null || true
lxc launch ubuntu-daily:$RELEASE $NAME -c user.user-data="$(cat /tmp/user-data)"
sleep 1
lxc exec $NAME -- cloud-init status --wait
lxc exec $NAME -- sh -c 'cat <<EOF >"/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list"

# Install proposed cloud-init, clean and reboot
deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe
EOF'
lxc exec $NAME -- sh -c "apt update && apt install cloud-init/${RELEASE}-proposed"
lxc exec $NAME -- cloud-init --version
lxc exec $NAME -- cloud-init clean --logs --reboot
sleep 2

lxc exec $NAME -- cloud-init status --wait
if lxc exec $NAME -- cloud-init status --long --format json; then
 echo Test passed
 exit 0
else
 echo Test not passed
 exit 1
fi
```

[ Where problems could occur ]

 * Limited risk, as the quilt patch is a one liner substituting the exit code of 2 by 0.

[ Original description ]

Taken from https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2045582/comments/8:

In the cases where there are recoverable warnings/errors, users checking status by exit code will start failing without changes on their end to accommodate the new behavior. We suspect this will be an issue for deployments where some of the warnings/errors are considered "normal".

Consider a customer using the Ubuntu minimal images (on Azure) which is currently missing "eject" and an error is being emitted. I believe if cloud-init 23.4 rolls out as-is, the status checks will start failing 100% of the time.

```
cpatterson@temp-vm-cpatterson-eastus-t20240105174837:~$ cloud-init status --wait

status: done
cpatterson@temp-vm-cpatterson-eastus-t20240105174837:~$ echo $?
2
cpatterson@temp-vm-cpatterson-eastus-t20240105174837:~$ cloud-init --version
/usr/bin/cloud-init 23.4-0ubuntu1~22.04.1
cpatterson@temp-vm-cpatterson-eastus-t20240105174837:~$ cloud-init status --wait --format json
{
  "_schema_version": "1",
  "boot_status_code": "enabled-by-generator",
  "datasource": "azure",
  "detail": "DataSourceAzure [seed=/dev/sr0]",
  "errors": [],
  "extended_status": "degraded done",
  "init": {
    "errors": [],
    "finished": 1704494973.501599,
    "recoverable_errors": {},
    "start": 1704494969.534187
  },
  "init-local": {
    "errors": [],
    "finished": 1704494968.0249393,
    "recoverable_errors": {
      "ERROR": [
        "Failed ejecting the provisioning iso: Unexpected error while running command.\nCommand: ['eject', '/dev/sr0']\nExit code: -\nReason: [Errno 2] No such file or directory: b'eject'\nStdout: -\nStderr: -"
      ]
    },
    "start": 1704494956.9926035
  },
  "last_update": "Fri, 05 Jan 2024 22:49:35 +0000",
  "modules-config": {
    "errors": [],
    "finished": 1704494975.1977916,
    "recoverable_errors": {},
    "start": 1704494974.6474068
  },
  "modules-final": {
    "errors": [],
    "finished": 1704494975.8049285,
    "recoverable_errors": {},
    "start": 1704494975.5019412
  },
  "recoverable_errors": {
    "ERROR": [
      "Failed ejecting the provisioning iso: Unexpected error while running command.\nCommand: ['eject', '/dev/sr0']\nExit code: -\nReason: [Errno 2] No such file or directory: b'eject'\nStdout: -\nStderr: -"
    ]
  },
  "schemas": {
    "1": {
      "boot_status_code": "enabled-by-generator",
      "datasource": "azure",
      "detail": "DataSourceAzure [seed=/dev/sr0]",
      "errors": [],
      "extended_status": "degraded done",
      "init": {
        "errors": [],
        "finished": 1704494973.501599,
        "recoverable_errors": {},
        "start": 1704494969.534187
      },
      "init-local": {
        "errors": [],
        "finished": 1704494968.0249393,
        "recoverable_errors": {
          "ERROR": [
            "Failed ejecting the provisioning iso: Unexpected error while running command.\nCommand: ['eject', '/dev/sr0']\nExit code: -\nReason: [Errno 2] No such file or directory: b'eject'\nStdout: -\nStderr: -"
          ]
        },
        "start": 1704494956.9926035
      },
      "last_update": "Fri, 05 Jan 2024 22:49:35 +0000",
      "modules-config": {
        "errors": [],
        "finished": 1704494975.1977916,
        "recoverable_errors": {},
        "start": 1704494974.6474068
      },
      "modules-final": {
        "errors": [],
        "finished": 1704494975.8049285,
        "recoverable_errors": {},
        "start": 1704494975.5019412
      },
      "recoverable_errors": {
        "ERROR": [
          "Failed ejecting the provisioning iso: Unexpected error while running command.\nCommand: ['eject', '/dev/sr0']\nExit code: -\nReason: [Errno 2] No such file or directory: b'eject'\nStdout: -\nStderr: -"
        ]
      },
      "stage": null,
      "status": "done"
    }
  },
  "stage": null,
  "status": "done"
}
```

Revision history for this message
Alberto Contreras (aciba) wrote :

I mark the current devel release as `Fix Committed` but no fix is required as this is a new behavior that we want to patch out for stable releases.

Changed in cloud-init (Ubuntu):
status: New → Fix Committed
assignee: nobody → Alberto Contreras (aciba)
Changed in cloud-init (Ubuntu Focal):
assignee: nobody → Alberto Contreras (aciba)
Changed in cloud-init (Ubuntu Jammy):
assignee: nobody → Alberto Contreras (aciba)
Changed in cloud-init (Ubuntu Lunar):
assignee: nobody → Alberto Contreras (aciba)
Changed in cloud-init (Ubuntu Mantic):
assignee: nobody → Alberto Contreras (aciba)
Revision history for this message
Alberto Contreras (aciba) wrote :
Changed in cloud-init (Ubuntu Mantic):
status: New → In Progress
Changed in cloud-init (Ubuntu Lunar):
status: New → Triaged
Changed in cloud-init (Ubuntu Jammy):
status: New → Triaged
Changed in cloud-init (Ubuntu Focal):
status: New → Triaged
Changed in cloud-init (Ubuntu Focal):
status: Triaged → In Progress
Changed in cloud-init (Ubuntu Jammy):
status: Triaged → In Progress
Changed in cloud-init (Ubuntu Lunar):
status: Triaged → In Progress
description: updated
description: updated
Revision history for this message
Chad Smith (chad.smith) wrote :

versoin 23.4-0ubuntu1~22.04.1 made it into <release>-proposed pockets for SRU verification and it represents the exit 2 behavior that would change stable release behavior for cloud-init status exiting 2 on warning logs. This fix is addressed in the unapproved upload 23.4.1-0ubuntu1~22.04.2 for each release Focal, Jammy, Lunar and Mantic

tags: added: regression-proposed
Steve Langasek (vorlon)
description: updated
Revision history for this message
Steve Langasek (vorlon) wrote :

The changelog for this upload also includes:

+ * d/p/do-not-block-user-login.patch:
+ - revert redacted patch content introduced in 23.4-0

It is not clear to me what this means. Is this a revert of a change introduced in 23.4-0ubuntu1~23.10.1 relative to 23.3.3-0ubuntu0~23.10.1 in mantic-updates? Why "redacted"?

+ * d/p/retain-apt-pre-deb822.patch:
+ - Disable apt source list generation with DEB822 style

Does this mean that this was also buggy in the 23.4 upload because it had not been disabled?

Changed in cloud-init (Ubuntu Mantic):
status: In Progress → Incomplete
Revision history for this message
Steve Langasek (vorlon) wrote :

lunar is going EOL and is now closed for new SRUs

Changed in cloud-init (Ubuntu Lunar):
status: In Progress → Won't Fix
Revision history for this message
Alberto Contreras (aciba) wrote :

> The changelog for this upload also includes:

> + * d/p/do-not-block-user-login.patch:
> + - revert redacted patch content introduced in 23.4-0

> It is not clear to me what this means. Is this a revert of a change introduced in 23.4-0ubuntu1~23.10.1 relative to 23.3.3-0ubuntu0~23.10.1 in mantic-updates? Why "redacted"?

We introduce the patch in 23.3.3-0ubuntu0~23.04.1 to fix https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2039505.

https://github.com/canonical/cloud-init/commit/46992d3c3cbdbdf47d1 inadvertently removed the quilt patch (before 23.4) and
https://github.com/canonical/cloud-init/commit/e59a4ea07d46720edabdbef1d99094a15e181fd5 brings the quilt patch back and is included in ubuntu/23.4.1-0ubuntu1_23.10.2.

> + * d/p/retain-apt-pre-deb822.patch:
> + - Disable apt source list generation with DEB822 style

> Does this mean that this was also buggy in the 23.4 upload because it had not been disabled?

Yes, the intention was to disable this feature in stable releases to maintain old behavior, but we forgot to do it for the initial 23.4 release.

James Falcon (falcojr)
tags: added: verification-failed verification-failed-focal verification-failed-jammy verification-failed-mantic
Revision history for this message
Alberto Contreras (aciba) wrote :

The verifcation-failed* tags were added to signalize that 23.4.1-0ubuntu1~XX.YY.2 versions (for focal, jammy and mantic) that are the unapproved -proposed queues must be rejected because another upload has been performed to fix https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2051147 superseeding this fix.

Versions 23.4.2-0ubuntu0~XX.YY.1 (for focal, jammy and mantic) have been enqueued in -proposed fixing both bugs.

Revision history for this message
Alberto Contreras (aciba) wrote :

Published to Ubuntu Noble: cloud-init 24.1~3gb729a4c4-0ubuntu1 (Accepted)

Changed in cloud-init (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Andreas Hasenack (ahasenack) wrote : Please test proposed package

Hello Alberto, or anyone else affected,

Accepted cloud-init into mantic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/23.4.2-0ubuntu0~23.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-mantic to verification-done-mantic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-mantic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in cloud-init (Ubuntu Mantic):
status: Incomplete → Fix Committed
tags: added: verification-needed verification-needed-mantic
removed: verification-failed verification-failed-mantic
Changed in cloud-init (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed-jammy
removed: verification-failed-jammy
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Hello Alberto, or anyone else affected,

Accepted cloud-init into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/23.4.2-0ubuntu0~22.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in cloud-init (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed-focal
removed: verification-failed-focal
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Hello Alberto, or anyone else affected,

Accepted cloud-init into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/23.4.2-0ubuntu0~20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Hello Alberto, or anyone else affected,

Accepted cloud-init into mantic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/23.4.3-0ubuntu0~23.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-mantic to verification-done-mantic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-mantic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Hello Alberto, or anyone else affected,

Accepted cloud-init into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/23.4.3-0ubuntu0~22.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Hello Alberto, or anyone else affected,

Accepted cloud-init into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/23.4.3-0ubuntu0~20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Alberto Contreras (aciba) wrote :

I have verified that this bug is not reproducible with 23.4.3-0ubuntu0-20.04.1, 23.4.3-0ubuntu0-22.04.1 and 23.4.3-0ubuntu0-23.10.1.

Testing logs attached, thanks!

James Falcon (falcojr)
tags: added: verification-done verification-done-focal verification-done-jammy verification-done-mantic
removed: verification-needed verification-needed-focal verification-needed-jammy verification-needed-mantic
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Just a note that I didn't see the "recoverable_errors" key with content in the test logs. I ran them again (thanks for the script!), and once I added a "sleep 20" (didn't experiment other values) right before the last cloud-init status status --long --format json call, then it showed:

    "recoverable_errors": {
      "DEPRECATED": [
        "Deprecated cloud-config provided:\napt_update: Default: ``false``. Deprecated in version 22.2. Use ``package_update`` instead."
      ]

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 23.4.3-0ubuntu0~23.10.1

---------------
cloud-init (23.4.3-0ubuntu0~23.10.1) mantic; urgency=medium

  * Upstream snapshot based on 23.4.3. (LP: #2046483).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.4.3/ChangeLog

cloud-init (23.4.2-0ubuntu0~23.10.1) mantic; urgency=medium

  * Upstream snapshot based on 23.4.2. (LP: #2045582).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.4.2/ChangeLog
    - Bugs fixed in this snapshot: (LP: #2051147)

cloud-init (23.4.1-0ubuntu1~23.10.2) mantic; urgency=medium

  * d/p/status-retain-recoverable-error-exit-code.patch:
    Retain exit code in cloud-init status for recoverable errors.
    (LP: #2048522).

cloud-init (23.4.1-0ubuntu1~23.10.1) mantic; urgency=medium

  * d/p/retain-apt-pre-deb822.patch:
    - Disable apt source list generation with DEB822 style
  * d/p/do-not-block-user-login.patch:
    - revert redacted patch content introduced in 23.4-0
  * refresh patches:
    - d/p/status-do-not-remove-duplicated-data.patch
  * d/changelog: amend 23.4-0 refresh patches and dropped cherry-picks entry
  * Upstream snapshot based on 23.4.1. (LP: #2045582).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.4.1/ChangeLog

cloud-init (23.4-0ubuntu1~23.10.1) mantic; urgency=medium

  * d/p/status-do-not-remove-duplicated-data.patch:
    - Revert behavior downstream, leave duplicate data
  * d/control: add python3-apt as Recommends to read APT config from apt_pkg
  * refresh patches:
    - d/p/do-not-block-user-login.patch
  * drop the following cherry-picks now included:
    - cpick-0d9f149a-Pytestify-apt-config-test-modules-4424
    - cpick-5023e9f9-Refactor-test_apt_source_v1.py-to-use-pytest-4427
    - cpick-e9cdd7e3-Install-gnupg-if-gpg-not-found-4431
    - cpick-015543d3-apt-install-software-properties-common-when-absent-but
    - cpick-2ab1f340-fix-cc_apt_configure-avoid-unneeded-call-to-apt-install
  * Upstream snapshot based on 23.4. (LP: #2045582).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.4/ChangeLog

 -- James Falcon <email address hidden> Fri, 02 Feb 2024 16:00:04 -0600

Changed in cloud-init (Ubuntu Mantic):
status: Fix Committed → Fix Released
Revision history for this message
Andreas Hasenack (ahasenack) wrote : Update Released

The verification of the Stable Release Update for cloud-init has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 23.4.3-0ubuntu0~22.04.1

---------------
cloud-init (23.4.3-0ubuntu0~22.04.1) jammy; urgency=medium

  * Upstream snapshot based on 23.4.3. (LP: #2046483).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.4.3/ChangeLog

cloud-init (23.4.2-0ubuntu0~22.04.1) jammy; urgency=medium

  * Upstream snapshot based on 23.4.2. (LP: #2045582).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.4.2/ChangeLog
    - Bugs fixed in this snapshot: (LP: #2051147)

cloud-init (23.4.1-0ubuntu1~22.04.2) jammy; urgency=medium

  * d/p/status-retain-recoverable-error-exit-code.patch:
    Retain exit code in cloud-init status for recoverable errors.
    (LP: #2048522).

cloud-init (23.4.1-0ubuntu1~22.04.1) jammy; urgency=medium

  * d/p/retain-apt-pre-deb822.patch:
    - Disable apt source list generation with DEB822 style
  * refresh patches:
    - d/p/status-do-not-remove-duplicated-data.patch
  * d/changelog: amend 23.4-0 refresh patches entry
  * Upstream snapshot based on 23.4.1. (LP: #2045582).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.4.1/ChangeLog

cloud-init (23.4-0ubuntu1~22.04.1) jammy; urgency=medium

  * d/control: add python3-apt as Recommends to read APT config from apt_pkg
  * d/p/status-do-not-remove-duplicated-data.patch:
    - Revert behavior downstream, leave duplicate data
  * d/p/series: bring back retain-old-groups.patch.
    This patch was inadvertently dropped in 5d4a3cf.
  * refresh patches:
    - d/p/do-not-block-user-login.patch
  * Upstream snapshot based on 23.4. (LP: #2045582).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.4/ChangeLog

 -- James Falcon <email address hidden> Fri, 02 Feb 2024 15:59:14 -0600

Changed in cloud-init (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 23.4.3-0ubuntu0~20.04.1

---------------
cloud-init (23.4.3-0ubuntu0~20.04.1) focal; urgency=medium

  * Upstream snapshot based on 23.4.3. (LP: #2046483).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.4.3/ChangeLog

cloud-init (23.4.2-0ubuntu0~20.04.1) focal; urgency=medium

  * Upstream snapshot based on 23.4.2. (LP: #2045582).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.4.2/ChangeLog
    - Bugs fixed in this snapshot: (LP: #2051147)

cloud-init (23.4.1-0ubuntu1~20.04.2) focal; urgency=medium

  * d/p/status-retain-recoverable-error-exit-code.patch:
    Retain exit code in cloud-init status for recoverable errors.
    (LP: #2048522).

cloud-init (23.4.1-0ubuntu1~20.04.1) focal; urgency=medium

  * d/p/retain-apt-pre-deb822.patch:
    - Disable apt source list generation with DEB822 style
  * refresh patches:
    - d/p/status-do-not-remove-duplicated-data.patch
  * d/changelog: amend 23.4-0 refresh patches entry
  * Upstream snapshot based on 23.4.1. (LP: #2045582).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.4.1/ChangeLog

cloud-init (23.4-0ubuntu1~20.04.1) focal; urgency=medium

  * d/p/status-do-not-remove-duplicated-data.patch:
    - Revert behavior downstream, leave duplicate data
  * d/control: add python3-apt as Recommends to read APT config from apt_pkg
  * refresh patches:
    - d/p/do-not-block-user-login.patch
    - d/p/netplan99-cannot-use-default.patch
  * Upstream snapshot based on 23.4. (LP: #2045582).
    List of changes from upstream can be found at
    https://raw.githubusercontent.com/canonical/cloud-init/23.4/ChangeLog

 -- James Falcon <email address hidden> Fri, 02 Feb 2024 16:00:45 -0600

Changed in cloud-init (Ubuntu Focal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.