Lxd 3.0.3 cluster and storage options with ceph driver

Hello,

I have ceph cluster and trying to setup lxd cluster on top and got into few things.

  1. According to this https://lxd.readthedocs.io/en/latest/storage/

When setting up a ceph cluster that LXD is going to use we recommend using xfs as the underlying filesystem for the storage entities that are used to hold OSD storage pools. Using ext4 as the underlying filesystem for the storage entities is not recommended by Ceph upstream. You may see unexpected and erratic failures which are unrelated to LXD itself.

Is this still relevant with ceph bluestore?

  1. If I follow advice from above
    from tutorials by brauner https://blog.ubuntu.com/2017/08/30/ceph-storage-driver-in-lxd
    lxc storage create xfs-ceph-lxd ceph volume.block.filesystem=xfs Error: Pool not pending on any node (use --target <node> first)

And when I try to do this node specific way.
lxc storage create xfs-ceph-lxd ceph volume.block.filesystem=xfs --target paralel-linux Error: Config key 'volume.block.filesystem' may not be used as node-specific key

Any ideas? Thanks

I think:

lxc storage create xfs-ceph-lxd ceph --target paralel-linux
<repeat for all nodes>
lxc storage create xfs-ceph-lxd ceph volume.block.filesystem=xfs

See also https://lxd.readthedocs.io/en/latest/clustering/#storage-pools

Thanks this works.