[Bug 2100232] Re: 99-fake-cloud.cfg uses a deprecated key fs_label for cloud-int >24.3

James Falcon 2100232 at bugs.launchpad.net
Mon Apr 28 18:47:12 UTC 2025


This is for identifying the filesystem that contains cloud-init metadata
at its root. Traditionally, cloud-init has used 'cidata' for this label.
Not using 'cidata' was recently deprecated because cloud-init's
generator only looks for the 'cidata' label. This can result in the
generator failing to identify the NoCloud source even if the custom
'fs_label' is used.

> we would need to rename the boot partition

Are you saying that your boot partition has cloud-init metadata at its
root? That's...unexpected.

The reason for the deprecation is that the use case was only partially
supported and we didn't see a use case for adding full support. If we
could understand the use case (and it's not trivial to use a 'cidata' fs
label instead), we may be able to add better support for it in the
future.

** Changed in: cloud-init (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-raspi-settings in
Ubuntu.
https://bugs.launchpad.net/bugs/2100232

Title:
  99-fake-cloud.cfg uses a deprecated key fs_label for cloud-int >24.3

Status in cloud-init package in Ubuntu:
  Incomplete
Status in ubuntu-raspi-settings package in Ubuntu:
  Confirmed

Bug description:
  When cloud-init reads 99-fake-cloud.cfg, it reports:

  2024-10-07 17:14:13,272 - lifecycle.py[DEPRECATED]: Custom fs_label
  keys is deprecated in 24.3 and scheduled to be removed in 29.3. This
  key isn't supported by ds-identify.

  ubuntu-raspi-settings version 24.10.1
  Ubuntu 24.10

  This logs a deprecation warning in the cloud-init-output logs.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2100232/+subscriptions




More information about the foundations-bugs mailing list