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

Dave Jones 2100232 at bugs.launchpad.net
Mon Apr 28 10:07:04 UTC 2025


Looking at the docs [1] this isn't (yet?) marked for deprecation. I was
hoping to find what the replacement is for this key, but looking at the
code I'm beginning to think this is "deprecated for removal", which
would be a thorny problem for us given we would need to rename the boot
partition (with all the pain that would entail for existing installs).

I'm going to add cloud-init as an affected package because, at the very
least, the documentation needs updating, but also to see what the cloud-
init developers have in mind for a replacement (if any).

[1]:
https://cloudinit.readthedocs.io/en/latest/reference/yaml_examples/datasources.html#nocloud

** Also affects: cloud-init (Ubuntu)
   Importance: Undecided
       Status: New

** Tags added: rls-qq-incoming

-- 
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:
  New
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