Ask Your Question

Revision history [back]

ceph-fs No MDS detected using current configuration

I'm deploying Ceph via Juju. Using the lastest version of the openstack-charmers-next osd, mon and fs charms. Host OS is Bionic and install source is cloud:bionic-rocky. 3 OSDs (metal), 3 mons (lxd) and 2 MDS (lxd).

Everything stands up great, and initially the MDS works (and the cephfs_data and cephfs_metadata pools are created). However as the install is settling, once the second and third mons come online the MDS status changes to "No MDS detected using current configuration" and the fs pools go offline.

It looks like this:

Every 2.0s: juju status --color                                                                                                              

Model  Controller  Cloud/Region  Version  SLA          Timestamp
base4  homelab     homelab       2.5.1    unsupported  02:49:07-07:00

App       Version       Status   Scale  Charm     Store       Rev  OS      Notes
ceph-fs   13.2.4+dfsg1  blocked      2  ceph-fs   jujucharms   42  ubuntu
ceph-mon  13.2.4+dfsg1  active       3  ceph-mon  jujucharms  380  ubuntu
ceph-osd  13.2.4+dfsg1  active       3  ceph-osd  jujucharms  399  ubuntu

Unit         Workload  Agent  Machine  Public address  Ports  Message
ceph-fs/0    blocked   idle   1/lxd/0  10.0.10.94             No MDS detected using current configuration
ceph-fs/1*   blocked   idle   0/lxd/0  10.0.10.89             No MDS detected using current configuration
ceph-mon/0*  active    idle   0/lxd/1  10.0.10.90             Unit is ready and clustered
ceph-mon/1   active    idle   1/lxd/1  10.0.10.92             Unit is ready and clustered
ceph-mon/2   active    idle   2/lxd/0  10.0.10.95             Unit is ready and clustered
ceph-osd/0   active    idle   0        10.0.10.140            Unit is ready (1 OSD)
ceph-osd/1   active    idle   1        10.0.10.139            Unit is ready (1 OSD)
ceph-osd/2*  active    idle   2        10.0.10.153            Unit is ready (1 OSD)

Machine  State    DNS          Inst id              Series  AZ  Message
0        started  10.0.10.140  manual:10.0.10.140   bionic      Manually provisioned machine
0/lxd/0  started  10.0.10.89   juju-f14309-0-lxd-0  bionic      Container started
0/lxd/1  started  10.0.10.90   juju-f14309-0-lxd-1  bionic      Container started
1        started  10.0.10.139  manual:10.0.10.139   bionic      Manually provisioned machine
1/lxd/0  started  10.0.10.94   juju-f14309-1-lxd-0  bionic      Container started
1/lxd/1  started  10.0.10.92   juju-f14309-1-lxd-1  bionic      Container started
2        started  10.0.10.153  manual:10.0.10.153   bionic      Manually provisioned machine
2/lxd/0  started  10.0.10.95   juju-f14309-2-lxd-0  bionic      Container started