|
|
2026-03-10 22:29:47.323 2574 ERROR cinder.service [-] Manager for service cinder-volume storage@lvm is reporting problems, not sending heartbeat. Service will appear "down".2 C9 u6 s3 e0 S% C- q: P
2026-03-10 22:29:57.325 2574 ERROR cinder.service [-] Manager for service cinder-volume storage@lvm is reporting problems, not sending heartbeat. Service will appear "down".
" D+ r M" P3 y# B! C2 A6 Q2026-03-10 22:30:07.326 2574 ERROR cinder.service [-] Manager for service cinder-volume storage@lvm is reporting problems, not sending heartbeat. Service will appear "down".; X5 I" l9 L2 V4 W7 y
2026-03-10 22:30:17.328 2574 ERROR cinder.service [-] Manager for service cinder-volume storage@lvm is reporting problems, not sending heartbeat. Service will appear "down".
3 W1 ~) \, {4 ~6 C8 n' V2026-03-10 22:30:27.329 2574 ERROR cinder.service [-] Manager for service cinder-volume storage@lvm is reporting problems, not sending heartbeat. Service will appear "down".
* d0 ~/ j M6 L, f3 M3 y2026-03-10 22:30:27.934 2574 WARNING cinder.volume.manager [None req-54592050-a55c-48ff-8d1e-d31c89b457af - - - - - -] Update driver status failed: (config name lvm) is uninitialized.
/ e: z* i& A* C2026-03-10 22:30:37.331 2574 ERROR cinder.service [-] Manager for service cinder-volume storage@lvm is reporting problems, not sending heartbeat. Service will appear "down".
* o( f0 Z6 D J$ Z- l2026-03-10 22:30:47.332 2574 ERROR cinder.service [-] Manager for service cinder-volume storage@lvm is reporting problems, not sending heartbeat. Service will appear "down".
+ K2 B1 ]/ a/ C; o) W% ~3 A- x2026-03-10 22:30:57.334 2574 ERROR cinder.service [-] Manager for service cinder-volume storage@lvm is reporting problems, not sending heartbeat. Service will appear "down".
1 ?2 U# X( D4 p^C/ `% u* @, R9 ]% s
[root@storage ~]# 7 |1 I! P" }% z! N# v
[root@storage ~]#
P- B) o3 @6 P0 Q- k4 a[root@storage ~]# date
+ E8 M2 g+ p ]Tue Mar 10 10:31:03 PM CST 2026
: ^* s4 S( s3 [ I[root@storage ~]# date
) ^ _( F; M& zTue Mar 10 10:31:07 PM CST 2026
% C( K# m; ^! Y7 F3 ^6 s$ C[root@storage ~]#
1 s. k* w( s# U$ [[root@storage ~]#
) }6 _! G$ B4 u# z[root@storage ~]# 7 {/ h+ k. i: |" e$ |
[root@storage ~]#
! _0 A# i; u& e7 z排查原因,可能是lvm有问题:! B% s5 C/ x2 Q' M" p+ I6 c
+ G$ {5 f2 d/ |
通过vgscan发现:& p! l7 |, [' \5 b" V& _
[root@storage ~]# vgscan
0 \8 W6 U+ n! U# A# h Invalid separator at end of regex.
9 z+ ^, Q3 r2 S8 ^" g* n/ i Invalid filter pattern "a|sda/".
+ }0 S$ c$ ]# | Failed to create regex device filter6 I( a- B& N% m+ c! N* ^2 x% O. Y
报错:# X% W* s$ R9 O1 f, {; p1 Q, _/ Z/ d
[root@storage ~]# vgscan
F |; |: h8 l% R# G3 W2 L Invalid separator at end of regex.& m0 k& Y) A& n" q; W, d, R. D
Invalid filter pattern "a|sda/".+ M u7 _( }! {1 C
Failed to create regex device filter, k% ?. R4 s1 B" I* ~
修改 /etc/lvm/lvm.conf 文件:
T7 D2 }4 q8 B2 V8 q; Z[root@storage ~]# vim /etc/lvm/lvm.conf& A# o; K2 n8 `0 R/ o2 U, O# a
关于a|sda的地方
( Z" }; t, @+ g
( \" Y# p9 E$ R4 ^& X把| 改成/ 即可。
* g+ m0 z c8 s0 Q9 V: ]8 J4 y! z. _3 X# l& S0 F( \, J/ B0 Q
重启lvm服务: 6 z5 o6 U4 r$ j$ E
[root@storage ~]# systemctl restart lvm2-lvmpolld.service - l0 I! X0 C% F' A
恢复正常:
/ J$ Z A& U" E[root@storage ~]# vgscan , O7 A7 A% A8 e' j8 k e
Found volume group "cinder-volumes" using metadata type lvm2+ F' l. M- q. ]1 I* T! d" Y( d
但cinder日志报错:& I. \! k' J. o, x3 U
( Y& C3 I! k; a& X[root@storage ~]# tail -f /var/log/cinder/volume.log + o. s+ l# \8 H/ m
2026-03-10 22:33:17.357 2574 ERROR cinder.service [-] Manager for service cinder-volume storage@lvm is reporting problems, not sending heartbeat. Service will appear "down".+ J5 \0 l% C* I: \
2026-03-10 22:33:27.358 2574 ERROR cinder.service [-] Manager for service cinder-volume storage@lvm is reporting problems, not sending heartbeat. Service will appear "down".
1 R7 N# A5 L* @9 z2026-03-10 22:33:27.937 2574 WARNING cinder.volume.manager [None req-54592050-a55c-48ff-8d1e-d31c89b457af - - - - - -] Update driver status failed: (config name lvm) is uninitialized.
6 P' e% L3 V* v9 g. n2026-03-10 22:33:37.359 2574 ERROR cinder.service [-] Manager for service cinder-volume storage@lvm is reporting problems, not sending heartbeat. Service will appear "down".: t. w! F9 S% [' ^ Z2 c
2026-03-10 22:33:47.361 2574 ERROR cinder.service [-] Manager for service cinder-volume storage@lvm is reporting problems, not sending heartbeat. Service will appear "down"." b5 R* T/ R* Q' N, U
2026-03-10 22:33:57.363 2574 ERROR cinder.service [-] Manager for service cinder-volume storage@lvm is reporting problems, not sending heartbeat. Service will appear "down".
' X: V/ c# d2 p4 Z& z( w, }2026-03-10 22:34:07.365 2574 ERROR cinder.service [-] Manager for service cinder-volume storage@lvm is reporting problems, not sending heartbeat. Service will appear "down".
$ ?/ J* N1 ?' \( m2 @( S2026-03-10 22:34:17.366 2574 ERROR cinder.service [-] Manager for service cinder-volume storage@lvm is reporting problems, not sending heartbeat. Service will appear "down".8 {1 w, ~' w/ ^1 E2 C; _& p
2026-03-10 22:34:27.367 2574 ERROR cinder.service [-] Manager for service cinder-volume storage@lvm is reporting problems, not sending heartbeat. Service will appear "down".
- Z0 x# p/ G V2026-03-10 22:34:27.939 2574 WARNING cinder.volume.manager [None req-54592050-a55c-48ff-8d1e-d31c89b457af - - - - - -] Update driver status failed: (config name lvm) is uninitialized.) K( a! x& b% O4 V
2026-03-10 22:34:37.368 2574 ERROR cinder.service [-] Manager for service cinder-volume storage@lvm is reporting problems, not sending heartbeat. Service will appear "down".
* J9 [3 W! h0 Q- C9 ^^C
2 ?; ^& L$ D& e4 e5 t那就是没有重新加载: 4 E A, [* {8 P( b" S* R2 \) G
重启服务: n& G1 E1 c9 \7 H! U
[root@storage ~]# systemctl restart openstack-cinder-volume.service
* t: f7 d0 C+ A# {- k) `检查日志:4 a. k% M* Y' c: v& e
[root@storage ~]# tail -f /var/log/cinder/volume.log
* O' ?# H6 P( M1 n( v2026-03-10 22:34:56.897 2574 WARNING amqp [None req-53a491b5-4a6f-477c-b55b-6f57eb897a03 - - - - - -] Received method (60, 30) during closing channel 1. This method will be ignored
* N v& f3 W5 [9 x1 U F8 a4 \4 v2026-03-10 22:34:56.900 2574 WARNING amqp [None req-53a491b5-4a6f-477c-b55b-6f57eb897a03 - - - - - -] Received method (60, 30) during closing channel 1. This method will be ignored( z5 n) Y: b. U2 C3 z
2026-03-10 22:34:56.908 2565 INFO oslo_service.service [None req-53a491b5-4a6f-477c-b55b-6f57eb897a03 - - - - - -] Child 2574 exited with status 0
: t7 ?! ?( d8 u2 j* A1 j2026-03-10 22:34:58.837 3068 INFO cinder.rpc [None req-878538e8-c70b-47a0-ae74-43cda61960a8 - - - - - -] Automatically selected cinder-scheduler objects version 1.39 as minimum service version.# j! f/ c9 B4 Y/ E; o
2026-03-10 22:34:58.840 3068 INFO cinder.rpc [None req-878538e8-c70b-47a0-ae74-43cda61960a8 - - - - - -] Automatically selected cinder-scheduler RPC version 3.12 as minimum service version./ K" V6 e# o2 e( }- W3 I8 ~- o
2026-03-10 22:34:58.945 3068 INFO cinder.volume.manager [None req-878538e8-c70b-47a0-ae74-43cda61960a8 - - - - - -] Determined volume DB was empty at startup.+ q9 ^/ ^) p: Z3 w( k
2026-03-10 22:34:58.955 3068 INFO cinder.volume.manager [None req-878538e8-c70b-47a0-ae74-43cda61960a8 - - - - - -] Image-volume cache disabled for host storage@lvm.0 g7 b, S5 R+ a n2 @2 ~
2026-03-10 22:34:58.965 3068 INFO oslo_service.service [None req-878538e8-c70b-47a0-ae74-43cda61960a8 - - - - - -] Starting 1 workers. {: G0 ^' C& I( p, S& v0 K9 h3 t
2026-03-10 22:34:58.975 3070 INFO cinder.service [-] Starting cinder-volume node (version 22.1.2)
1 `5 ]5 p" a' t" ~. g. R2026-03-10 22:34:58.992 3070 INFO cinder.volume.manager [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Starting volume driver LVMVolumeDriver (3.0.0)
9 n! z. H+ f: ]$ b& m! Q+ I" ? |3 a3 @, j; k
5 |1 h9 H* u( N
2026-03-10 22:35:00.261 3070 INFO cinder.brick.local_dev.lvm [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Logical Volume not found when querying LVM info. (vg_name=cinder-volumes, lv_name=cinder-volumes-pool) o+ ?3 @5 ?7 i8 y/ S
2026-03-10 22:35:06.509 3070 INFO cinder.volume.drivers.lvm [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Enabling LVM thin provisioning by default because a thin pool exists.
: a# y. h6 `% y2 I2026-03-10 22:35:09.386 3070 INFO cinder.volume.driver [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Driver hasn't implemented _init_vendor_properties()
! _8 @, M; a+ l' X2026-03-10 22:35:09.459 3070 INFO cinder.keymgr.migration [None req-7cc46d98-349a-451c-9d03-c42d332cb3c3 - - - - - -] Not migrating encryption keys because the ConfKeyManager's fixed_key is not in use.. w* T1 i3 f7 ^
2026-03-10 22:35:11.744 3070 INFO cinder.volume.manager [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Driver initialization completed successfully.2 p& _6 r) w. W5 i1 V
2026-03-10 22:35:11.745 3070 INFO cinder.manager [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Initiating service 3 cleanup
% k! r* c" w: }2026-03-10 22:35:11.753 3070 INFO cinder.manager [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Service 3 cleanup completed.
4 k; |. W5 V2 w* O; l$ A2 d2 ?$ B2026-03-10 22:35:11.787 3070 INFO cinder.volume.manager [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Initializing RPC dependent components of volume driver LVMVolumeDriver (3.0.0)
" B' J7 e9 F& }8 F2026-03-10 22:35:14.128 3070 INFO cinder.volume.manager [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Driver post RPC initialization completed successfully.
j2 M" T4 }" E8 o
+ t& Q0 g8 Q% \恢复正常。
4 b# Q, O! L) ?. C: {0 B- L1 Z0 b0 B2 ]
|
|