找回密码
 注册
查看: 3232|回复: 2

[ceph_deploy.gatherkeys][ERROR ] Failed to connect to host

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2021-8-6 12:01:09 | 显示全部楼层 |阅读模式

7 B8 `; r6 S, A8 L7 Q, z# W[ceph_deploy.gatherkeys][WARNIN] No mon key found in host: compute06
" P2 P# @# t) n  x) [$ a[compute07][DEBUG ] connected to host: compute07 / b. j$ ~4 ]( W  K
[compute07][DEBUG ] detect platform information from remote host
8 K0 z& s% J$ k4 l$ R$ e( i9 ^! K[compute07][DEBUG ] detect machine type
: g2 ]- O6 W2 U! `# m  \% \5 V[compute07][DEBUG ] get remote short hostname
, T9 l% x! ?  c2 P# U) E[compute07][DEBUG ] fetch remote file
/ Y; M! m( ?  s) G3 f[ceph_deploy.gatherkeys][WARNIN] No mon key found in host: compute07
; K( M8 {! D3 }1 V: Y[compute08][DEBUG ] connected to host: compute08
/ {. G+ q; P  W0 T+ H9 T! m+ x& h[compute08][DEBUG ] detect platform information from remote host
6 @: J) J) n5 d* ~7 D[compute08][DEBUG ] detect machine type- e. H8 c0 \2 k
[compute08][DEBUG ] get remote short hostname
7 f" ^0 T# o( `  n4 C9 o[compute08][DEBUG ] fetch remote file
. P0 X8 t7 p' \  R! |! I8 T& c! g[ceph_deploy.gatherkeys][WARNIN] No mon key found in host: compute08
4 Q8 R) u) z% A% K/ [[compute09][DEBUG ] connected to host: compute09 : Z& f2 ]( M! ^7 b% T) R
[compute09][DEBUG ] detect platform information from remote host
1 I. g, p# @% A6 b7 M- N[compute09][DEBUG ] detect machine type! y7 _" e  Y- z3 ^
[compute09][DEBUG ] get remote short hostname4 y$ `- f& i8 w, L" w* I
[compute09][DEBUG ] fetch remote file
& f# B, N8 r& D1 m/ b[ceph_deploy.gatherkeys][WARNIN] No mon key found in host: compute09
* T# L  t" e) o6 [( N2 O! b0 }[ceph_deploy.gatherkeys][ERROR ] Failed to connect to host:compute06, compute07, compute08, compute09$ A! A/ H0 K* B: T6 N
[ceph_deploy.gatherkeys][INFO  ] Destroy temp directory /tmp/tmpPXym0f
( l9 N( E, X0 @, A; f- ]2 j[ceph_deploy][ERROR ] RuntimeError: Failed to connect any mon
8 g/ ?; ^, M: N

" d# j8 Q; W! s, d/ p2 h, \; O, w# ^$ c: b) P- \: ~. N
[ceph_deploy.gatherkeys][WARNING] No mon key found in host: compute 09
% ?4 R" q1 f  p: R5 a% X
% V  T+ E& t" p思路,通过warning  no mon key found ( a3 I, P. S8 L6 w" X

, w# t8 N5 F2 c0 f% j思路. K8 ?3 o* e- d- w4 v# X$ X  N6 [
检查文件keyring
4 J0 L+ Q, m9 T[root@hostceph1 deploy]# ls& B- P& H2 }- w6 e8 R; m
ceph.bootstrap-mds.keyring  ceph.client.cinder-backup.keyring  ceph.client.cinder-volume.keyring  ceph.client.gnocchi.keyring  ceph.conf             osdcreate.sh2 }- f" O. R! F1 j! k9 c/ {
ceph.client.admin.keyring   ceph.client.cinder.keyring         ceph.client.glance.keyring         ceph.client.nova.keyring     ceph-deploy-ceph.log
( j( @# h6 \+ p( H0 h[root@hostceph1 deploy]# 7 G' J; S& d" T$ n$ K7 v
0 I/ R) ?! y/ j/ \

( k0 G  I3 p/ ~- V解决步骤:' _: Y2 K% ]& q; O

1 e: J6 v+ H8 n- A. |
: s3 [5 V1 F0 j& M  |$ Qceph auth get client.bootstrap-mds -o /ceph/deploy/ceph.bootstrap-mds.keyring
9 c3 l' x/ J6 ^4 t3 D
+ ^: a" Q) q1 d! O0 I# ceph auth get client.bootstrap-osd -o /ceph/deploy/ceph.bootstrap-osd.keyring5 X* X  k4 |1 T& d  J" {
exported keyring for client.bootstrap-osd6 s9 _0 \& J) I/ C; ?

; h( \1 q! e8 I  P
# d. C, O8 Q; K- n* N8 T# c) g! M- P% p

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2021-8-6 12:48:56 | 显示全部楼层
# ceph auth get client.bootstrap-mgr -o /ceph/deploy/ceph.bootstrap-mgr.keyring6 ?0 H4 \# v  L9 b; K) ~4 }1 X
exported keyring for client.bootstrap-mgr  I5 o, }) f0 f$ A" K. w/ e$ [
. B9 I8 r! Q4 G' z/ x
# cp /var/lib/ceph/mon/ceph-hostceph1/keyring  /ceph/deploy/ceph.mon.keyring

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2021-8-6 13:01:30 | 显示全部楼层
ceph auth get mon.
* Z1 ^! e1 H# {: E8 n% Wexported keyring for mon.
# s8 N1 P) l# \- _) f; [[mon.]
% ~% l  d) `( u6 T4 U+ g1 |        key = AQB8KMNgAAAAABAAXMgzYvrjxQ5cmf+9qLIibA==, n; H6 q. B* f7 s  a/ ]$ {
        caps mon = "allow *"
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 02:04 , Processed in 0.017479 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表