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

2025-05-22 Thread Dave Jones
Closing the ubuntu-raspi-settings target as invalid as this is
essentially handled now on the cloud-init side

** Changed in: ubuntu-raspi-settings (Ubuntu)
   Status: Confirmed => Invalid

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

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

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2025-05-13 Thread Launchpad Bug Tracker
This bug was fixed in the package cloud-init - 25.2~2ge2bef781-0ubuntu1

---
cloud-init (25.2~2ge2bef781-0ubuntu1) questing; urgency=medium

  * Upstream snapshot based on upstream/main at e2bef781.
- Bugs fixed in this snapshot: (LP: #2100232)

 -- Chad Smith   Mon, 12 May 2025 17:46:37
-0600

** Changed in: cloud-init (Ubuntu)
   Status: Fix Committed => Fix Released

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

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

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2025-05-08 Thread Chad Smith
Upstream commit landed http://github.com/canonical/cloud-
init/commit/dc6a6817d6ec43a678a377c3b13e50ec0b42d068 removing
deprecation message for the custom fs_label.

We can publish this fix to questing this week and it will be included in
cloud-init official upstream 15.2 which will also be SRU'd back to Jammy

** Changed in: cloud-init (Ubuntu)
   Status: Triaged => Confirmed

** Changed in: cloud-init (Ubuntu)
   Status: Confirmed => Fix Committed

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

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

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2025-04-29 Thread James Falcon
Thanks for the context Dave. I'll go ahead and remove the deprecation
message and file something in cloud-init upstream about better
supporting or documenting this use case.

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

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

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

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2025-04-29 Thread Dave Jones
> Are you saying that your boot partition has cloud-init metadata at its
root? That's...unexpected.

Precisely -- we've used cloud-init this way since eoan (19.10 I think?),
if memory serves.

[ Use case ]

The reasoning back then was simply that most people flash their SD cards
for the Pi on machines other than Linux (Windows most likely or possibly
Mac). Originally, the seed was just being read from the ext4 partition
but that couldn't be mounted by anything but Linux. However, we already
had a FAT formatted partition (the system-boot partition) which could be
accessed by other OS', so I stuck the cloud-init seed there, pointed the
config at it, and everything's worked nicely ever since.

This also mirrored RaspiOS (or Raspbian as it was back then) which
allowed some first-time boot customization by placing various files on
the boot partition (I'm sure the reasoning was similar there: to make
such customization possible from non-Linux machines).

Fast forward a year or two, and the rpi-imager application comes along
to simplify flashing SD cards. This supports customizing a freshly
written image by writing various things, including a cloud-init
configuration, to the (FAT) boot partition.

You can have a look at the current boot partition for the server images
here (this is incomplete; the image build process adds the kernel, dtbs,
initrds, etc. but you can see the cloud-init config alongside the boot
configuration here):

https://github.com/canonical/pi-gadget/tree/classic/configs/plucky-
arm64-server

[ Change to cidata ]

I *could* make an entirely separate cidata FAT partition ... but that'll
break the rpi-imager case (which only looks at the first FAT partition).
I can't place the cidata partition first, because that would break the
boot ... unless I can also place a file in cidata pointing the Pi's boot
loader at the separate partition.

Also, I'm not sure how Windows (or macOS) handles multiple FAT
partitions on an SD card (does it mount all of them, or just the
first?). Bearing in mind that Pi users commonly want to customize the
config.txt (boot configuration) too, in order to manually specify
hardware overlays or other things. Keeping all the files users
frequently want to customize in one easy-to-access place is generally
"better" in my view.

Or I could rename the boot partition to cidata. But that carries its own
pain points with migrating old installs during dist-upgrade (not *too*
hard admittedly -- probably just tweaking fstab, but there's probably a
bunch of corner cases just waiting to bite me :).

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

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

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2025-04-28 Thread James Falcon
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2100232

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

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2025-04-28 Thread Dave Jones
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2100232

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

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2025-03-18 Thread Ural Tunaboyu
** Changed in: ubuntu-raspi-settings (Ubuntu)
Milestone: ubuntu-25.04 => ubuntu-25.04-beta

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

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

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2025-02-26 Thread Dave Jones
** Changed in: ubuntu-raspi-settings (Ubuntu)
   Status: New => Confirmed

** Changed in: ubuntu-raspi-settings (Ubuntu)
 Assignee: (unassigned) => Dave Jones (waveform)

** Changed in: ubuntu-raspi-settings (Ubuntu)
Milestone: None => ubuntu-25.04

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

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

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs