|
|
T: b k& \) Z: T$ g. k+ ~[ceph_deploy.gatherkeys][WARNIN] No mon key found in host: compute06% g; C# Q- R5 N) E" v
[compute07][DEBUG ] connected to host: compute07 3 n8 O* s' [& E- s3 s X; q& ]
[compute07][DEBUG ] detect platform information from remote host* W0 B% |. \2 f8 c1 u0 I8 n8 q( F
[compute07][DEBUG ] detect machine type
4 O/ U: V4 Q. H[compute07][DEBUG ] get remote short hostname
! k a' f+ g6 j" S7 ]' H[compute07][DEBUG ] fetch remote file- h) W2 Q* {- _% S* N- w; `
[ceph_deploy.gatherkeys][WARNIN] No mon key found in host: compute07/ N* c A" O4 q
[compute08][DEBUG ] connected to host: compute08 9 Q0 C0 `8 ]7 \: C
[compute08][DEBUG ] detect platform information from remote host& x2 H/ }/ |9 k
[compute08][DEBUG ] detect machine type
# a7 J$ Q: }9 O[compute08][DEBUG ] get remote short hostname
0 a- k9 _* y# i[compute08][DEBUG ] fetch remote file& {$ p6 p# i/ w8 D2 D
[ceph_deploy.gatherkeys][WARNIN] No mon key found in host: compute086 X- s. \7 |* b+ l3 ]7 g
[compute09][DEBUG ] connected to host: compute09 . c. u! y0 M! d$ o- \5 o# ^
[compute09][DEBUG ] detect platform information from remote host
- |5 B; S5 `; \ y, j {- E, S[compute09][DEBUG ] detect machine type) G, n- } [' [$ t+ Q
[compute09][DEBUG ] get remote short hostname' [: R5 h; \' X: S7 [2 G- m8 U
[compute09][DEBUG ] fetch remote file, K8 v. D. D* J( {# w6 ~! l% S. Z
[ceph_deploy.gatherkeys][WARNIN] No mon key found in host: compute09
1 Y6 ^1 {7 z0 E& R4 m[ceph_deploy.gatherkeys][ERROR ] Failed to connect to host:compute06, compute07, compute08, compute09
; \" p) L$ Z+ e6 S[ceph_deploy.gatherkeys][INFO ] Destroy temp directory /tmp/tmpPXym0f! n, z }) N6 n! T9 }( q
[ceph_deploy][ERROR ] RuntimeError: Failed to connect any mon6 P" |2 y. k7 u
% B* A- n# Z ^0 ^
5 E$ E. q- x, ` {; r[ceph_deploy.gatherkeys][WARNING] No mon key found in host: compute 09; a, T1 G. n, |, _( e; n1 X9 Z0 i
2 h* s- f! {. t5 |# t* D
思路,通过warning no mon key found
7 R K; W& f( g
, q8 ~7 u- r9 ~4 m$ @$ [思路) S% e8 r; J/ f' C$ x* E
检查文件keyring
: [7 S/ M3 T7 @5 Z+ k8 y+ Y[root@hostceph1 deploy]# ls5 \" ~2 u6 ?3 b4 k( g
ceph.bootstrap-mds.keyring ceph.client.cinder-backup.keyring ceph.client.cinder-volume.keyring ceph.client.gnocchi.keyring ceph.conf osdcreate.sh
$ t# P0 n& R `* l6 vceph.client.admin.keyring ceph.client.cinder.keyring ceph.client.glance.keyring ceph.client.nova.keyring ceph-deploy-ceph.log# Y: a1 }' q5 Y- Q$ W
[root@hostceph1 deploy]#
7 V5 x! o+ T+ q0 h" o1 d2 r* Q# B
# Y# A: E) s% m, W7 N) B
- M0 d6 n/ C/ ^2 j# m1 ^/ O* s, Z" Z解决步骤:
; l% s5 ?- t; B8 R' o6 f
3 ~, b# L6 u" v5 k! T% \* [, m+ k2 z/ s) h/ ?
ceph auth get client.bootstrap-mds -o /ceph/deploy/ceph.bootstrap-mds.keyring. v( k- d/ B& |4 U, H& d5 g# Z& H- E
7 O% ~ g# p) c) P* E! }
# ceph auth get client.bootstrap-osd -o /ceph/deploy/ceph.bootstrap-osd.keyring
( R; a8 E" y3 j& T9 ~) p1 oexported keyring for client.bootstrap-osd
" ` P& J4 P# d4 m6 w# R2 `) i: `6 f! Z; y: S# U8 T/ E3 d* s3 Q
# M4 `" L7 T* E& n8 `# M2 W( ~
9 {" u8 }* ~/ \ |
|