Can't create swapfile on btrfs

Bug #1884127 reported by James Falcon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
Undecided
Unassigned

Bug Description

With a userdata definition like such:
#cloud-config
swap:
  filename: /swap.img
  size: 5000000
  maxsize: 5000000

the swap file cannot be created on btrfs.

See https://wiki.archlinux.org/index.php/Swap#Swap_file

Paride Legovini (paride)
Changed in cloud-init:
status: New → Triaged
Revision history for this message
James Falcon (falcojr) wrote :
Changed in cloud-init:
status: Triaged → Expired
Revision history for this message
Chad Smith (chad.smith) wrote : Fixed in cloud-init version 23.3.

This bug is believed to be fixed in cloud-init in version 23.3. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in cloud-init:
status: Expired → 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.