开启辅助访问 天气与日历 收藏本站联系我们相册切换到窄版

易陆发现论坛

 找回密码
 开始注册
查看: 4943|回复: 1
收起左侧

-] Failed to initialize driver.: VolumeBackendAPIException: Bad or unexpected re

[复制链接]
发表于 2021-1-16 18:26:25 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?开始注册

x
2021-01-14 23:50:19.440 164029 ERROR cinder.volume.drivers.rbd [req-34b29d6e-c90b-4224-b63e-f62889587026 - - - - -] Error connecting to ceph cluster.: ObjectNotFound: error connecting to the cluster
" W( [1 o  t" [' y) {% {8 W2021-01-14 23:50:19.440 164029 ERROR cinder.volume.drivers.rbd Traceback (most recent call last):7 h/ v1 o4 C' y' p4 ?9 k2 p8 u! D
2021-01-14 23:50:19.440 164029 ERROR cinder.volume.drivers.rbd   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/rbd.py", line 344, in _do_conn
& D0 b0 ^* H& d: m- m" i2021-01-14 23:50:19.440 164029 ERROR cinder.volume.drivers.rbd     client.connect()8 {7 Z+ M* B3 v3 I, y; j
2021-01-14 23:50:19.440 164029 ERROR cinder.volume.drivers.rbd   File "rados.pyx", line 796, in rados.Rados.connect (rados.c:8989)- X- P9 B: n9 v6 A
2021-01-14 23:50:19.440 164029 ERROR cinder.volume.drivers.rbd ObjectNotFound: error connecting to the cluster
7 ?+ o; q; P1 a9 C2021-01-14 23:50:19.440 164029 ERROR cinder.volume.drivers.rbd * {6 {  N8 z( k# r4 C" U1 c3 S3 P
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager [req-34b29d6e-c90b-4224-b63e-f62889587026 - - - - -] Failed to initialize driver.: VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Error connecting to ceph cluster.
# A2 Y4 a2 c9 j( R$ [0 g2 o0 N2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager Traceback (most recent call last):# j! P  `' U# o' x% o5 W
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager   File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 457, in init_host
7 t6 B# d- \0 Z' d2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager     self.driver.check_for_setup_error(). @2 t7 t& b5 D/ z! ]
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/rbd.py", line 295, in check_for_setup_error
# M: O2 B# A1 L8 R2 j2 S  F7 G2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager     with RADOSClient(self):8 Z" T" A# a* {& j3 }. x
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/rbd.py", line 177, in __init__
$ K$ H  C; [# W4 Q2 M* L2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager     self.cluster, self.ioctx = driver._connect_to_rados(pool)
, V( S" ]: P, X# N. T2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/rbd.py", line 353, in _connect_to_rados& u9 ]! l# W+ _. m3 ^5 k
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager     return _do_conn(pool, remote, timeout)
; l( Q0 y# s5 K7 {7 g* |2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager   File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 818, in _wrapper
" _7 H8 _3 H+ I2 M1 D2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager     return r.call(f, *args, **kwargs)
+ `% |& a" f  u4 V0 M) N! ^2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager   File "/usr/lib/python2.7/site-packages/retrying.py", line 229, in call
+ Z" _% o; ~4 T" K- a  W2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager     raise attempt.get()$ _" O$ J3 q! ~1 U& ?4 T* v
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager   File "/usr/lib/python2.7/site-packages/retrying.py", line 261, in get
' G$ Z* p  @- n& _2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager     six.reraise(self.value[0], self.value[1], self.value[2])
' n$ A  C1 ?9 \( F8 Z$ B2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager   File "/usr/lib/python2.7/site-packages/retrying.py", line 217, in call- G9 J* d! H' `$ k8 h
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager     attempt = Attempt(fn(*args, **kwargs), attempt_number, False)+ y' E2 g0 a; Z9 n9 p( C% s
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/rbd.py", line 351, in _do_conn  W3 Z7 A  Z& S* w1 L
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager     raise exception.VolumeBackendAPIException(data=msg)- _  K2 i9 |1 h( X, z5 }
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Error connecting to ceph cluster.
/ j/ p9 j5 s- d' A, G2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager " ~' A% {- M* L. A' ~! W
2021-01-14 23:50:19.698 164029 INFO cinder.volume.manager [req-34b29d6e-c90b-4224-b63e-f62889587026 - - - - -] Initializing RPC dependent components of volume driver RBDDriver (1.2.0)
+ z. K# f) P1 s2021-01-14 23:50:19.700 164029 ERROR cinder.utils [req-34b29d6e-c90b-4224-b63e-f62889587026 - - - - -] Volume driver RBDDriver not initialized- R) r  ^& {& ?; [( t6 x) d
2021-01-14 23:50:19.702 164029 ERROR cinder.volume.manager [req-34b29d6e-c90b-4224-b63e-f62889587026 - - - - -] Cannot complete RPC initialization because driver isn't initialized properly.: DriverNotInitialized: Volume driver not ready.
- v. d2 U0 D+ ~. l$ ^( I2021-01-14 23:50:29.705 164029 ERROR cinder.service [-] Manager for service cinder-volume zxm1@ceph1 is reporting problems, not sending heartbeat. Service will appear "down".
7 P) Z- v4 l8 z# t7 v6 v2021-01-14 23:50:39.707 164029 ERROR cinder.service [-] Manager for service cinder-volume zxm1@ceph1 is reporting problems, not sending heartbeat. Service will appear "down".* ]# W$ i- Z6 G/ d8 E1 T
2021-01-14 23:50:49.708 164029 ERROR cinder.service [-] Manager for service cinder-volume zxm1@ceph1 is reporting problems, not sending heartbeat. Service will appear "down".8 ~$ b- O# k+ g% i: q4 G0 w
2021-01-14 23:50:59.712 164029 ERROR cinder.service [-] Manager for service cinder-volume zxm1@ceph1 is reporting problems, not sending heartbeat. Service will appear "down".
" P# ]( h% T* F7 ^7 C2021-01-14 23:51:03.708 164029 WARNING cinder.volume.manager [req-d67bdea0-18df-4362-82cb-929c557d8660 - - - - -] Update driver status failed: (config name ceph1) is uninitialized.+ L, [5 i/ u# t. J
2021-01-14 23:51:09.707 164029 ERROR cinder.service [-] Manager for service cinder-volume zxm1@ceph1 is reporting problems, not sending heartbeat. Service will appear "down".# X3 i* _) Y, X% H% `6 n' }) k
2021-01-14 23:51:19.709 164029 ERROR cinder.service [-] Manager for service cinder-volume zxm1@ceph1 is reporting problems, not sending heartbeat. Service will appear "down".
! _3 A: k) ?* L
! C1 m. G* O  Z/ M
# o) ~4 W& w8 w/ {2 T, X2 q解决办法:" Z3 R3 O9 E3 k' B- f. h6 e
3 V8 _6 B/ u  U/ y0 ], x
检查ceph.conf文件权限是否能正常访问。修改好之后重新启动cinder-volume服务:! }3 F5 c+ r& j/ w* Z4 ]+ N2 F/ R9 r
systemctl restart openstack-cinder-volume.service6 W; Q, ~- o9 c: O& l! B2 h5 y/ |
0 B( @" n; D+ c- K" f6 x3 Q
 楼主| 发表于 2021-1-22 20:03:32 | 显示全部楼层
2021-01-22 20:02:44.935 2681 DEBUG cinder.volume.drivers.rbd [req-bc048270-671c-494b-9c20-f7bf884c174e - - - - -] connecting to ceph (timeout=-1). _do_conn /usr/lib/python2.7/site-packages/cinder/volume/drivers/rbd.py:3314 t, m1 L6 S: g, x
2021-01-22 20:02:44.957 2681 ERROR cinder.volume.drivers.rbd [req-bc048270-671c-494b-9c20-f7bf884c174e - - - - -] Error connecting to ceph cluster.: ObjectNotFound: error connecting to the cluster& r) _, v* `2 _+ U8 G  E. h
2021-01-22 20:02:44.957 2681 ERROR cinder.volume.drivers.rbd Traceback (most recent call last):& i% W2 W! t1 d1 r  K6 S& H! b
2021-01-22 20:02:44.957 2681 ERROR cinder.volume.drivers.rbd   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/rbd.py", line 344, in _do_conn
, p8 l( S" t; n2021-01-22 20:02:44.957 2681 ERROR cinder.volume.drivers.rbd     client.connect()8 c! N& Z8 W+ x
2021-01-22 20:02:44.957 2681 ERROR cinder.volume.drivers.rbd   File "rados.pyx", line 796, in rados.Rados.connect (rados.c:8989)
5 I1 }$ b! n) E1 Y& E3 M2021-01-22 20:02:44.957 2681 ERROR cinder.volume.drivers.rbd ObjectNotFound: error connecting to the cluster, p/ G6 q; T) \: Y# L3 t) J5 {0 p+ e
2021-01-22 20:02:44.957 2681 ERROR cinder.volume.drivers.rbd
- l* r' ?5 x6 ~% u; i! L2021-01-22 20:02:49.960 2681 DEBUG cinder.utils [req-bc048270-671c-494b-9c20-f7bf884c174e - - - - -] Failed attempt 3 _print_stop /usr/lib/python2.7/site-packages/cinder/utils.py:802
+ B* U9 [' u( u; L2021-01-22 20:02:49.960 2681 DEBUG cinder.utils [req-bc048270-671c-494b-9c20-f7bf884c174e - - - - -] Have been at this for 35.09 seconds _print_stop /usr/lib/python2.7/site-packages/cinder/utils.py:8040 R- m% G/ c: x" G9 E) A! L: `
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task [req-bc048270-671c-494b-9c20-f7bf884c174e - - - - -] Error during VolumeManager.publish_service_capabilities: VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Error connecting to ceph cluster., F( Q+ Z6 T6 X2 t% l* ?
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task Traceback (most recent call last):; A7 N5 @- o3 V; B
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/oslo_service/periodic_task.py", line 220, in run_periodic_tasks: r2 A' n* {" I
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     task(self, context)5 b2 H1 P, ?3 B
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 2566, in publish_service_capabilities3 e2 H9 f* x" [! M
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     self._report_driver_status(context)
& ^7 Z) Q0 r9 `# ~2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 2463, in _report_driver_status
4 b7 N8 w, W+ `' N6 p/ a6 Q2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     volume_stats = self.driver.get_volume_stats(refresh=True)
$ ]' r; L6 ?% q2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/rbd.py", line 521, in get_volume_stats
8 {. G5 b( N4 J, E7 b; N' C4 `; c# I2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     self._update_volume_stats()
. [" [1 z* g0 i* L2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/rbd.py", line 473, in _update_volume_stats
9 t0 B3 o7 K- |) f+ _* C6 u2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     self._get_fsid(),
6 G/ I" K6 i8 S* M* E% T5 f6 }2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/rbd.py", line 1273, in _get_fsid& p: u3 i0 j$ v4 [% S2 T
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     with RADOSClient(self) as client:8 N4 C: a) T7 }9 ^) V/ h
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/rbd.py", line 177, in __init__
0 G" @2 b7 P; W2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     self.cluster, self.ioctx = driver._connect_to_rados(pool)7 Y% M/ u2 H7 r) B4 Q" s' U$ o+ V
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/rbd.py", line 353, in _connect_to_rados
0 m  h+ |: E; ^: B7 k2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     return _do_conn(pool, remote, timeout). U% j" r3 m4 H
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 818, in _wrapper0 O5 W( m3 |) _
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     return r.call(f, *args, **kwargs)) C6 V& F/ i0 y$ U. h: M" U
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/retrying.py", line 229, in call: U# S  R/ o" v
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     raise attempt.get()
0 R: |/ Z% O) J) d- D$ a2 s2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/retrying.py", line 261, in get+ ]6 W& N$ S) X3 y7 j
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     six.reraise(self.value[0], self.value[1], self.value[2])
% K( E* r) N- Y; [* g6 V9 M2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/retrying.py", line 217, in call. H4 Y7 c+ `$ N+ q% u' u
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
  N; r' ]: z) p. P4 G; Y. \2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/rbd.py", line 351, in _do_conn
0 U( l' d0 r+ M+ W; S; X( K" F$ c2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     raise exception.VolumeBackendAPIException(data=msg)$ x! z( r* a9 B4 c& E0 f, _
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Error connecting to ceph cluster.
$ o; D  C- Z7 j$ P* M$ T2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

如有购买积分卡请联系497906712

QQ|返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 点击这里给我发消息

GMT+8, 2023-12-2 03:33 , Processed in 0.042886 second(s), 22 queries .

Powered by LR.LINUX.cloud bbs168x X3.2 Licensed

© 2012-2025 Comsenz Inc.

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