|
|
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
( U1 p5 D* u% k8 o1 M% y2021-01-14 23:50:19.440 164029 ERROR cinder.volume.drivers.rbd Traceback (most recent call last):
* l* ^$ U( x5 @) S; u2021-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" q" n/ f# _, Z* l8 H
2021-01-14 23:50:19.440 164029 ERROR cinder.volume.drivers.rbd client.connect(), u6 L6 k- }% _; e) H
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)
4 F5 g y: L" S9 {' P2021-01-14 23:50:19.440 164029 ERROR cinder.volume.drivers.rbd ObjectNotFound: error connecting to the cluster. B: E; g* L2 i
2021-01-14 23:50:19.440 164029 ERROR cinder.volume.drivers.rbd
7 O, d9 H4 u; g: n5 O9 ?' Y2021-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.
8 D O) n* G; _0 f: N3 H+ F& B2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager Traceback (most recent call last):' `* b# S, x5 L0 ]) H
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- T& X$ M: s9 h0 `7 S7 @" J
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager self.driver.check_for_setup_error()
9 u+ x c* U# K$ G; V/ S5 s2021-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_error5 p' U. z: q0 \# u0 E% b
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager with RADOSClient(self):
% e- m3 ?! ~- q1 C8 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 177, in __init__
# d& F$ G# Z' u2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager self.cluster, self.ioctx = driver._connect_to_rados(pool)% `4 N% l, P' d4 l0 } D& j
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 353, in _connect_to_rados1 b+ n& I2 O8 M5 m/ b2 j0 x8 R: h E
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager return _do_conn(pool, remote, timeout)
: H, o. S; [& C. h4 n 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. S: c4 h, P0 j6 `
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager return r.call(f, *args, **kwargs)
( L3 {' ~) C: X( {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. i0 f- ?- l/ E! y0 o
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager raise attempt.get()
# i9 L, X: j% f5 R$ O2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager File "/usr/lib/python2.7/site-packages/retrying.py", line 261, in get7 e" V3 Y. O6 E# w( G* @
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager six.reraise(self.value[0], self.value[1], self.value[2])" h" V9 ^/ s; |
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager File "/usr/lib/python2.7/site-packages/retrying.py", line 217, in call3 \( A7 k. o4 _! I V" T; s
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
9 m) {# x6 u. V" r2021-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_conn7 k; |$ Z- |4 J
2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager raise exception.VolumeBackendAPIException(data=msg)
; J4 Y9 r4 r3 s: C2021-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.
- P* Y( F! g9 J; J. Z6 x! ^2021-01-14 23:50:19.445 164029 ERROR cinder.volume.manager 3 t3 ~% q3 ^. g2 d; `2 I a& y8 x
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)5 i1 V# \4 Y% z1 x: Q% M
2021-01-14 23:50:19.700 164029 ERROR cinder.utils [req-34b29d6e-c90b-4224-b63e-f62889587026 - - - - -] Volume driver RBDDriver not initialized8 r$ E3 g3 ]" N$ h& Q' n
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.
5 q5 v7 s- C2 y! @- C2021-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".
! y6 O+ s m5 P2 i/ w9 L+ F0 A2021-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- }/ b2 G- n0 b
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".' s. m ~5 r; O& x3 h* A
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".* C' R4 V0 Y4 m+ i. E2 r
2021-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.
5 b E+ V( H; [$ F: M, V2021-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".8 m z8 V* U1 L+ v( C2 j+ W8 C! L
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".9 \/ M e. ?* n: o" J4 ~, H
3 S( c) A2 [% i/ u; A. l- V6 j$ I2 u. M
# g5 p, L3 v2 W% {( w" H6 \解决办法:8 q8 q- ^, [8 j
, V- x; W- g% U( @; n
检查ceph.conf文件权限是否能正常访问。修改好之后重新启动cinder-volume服务:
% e/ F2 m: w" o2 c/ Ssystemctl restart openstack-cinder-volume.service) n! z [$ f8 m. R! T5 U1 V$ B
1 H5 k5 W; o7 W |
|