|
|
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 F% m* [! b; w) G4 n# B' t( v
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".+ o) g1 o* @2 F+ ?
2026-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".
" K: D$ l! } a9 t* L2 r) o) Z2026-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".
# |, ]. [# \# j( N2026-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"." X P- d5 d! ~$ Z1 z% `
2026-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) M& Z a, O4 M7 U2026-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"." b5 d, M* t1 O$ e
2026-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".' O% b k9 E& `, D1 E% q9 u
2026-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".! I6 l3 @+ j, v/ h
^C
* B7 t; r) U9 S" P+ c1 |[root@storage ~]#
5 W- O' t$ _8 B# I[root@storage ~]#
: I- C9 ?/ n* B* n[root@storage ~]# date
+ q4 o5 q7 N5 W1 c/ j5 tTue Mar 10 10:31:03 PM CST 20260 V& Q u$ T- c/ Y
[root@storage ~]# date
. ]( ?8 Z7 T4 n2 c1 o# Q: @# ]4 LTue Mar 10 10:31:07 PM CST 20260 x+ }- x+ {# ?. m( z; U
[root@storage ~]# ! V1 v# Q& m) D# T1 x7 e: n; i$ I
[root@storage ~]#
2 T- ?* w" G2 n( E) H: u[root@storage ~]#
; i% T; \5 j- J% ?1 ^[root@storage ~]#
C0 `# h7 G: E/ H; c' d排查原因,可能是lvm有问题:( g# W" o6 x4 C2 g
4 t. N+ n# B# \5 C通过vgscan发现:& A1 C; y9 ^9 Z. e) ~: R
[root@storage ~]# vgscan
& ^6 d) _2 D; o% ~ Invalid separator at end of regex.* l& i: e: L: v: s- ^
Invalid filter pattern "a|sda/".8 J& ^ B; \; a l8 }$ t2 K8 X
Failed to create regex device filter
- u# Q, w" i, L报错:# c {7 J/ G( L0 B* _/ d/ ~( G2 F- ] F
[root@storage ~]# vgscan
) e: r2 ?) A6 u2 K: F Invalid separator at end of regex.
p! U. P' b6 |8 ^* e Invalid filter pattern "a|sda/".
1 j' ] H$ h' { Failed to create regex device filter- _4 p4 r; [7 T2 {/ N3 @% e
修改 /etc/lvm/lvm.conf 文件:% t5 `+ {* L5 E( ?
[root@storage ~]# vim /etc/lvm/lvm.conf
: l4 d, b8 {# @% V$ e关于a|sda的地方" G4 \( y# Y( e
' V* E7 t ^7 @把| 改成/ 即可。
4 M/ [" P& a, E- m
7 R' f! a: d6 |重启lvm服务:
1 o& j8 M4 o z# c[root@storage ~]# systemctl restart lvm2-lvmpolld.service ; H6 X) r$ @( o6 M5 u2 F, G
恢复正常:( s' Q/ @# e1 M) Y) s |- u
[root@storage ~]# vgscan
5 @0 o& ^* i) r; v Found volume group "cinder-volumes" using metadata type lvm2
8 y* L5 N/ I# R4 P. Q- c但cinder日志报错:+ o# a Q8 m7 ^- }, p! ]; I
6 b% P- ~% @# z3 f! H[root@storage ~]# tail -f /var/log/cinder/volume.log ' K; p* R8 F2 i% n0 e# h" Z
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".
; o# s' c( U! B% K& _: f2026-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".
7 B& [1 g1 N: N0 C2026-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.
/ G# p3 A ^. v7 Y9 e2026-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".
; s- a1 q: W+ |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".
0 s1 j9 i `; P! f t% W5 r2026-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".3 C' z% J+ q/ j; V- D( ]; t
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".( l! X( Z) U+ `
2026-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".
' t) Z; C: t- @& @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".
7 g9 r% w; k. M# w. t. v A2026-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.
$ n7 ]2 A* X$ D/ f9 K9 e& s2026-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". u# j5 o3 q$ `9 w; g2 H$ G
^C/ o* g8 m7 C0 b# j
那就是没有重新加载:
/ m. O, ^' @# \重启服务:5 r& H/ g. v' ^2 C" H
[root@storage ~]# systemctl restart openstack-cinder-volume.service
5 S) V+ z: F! W. A6 C检查日志:
3 \, {1 ^5 y0 E# Q u; U[root@storage ~]# tail -f /var/log/cinder/volume.log 0 C) n) S" j9 D2 ?! \$ Z
2026-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 ignored4 q" B; P4 f- a, q- ?2 ^5 m: V
2026-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 ignored4 r( A- E+ Y- A$ Q: R& `
2026-03-10 22:34:56.908 2565 INFO oslo_service.service [None req-53a491b5-4a6f-477c-b55b-6f57eb897a03 - - - - - -] Child 2574 exited with status 06 j5 b: S, Y: Y4 F; W, P8 \
2026-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./ e2 F6 j( D# i& }
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.
* U2 B" `( |4 y- M' Z7 S& Y2026-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.& p. ]2 j! C6 L4 ~4 i- a
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.
7 f6 @! F5 V5 A, [# z8 c2026-03-10 22:34:58.965 3068 INFO oslo_service.service [None req-878538e8-c70b-47a0-ae74-43cda61960a8 - - - - - -] Starting 1 workers
- P$ a7 P& l8 E, T2026-03-10 22:34:58.975 3070 INFO cinder.service [-] Starting cinder-volume node (version 22.1.2)
7 ^" p' S0 c# {) o, T0 j5 j2026-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)
+ I: Q( i2 V7 o0 L( v) K1 p
+ P) w( s. W! V5 w+ D8 G8 d# G: U y2 L, G1 |
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
0 x1 ]. O5 u2 t5 E3 r2026-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.9 j( @ K/ c3 `- ^7 r, {+ W& U
2026-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()6 Z0 p) z, ~7 H- u
2026-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.
# c9 f. P' X* `% T/ H) Y3 M2026-03-10 22:35:11.744 3070 INFO cinder.volume.manager [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Driver initialization completed successfully.. p* O: R" l! @ o9 v0 ^% t- m+ y
2026-03-10 22:35:11.745 3070 INFO cinder.manager [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Initiating service 3 cleanup3 R+ Z8 Y o. s- t7 t: }8 u
2026-03-10 22:35:11.753 3070 INFO cinder.manager [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Service 3 cleanup completed.# v; j9 Y+ u4 T! ^
2026-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)
: g3 o: o6 S4 h- g/ S6 v9 S2026-03-10 22:35:14.128 3070 INFO cinder.volume.manager [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Driver post RPC initialization completed successfully.
. V% b6 k, L( S1 n$ b7 B3 `0 R1 R, l" t% O& f7 I7 e
恢复正常。
- |' D5 v* n6 j: Y# r
- W5 h1 o" }* ]9 v4 I8 B |
|