There are bits and pieces describing commands to create a CEPH storage pool.
However, I would be grateful to see a few example commands. I have a working LXD cluster (currently with LVM storage). I have also setup a CEPH cluster on the same nodes of the LXD cluster. The CEPH status shows
root@luts:~# ceph --status cluster: id: e5b01928-f9b0-11ea-a593-3f5e8a462567 health: HEALTH_OK services: mon: 5 daemons, quorum luts,angstel,maas,roer,rijn (age 4d) mgr: luts.ohbhlv(active, since 4d), standbys: angstel.suocfa osd: 5 osds: 5 up (since 115m), 5 in (since 115m) data: pools: 1 pools, 1 pgs objects: 4 objects, 0 B usage: 5.0 GiB used, 9.1 TiB / 9.1 TiB avail pgs: 1 active+clean
Then I tried this
root@luts:~# lxc storage create cephpool ceph Error: Pool not pending on any node (use --target <node> first) root@luts:~# lxc storage create cephpool ceph --target luts Storage pool cephpool pending on member luts
Meanwhile, the storage is “PENDING”. I don’t know where to look for detailed status.
Somewhere I read that I have to copy
/etc/ceph/ceph.client.admin.keyring to the other LXD cluster nodes. These details seem important to me, but I haven’t seen a how-to or tutorial describe this. And there could be more important details.
In other words, a How To, or Tutorial would be appreciated.