将设为首页浏览此站
开启辅助访问 天气与日历 收藏本站联系我们切换到窄版

易陆发现论坛

 找回密码
 开始注册
查看: 365|回复: 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
/ t" ^, N: e% g2021-01-14 23:50:19.440 164029 ERROR cinder.volume.drivers.rbd Traceback (most recent call last):
; S# C8 j0 ]+ ]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_conn0 X  r1 f9 {5 u0 ?. f
2021-01-14 23:50:19.440 164029 ERROR cinder.volume.drivers.rbd     client.connect()% {; o6 t$ \; }( I4 M2 C$ U9 [
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)
/ {$ V) p8 ]% ^$ e# ]6 z2021-01-14 23:50:19.440 164029 ERROR cinder.volume.drivers.rbd ObjectNotFound: error connecting to the cluster9 _7 o  t) A4 `
2021-01-14 23:50:19.440 164029 ERROR cinder.volume.drivers.rbd
- o; O# ]0 l% C, T. s2021-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.  t, O2 \  K/ T3 C. ~  w" _
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager Traceback (most recent call last):
5 c, ^2 x. I% y- H9 z" q2021-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, X9 M4 s, l+ T9 q
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager     self.driver.check_for_setup_error()
! O1 D9 o1 p  {5 X2021-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
5 E& E4 @* T# ~6 ^7 k3 E/ {) r2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager     with RADOSClient(self):
3 @" G/ A$ t+ Z! C8 X7 A1 q2021-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__" e* d5 V1 S9 P2 b# o4 Z  O! C
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager     self.cluster, self.ioctx = driver._connect_to_rados(pool)
* U0 ?" H4 ~% X2021-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
4 v+ E* {9 l- t% d1 E2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager     return _do_conn(pool, remote, timeout)
6 [( c+ J( {7 ?" ~1 D2021-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. a! ]! g  k( h
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager     return r.call(f, *args, **kwargs)( e8 g" y) Q6 d+ z/ h" A) ^; r+ V
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
' |1 P2 B5 W5 b5 A2 U" ~" c2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager     raise attempt.get()
0 G! L- u$ U5 D$ R- r6 V1 X# {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# J% R* u. x' @7 m
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager     six.reraise(self.value[0], self.value[1], self.value[2])
1 }5 V3 @" z  L) _2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager   File "/usr/lib/python2.7/site-packages/retrying.py", line 217, in call
( p' |. ^4 F* F2 V2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager     attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
. N& S& d; O& M9 g, L2021-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
- }3 T3 }( i, _  r2 M9 G% }2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager     raise exception.VolumeBackendAPIException(data=msg)
4 m  D' n% z: K( a2021-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.2 Y, A) G) U& {) @
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager 5 w) M: d3 X/ R4 C, W4 a
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)
! a  Q% [* M. a6 ?2021-01-14 23:50:19.700 164029 ERROR cinder.utils [req-34b29d6e-c90b-4224-b63e-f62889587026 - - - - -] Volume driver RBDDriver not initialized* i" R# v4 }* ^( Q; 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.. n- I- v3 A  o" J. G' c
2021-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".
) I$ ]! _9 d, B8 S+ |+ ?; R, r  C2021-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".
+ P  [4 G" o& b' ?* o6 x1 L2021-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".
1 j* Q/ X; b. k6 ~; _/ M2021-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".
, T6 a$ i. @6 S+ b( J# f% P2021-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.
8 b' @  Z7 w; a2021-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".
/ ^& ?1 |. c, m2 k2021-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".4 ^' Q- h3 N6 J4 \) O! H

" U( i0 ~/ B" L6 R7 Y# O
$ x4 |  u+ _  g( A3 N解决办法:" k6 B. T  o. c$ u3 ]- [
, R% s5 \5 e% `# c$ t  ~& t+ a
检查ceph.conf文件权限是否能正常访问。修改好之后重新启动cinder-volume服务:1 X- T  E+ n# U: W5 u. z4 T0 ?
systemctl restart openstack-cinder-volume.service% C$ d8 I3 y- L: N. Y3 q
8 N+ X7 E2 o. b
 楼主| 发表于 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:331
5 h- J0 K& a5 A5 A, y% G, L" C2021-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& [% {+ Q* f/ W" S
2021-01-22 20:02:44.957 2681 ERROR cinder.volume.drivers.rbd Traceback (most recent call last):
" q* t, X9 g6 \8 e* k2021-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
9 k2 t7 `& i. P$ O2021-01-22 20:02:44.957 2681 ERROR cinder.volume.drivers.rbd     client.connect()
  F6 B6 r# r4 H. X/ k2 {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)
: h7 ]7 f* ^2 X1 W  g, `1 Q2021-01-22 20:02:44.957 2681 ERROR cinder.volume.drivers.rbd ObjectNotFound: error connecting to the cluster
5 U- {3 ^& h' n  M1 W* p$ B. j( w  h2021-01-22 20:02:44.957 2681 ERROR cinder.volume.drivers.rbd 8 [  F$ O7 f& Q
2021-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' }  j  Z6 y/ ?! z
2021-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:804
- P7 r3 c) d! d$ ]) q' L+ o0 B2021-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.$ H+ o1 s! ^2 a
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task Traceback (most recent call last):
, m; J$ i( ^% {6 ]0 U7 [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
9 c0 A: w5 B' M) _2 v' v: z3 S' H2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     task(self, context)8 S' E9 P! S: T$ D7 ?6 u
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_capabilities
; j9 [1 w, Q4 [2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     self._report_driver_status(context)
$ ^: F" O& L, v/ `8 X! I2021-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
, M/ }: D/ y/ M1 }2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     volume_stats = self.driver.get_volume_stats(refresh=True)  k' x5 R1 A. J$ A3 v% K
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 521, in get_volume_stats5 C9 ?' C. }3 _2 ?9 C1 O
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     self._update_volume_stats()
7 `- u9 d! I& o+ x& e8 C2021-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+ x3 ^, o  q5 G$ g: t
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     self._get_fsid(),; v2 |: P) G# E  T
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_fsid5 e8 @- u! Q/ \/ G3 u
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     with RADOSClient(self) as client:
) S# A: T) i% S: }4 t2021-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__
. f" n; \% o& D  o2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     self.cluster, self.ioctx = driver._connect_to_rados(pool)" b1 ]- m" |& [4 W8 R
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
3 h  a1 c- \: m% `0 z5 D/ t* i7 S2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     return _do_conn(pool, remote, timeout)
' c$ T# Y* |- Z. V2021-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 _wrapper9 t( e6 i3 {# P" Y4 ^+ n$ m( z
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     return r.call(f, *args, **kwargs)
$ @0 ^4 ?- j/ k. S$ |% {5 s2021-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* O% D. {  Q5 W8 }3 S6 O
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     raise attempt.get()5 {8 s- M9 P" v/ u
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/retrying.py", line 261, in get1 g; f- d( S/ G7 k# v* i
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     six.reraise(self.value[0], self.value[1], self.value[2])
8 j4 x6 o% R% O- l# g8 \8 e+ u2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/retrying.py", line 217, in call5 I# I3 I; G# Y: S: G9 J
2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
( j2 z' [- ^# g7 `7 u2021-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
3 I# t; t( w. s+ B. @8 z2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task     raise exception.VolumeBackendAPIException(data=msg)  B+ e  ?# U) _# s8 x; ~( s' K
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.
; b, S: O' k* I4 A2021-01-22 20:02:49.961 2681 ERROR oslo_service.periodic_task
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

如有购买积分卡请联系497906712

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

GMT+8, 2021-4-13 09:18 , Processed in 0.491327 second(s), 24 queries .

Powered by 龙睿 bbs168x X3.2

© 2001-2020 Comsenz Inc.

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