|
|
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".
, y! u# u% l& q: L. b0 l2026-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".% }. i3 g4 Z- k2 \: F+ ]/ W
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".7 v. @+ K) Y. s' W" k( N7 M+ q
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".& {, `# G- g y2 B" K/ }1 \
2026-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".$ n, E W1 C1 R
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.
) r" t- `, ]" d' A# U7 y4 H8 c4 R2026-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".
) x7 g0 G+ t# g/ ]4 Z2026-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".
6 i- @8 S# T& }, S: q2026-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".+ C/ q# Q9 \* z7 F- c
^C8 c3 ]1 o2 u# d
[root@storage ~]# , D" k9 } V6 \" W+ o5 p6 s& _3 K
[root@storage ~]# ( J9 [# O8 {3 E5 [0 T
[root@storage ~]# date
7 n. s4 l5 Z. S1 YTue Mar 10 10:31:03 PM CST 20267 ~& k$ B9 b; Z$ W
[root@storage ~]# date# t" c* J7 A0 u9 Y4 u+ S
Tue Mar 10 10:31:07 PM CST 20268 v5 \5 b1 }! V. W
[root@storage ~]# 6 ^+ b4 g0 m0 y7 f# I: x. x
[root@storage ~]#
' c0 D4 M& ^* @2 K$ E[root@storage ~]#
: y6 Y+ P/ ^+ B% P1 \/ m; _[root@storage ~]# ( ]2 \) x \4 l: e) h) w4 J
排查原因,可能是lvm有问题:
e e" l) D# \1 x+ a( G7 C( W$ r& ]+ l5 l2 o# ] o) T
通过vgscan发现:
; @/ u h9 s: y9 v4 q[root@storage ~]# vgscan
3 { K& S1 v! N Invalid separator at end of regex.
6 M& ~1 e# C" Z1 B4 n1 L: ?, R* \ Invalid filter pattern "a|sda/".% K: A% W2 }. ]3 k m c$ L
Failed to create regex device filter
) Y% D9 ? L+ }% `报错:! u J$ \% i3 f. \! N; W6 ]7 S
[root@storage ~]# vgscan
; g6 B. f1 C& ~) `4 R- } Invalid separator at end of regex.- ]# r1 h" M8 ?- y w& n' g+ N
Invalid filter pattern "a|sda/".& R2 U/ s4 J: z& I: S/ q/ ^3 G! Q: p
Failed to create regex device filter
8 G; _, y0 I- R9 A4 R7 b7 [修改 /etc/lvm/lvm.conf 文件:
, u: k8 d( h5 B1 ?% b4 O2 T1 n[root@storage ~]# vim /etc/lvm/lvm.conf: p, g5 h: }0 h" J% m" C
关于a|sda的地方
+ g, Y! Y$ e" j2 Z, e* d5 e% t6 @
把| 改成/ 即可。# m/ k4 u0 b3 c$ D9 ~9 U
9 q# ]8 j) r6 v0 F# x! l& Z/ H
重启lvm服务:
7 R7 x/ G% K. U) R[root@storage ~]# systemctl restart lvm2-lvmpolld.service
/ s" e+ q3 O; D" @恢复正常:' ]7 N9 _0 A: w" m; E7 e6 G
[root@storage ~]# vgscan
, _" d: n: V6 m Found volume group "cinder-volumes" using metadata type lvm2
2 C8 ]" n- m7 A5 h- R5 B$ q- l: a但cinder日志报错:& ?" t& {* ?; s4 K1 S1 G
+ y3 G/ R) g$ M" Y[root@storage ~]# tail -f /var/log/cinder/volume.log 3 n8 r ~$ u6 L a: a
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".
) @! N' |1 H; d" a9 A2026-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".
' p8 w. h1 u( P7 V4 ?( Q* D) ?) I2026-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.' }1 l! [8 w' m1 g) Y$ s! S4 N8 z, z
2026-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".4 k" \- Z8 {5 Q+ r4 D. I% u5 J5 {
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".
5 K. e( A- W9 X1 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".; d6 q* B+ u) D4 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"., M! q$ |6 E7 @# {7 n. O- T% b
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".4 {. A8 u8 s$ q$ I
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".% e f* r' d9 g3 T+ X- k
2026-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.
' H; w, c, L D" g/ Z, ?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".% { C; q* e( ~$ u5 {
^C& C L1 k- {4 |
那就是没有重新加载:
3 d5 v* z$ }7 h7 B重启服务:
, E/ }* K ?! V* p6 E[root@storage ~]# systemctl restart openstack-cinder-volume.service " N$ J" f+ T; C( c
检查日志:/ q% V5 N; ]/ R# d. D
[root@storage ~]# tail -f /var/log/cinder/volume.log + H, ?; I( P7 t8 C% b
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 ignored, a- e; Q9 C& Q, h- D4 }8 b
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 ignored
8 v" B. N2 Q: h/ p1 Q0 M: n2026-03-10 22:34:56.908 2565 INFO oslo_service.service [None req-53a491b5-4a6f-477c-b55b-6f57eb897a03 - - - - - -] Child 2574 exited with status 0
5 Y; d; d. _' [$ o2026-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.$ H! C% B; e9 ]( V. ^7 z# f- t# K
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.
6 _& K% g, f8 o( d ?/ K2026-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.) V0 O4 K0 h& N: V0 J; |
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. I; B! g, ~6 Q% O N
2026-03-10 22:34:58.965 3068 INFO oslo_service.service [None req-878538e8-c70b-47a0-ae74-43cda61960a8 - - - - - -] Starting 1 workers
, T6 y% R+ j/ [- i6 S4 E2026-03-10 22:34:58.975 3070 INFO cinder.service [-] Starting cinder-volume node (version 22.1.2)
2 n d6 g% C9 j4 H: [( n5 U2026-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); Q8 W: }( K0 k3 g. d( ^! A! z% I
+ S" Z& ]) j$ o) \3 [
# P- t4 @3 X1 g1 h( d: i5 r9 g/ 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) J3 J1 C5 p$ J5 D4 I" ~
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.
* t$ d( B/ `% F7 c5 _% d q: i. z# q2026-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(); \2 D# `, Y: a6 ]- c' X& y
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.
$ o l4 T2 p$ O3 W7 V2026-03-10 22:35:11.744 3070 INFO cinder.volume.manager [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Driver initialization completed successfully.
/ s7 L" X* Y- c2026-03-10 22:35:11.745 3070 INFO cinder.manager [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Initiating service 3 cleanup; v# ^7 K: ^( S+ a9 M2 j
2026-03-10 22:35:11.753 3070 INFO cinder.manager [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Service 3 cleanup completed.- U E% I) _4 _* E Y2 l0 F
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)
$ h) c, o$ U( I2026-03-10 22:35:14.128 3070 INFO cinder.volume.manager [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Driver post RPC initialization completed successfully.
; [- w0 i+ j( O1 c) S0 b- [8 [
* t% a# U$ }8 z% Z9 a恢复正常。
' l3 n8 U! W" a/ ~1 D p3 K# p" L6 J& c' F
|
|