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

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

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

* ^2 E) W. }' J" T; `$ y! |. a; j7 |[ceph_deploy.gatherkeys][WARNIN] No mon key found in host: compute06) f9 I3 s3 |+ ]1 `% k
[compute07][DEBUG ] connected to host: compute07
; X# h  J$ a' n; h5 z. \6 h[compute07][DEBUG ] detect platform information from remote host* b6 B( v6 b1 _' d
[compute07][DEBUG ] detect machine type
6 x( r, l1 b( A( x  c1 M  C5 K[compute07][DEBUG ] get remote short hostname" h* [. H1 M& B$ n) \3 m( e
[compute07][DEBUG ] fetch remote file
0 P8 H& Y6 f( V[ceph_deploy.gatherkeys][WARNIN] No mon key found in host: compute07. @+ G. i; R- B
[compute08][DEBUG ] connected to host: compute08 . \! |# t# t7 W4 k6 z
[compute08][DEBUG ] detect platform information from remote host
! A% N3 j- k* a[compute08][DEBUG ] detect machine type- K% B2 X: `+ u1 m
[compute08][DEBUG ] get remote short hostname
. N$ R! I7 d" m4 J* k9 t( g[compute08][DEBUG ] fetch remote file2 ?, U; ~8 m8 j6 b8 E2 ]% D
[ceph_deploy.gatherkeys][WARNIN] No mon key found in host: compute08
7 P4 w$ ]) c: O( _[compute09][DEBUG ] connected to host: compute09
3 |* o# K8 ^' h3 T# ?* `3 c0 o[compute09][DEBUG ] detect platform information from remote host& ^& l* P6 Q. ]5 R; [# _5 ]
[compute09][DEBUG ] detect machine type9 W& j& R& A1 Y6 U
[compute09][DEBUG ] get remote short hostname
$ @( p9 ?. G9 {- {[compute09][DEBUG ] fetch remote file4 l& G) L3 {: H2 @, W/ ^/ V
[ceph_deploy.gatherkeys][WARNIN] No mon key found in host: compute09
7 j2 z5 S6 J& b8 m0 e* [, e1 ]0 o[ceph_deploy.gatherkeys][ERROR ] Failed to connect to host:compute06, compute07, compute08, compute090 E+ }9 M5 U3 D8 a
[ceph_deploy.gatherkeys][INFO  ] Destroy temp directory /tmp/tmpPXym0f; t" y, s) S( \( j: b/ B; F8 c5 r7 z
[ceph_deploy][ERROR ] RuntimeError: Failed to connect any mon2 G, x/ A3 N) g/ @; t: s
, P1 R$ P6 p* d7 G  S' k7 ]3 t

* _, h1 I5 D) \[ceph_deploy.gatherkeys][WARNING] No mon key found in host: compute 09
& T8 O8 V: a- q( z, W& Q' q
- e# b4 s0 v2 y. H. m( n) \思路,通过warning  no mon key found ' }; d7 v5 x! O. ?" Y

: N3 k# l3 x8 h; F思路
8 N" Z3 o' L! R! V, y检查文件keyring6 ?! l& x( w8 T$ l" p
[root@hostceph1 deploy]# ls
" J" x" P  s4 Y) f# y7 ]ceph.bootstrap-mds.keyring  ceph.client.cinder-backup.keyring  ceph.client.cinder-volume.keyring  ceph.client.gnocchi.keyring  ceph.conf             osdcreate.sh
2 Z- |! e1 W: K+ R9 p  }ceph.client.admin.keyring   ceph.client.cinder.keyring         ceph.client.glance.keyring         ceph.client.nova.keyring     ceph-deploy-ceph.log
1 R" k- z4 [& w( E& K( k% k[root@hostceph1 deploy]#
5 ^4 X7 t+ p3 X3 J. Z( F$ x& J& \/ W6 n& n! E

: Q3 r2 Y3 T! ^  H; q解决步骤:# c* I: w2 s0 Q4 [
8 s6 ]) m! J( l' h, ?& p
. L# ~% Q3 Z$ U
ceph auth get client.bootstrap-mds -o /ceph/deploy/ceph.bootstrap-mds.keyring/ a( f" T/ l) ^2 U( s/ H
! S2 s. W' \2 N! C) A% S. J
# ceph auth get client.bootstrap-osd -o /ceph/deploy/ceph.bootstrap-osd.keyring' U. |1 o4 M8 z: Y' U/ a4 _% G: G
exported keyring for client.bootstrap-osd
4 Z$ ]4 `2 c; v8 f/ ]: o5 u! j( S. d9 R+ }3 Z3 X  _
6 a% K3 |9 @# @- V8 z: E9 M
4 p/ Q; _& G1 f- d2 f$ w; y3 \

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2021-8-6 12:48:56 | 显示全部楼层
# ceph auth get client.bootstrap-mgr -o /ceph/deploy/ceph.bootstrap-mgr.keyring+ h  ]: F( @* s6 O
exported keyring for client.bootstrap-mgr
5 Q3 Y0 O# S$ b) s" k
9 ]# u0 @0 m' [# h# 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.; X( k0 x- w5 k$ m" b. R
exported keyring for mon.
6 F& m% R! E9 p" j+ G  u$ W/ X1 G[mon.]
6 V, J& [' Y  ^8 g' q- @% B% P0 n        key = AQB8KMNgAAAAABAAXMgzYvrjxQ5cmf+9qLIibA==+ u& ~: t7 E5 A$ m8 U9 e
        caps mon = "allow *"
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 00:09 , Processed in 0.016572 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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