Hi all,
I’ve added 2×1TB SSDs and 2×1.2TB HDDs to my MAAS LXD host and created pools with:
lxc storage create ssd-pool zfs source=/dev/sdb
lxc storage create hdd-pool zfs source=/dev/sdc
MAAS sees them correctly:
- default: 452GB free
- hdd-pool: 2.31TB free
- ssd-pool: 950GB free
I want to tag these pools (e.g., ssd-storage
, hdd-storage
) so that when deploying VMs via Juju or a bundle, I can use:
machines:
"k8s-workder":
constraints: "arch=amd64 cores=2 mem=16G tags=ssd-storage"
Or adding a machine
juju add-machine --constraints="cores=4 mem=16G" --disks="hddpool,24G" --base ubuntu@22.04
However, all instances still land on the default pool. Is there a supported way to tag or map MAAS tags to specific LXD storage pools for proper placement?
Appreciate any guidance. —Luke