|
|
I'm trying to create ceph-mds manually on Centos 7 on Ceph Nautilus 14.2.19. first i created a folder inside /var/lib/ceph/mds in the format of <clusterid>-mds.<hostid> then ran the following commands:
( U% x+ |1 T- u: ~0 Z C) q$ J9 h
1 a( e- l# Z; a p5 C3 E& Kceph-authtool --create-keyring /var/lib/ceph/mds/ceph-mds.<hostid>/keyring --gen-key -n mds.<hostid>" M" k* d# D, x
ceph auth add mds.<hostid> osd "allow rwx" mds "allow *" mon "allow profile mds" -i /var/lib/ceph/mds/ceph-mds.<hostid>/keyring' a! x' R' Y/ \7 u
. f$ ]) x& J! e
; |2 f! l H% DThen i changed user permissions of contents of /var/lib/ceph/mds/ to ceph:ceph. When i check the keyring and the keyring added on ceph auth list for mds i can confirm they are matching. & g$ k7 n" P- a& C; r. {$ Z8 I
However when I run systemctl start ceph-mds@mds. the daemon doesnt start and on journalctl i get the following error output:
& X( {& b, w' l9 G* ~+ iApr 20 11:38:14 <hostid> ceph-mds[44742]: 2021-04-20 11:38:14.592 7f53bcaef700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2]! J, `7 \0 n% f) a3 W p
Apr 20 11:38:14 <hostid> ceph-mds[44742]: failed to fetch mon config (--no-mon-config to skip).
# Y6 S( ^. s/ u$ ?+ T
; o$ g6 n s4 L3 B& q7 D" {0 ?1 j1 o% p D
The entire output of systemctl status ceph-mds@mds.:
) P( |3 v$ ]' S3 k. ~● ceph-mds@mds.<hostid>.service - Ceph metadata server daemon
- S7 @) E& X: m8 Y8 m6 b7 Q: g Loaded: loaded ([url=]/usr/lib/systemd/system/ceph-mds@.service[/url]; disabled; vendor preset: disabled)
0 q+ o8 w$ [8 g3 \7 o/ T7 C Active: failed (Result: start-limit) since Tue 2021-04-20 12:28:15 +03; 11min ago
' Z, y f4 X0 s j, B& ? Process: 15564 ExecStart=/usr/bin/ceph-mds -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph (code=exited, status=1/FAILURE)
! y3 @- g2 N4 v8 g5 X Main PID: 15564 (code=exited, status=1/FAILURE)5 G! r2 ~: m/ B! ^6 y9 V
Apr 20 12:28:15 <hostid> systemd[1]: Unit ceph-mds@mds.<hostid>.service entered failed state.
b0 p3 c, E" b, C# u- h* ]Apr 20 12:28:15 <hostid> systemd[1]: ceph-mds@mds.<hostid>.service failed.. i9 d! g) k1 C [, u0 n& g
Apr 20 12:28:15 <hostid> systemd[1]: ceph-mds@mds.<hostid>.service holdoff time over, scheduling restart.5 c* V2 h$ A9 d! k: K Z }
Apr 20 12:28:15 <hostid> systemd[1]: Stopped Ceph metadata server daemon.9 }$ N4 w" {) T( O/ f
Apr 20 12:28:15 <hostid> systemd[1]: start request repeated too quickly for ceph-mds@mds.<hostid>.service
- m8 C: G7 w& w$ CApr 20 12:28:15 <hostid> systemd[1]: Failed to start Ceph metadata server daemon.
F; F( P1 M# J8 S& y+ eApr 20 12:28:15 <hostid> systemd[1]: Unit ceph-mds@mds.<hostid>.service entered failed state./ w5 Z7 {* }; Z, D% d8 t$ d
Apr 20 12:28:15 <hostid> systemd[1]: ceph-mds@mds.<hostid>.service failed.' A3 o. P7 i, e: B' ~
5 U+ E1 {8 T# C O7 ?7 N* w6 M' N- P) u$ n6 u2 ^
What might be the reason for this?" V4 v! B$ u z- V, e
|
|