|
|
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".
. D2 U" q4 p( T2026-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& ?7 v2 }# f# p. j: j2026-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".
, L* Z3 A8 m# B- i5 J* t. {) @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".0 m( ^$ ? e( G- [: r! S: [
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".. w y; `3 M9 y4 b" |6 e
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.
2 P+ \6 v& N q2026-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".2 I" z" S4 M c, H1 v. `
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".
1 s: Y: l+ Y, e5 z( C ? e( @+ v2026-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".' l4 e! }: r: t! V
^C/ c% d3 ^5 I$ d# e( Y) C) {# `
[root@storage ~]# 8 a$ W, ?% N; n0 f
[root@storage ~]#
- N% h- C# C: O# X[root@storage ~]# date
. @: t$ b" r+ h; A+ K: |/ vTue Mar 10 10:31:03 PM CST 20266 b4 b% |. I4 K
[root@storage ~]# date
: Y$ N) z5 ~2 @Tue Mar 10 10:31:07 PM CST 2026
, v: R# C% M& ^3 B[root@storage ~]# 2 g) w: ]" Y& W8 ]2 f
[root@storage ~]# 9 m5 [9 t# f V. `
[root@storage ~]# , K" j( y! F4 u
[root@storage ~]#
" k' \8 {' z' Q- T5 B) u排查原因,可能是lvm有问题:* I7 U7 w, Z0 c2 B0 L
' n' L/ v) `9 p, k( ?: w& J( H
通过vgscan发现:
6 b, D4 j, y% R- f/ G[root@storage ~]# vgscan 8 p1 F; D* Y2 w5 Z
Invalid separator at end of regex.% N @6 {! \! w" P
Invalid filter pattern "a|sda/".
1 x+ I1 x0 F# K: X7 e! V Failed to create regex device filter
+ w; O- _3 c# ]3 V* d' M报错:
6 O- g" Y& M$ u; ^[root@storage ~]# vgscan
% a. ^7 |+ Z2 j, ]* d! f Invalid separator at end of regex.2 F* m" f9 ~" o+ I, b
Invalid filter pattern "a|sda/".! M; i2 Z4 f8 B L! w
Failed to create regex device filter
- o6 h* K/ f' k5 n修改 /etc/lvm/lvm.conf 文件:
* H$ E( Q f; T( T[root@storage ~]# vim /etc/lvm/lvm.conf5 K& o6 D, R( F0 u+ Q# q# j# n
关于a|sda的地方
) t# x8 h- e3 M& M: L [
' _: | r5 ~( l9 q' O* w- X1 u把| 改成/ 即可。
& I, F' ` C9 T5 c3 E9 N$ h' F9 K* L' {* h3 S
重启lvm服务: 4 {8 o6 k/ V0 D% _
[root@storage ~]# systemctl restart lvm2-lvmpolld.service ; P. N; H$ X. a" Y# w
恢复正常:
5 T( [+ C: t, T) Z[root@storage ~]# vgscan ( s" O) O3 d" G% i* F0 \2 @) J
Found volume group "cinder-volumes" using metadata type lvm26 o6 B( n9 L- t1 w1 I
但cinder日志报错:1 A2 T, w: Z: Z& z
+ C) M0 r6 Q3 \. n+ {/ d0 v- l
[root@storage ~]# tail -f /var/log/cinder/volume.log + M7 j0 p! N- o. Y! \2 r) d$ ~; X2 s
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".0 }/ s0 Z. I! e! n: ]
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".
5 L$ a) c0 T$ o5 `5 A6 \8 e2026-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.: V! R _2 @) G( G' A0 B1 h8 G
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".
3 z i- t t3 q4 N! k: W* E2026-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".
& b* m. Y) Z; Y2026-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".
6 c7 [, \" }0 O% K2026-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".
3 E1 O' \2 h% U1 ~$ i* |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"." k' j6 p- \4 v) B5 n2 j' ]& S- U
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".9 T: W. z# J: L. U, d* ^
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.. Y: y! ~: f \ ~% C( ~: g; H
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".4 \5 | Y& }+ p' s# d
^C
3 c& T7 d3 `) L+ x那就是没有重新加载:
9 [% R3 q( C- L% @1 l# E( \重启服务:
3 U$ T# d- w; P* z! g) w[root@storage ~]# systemctl restart openstack-cinder-volume.service
; E, @( l' G, V* |! J( |- T1 U* P检查日志:
+ v( H+ O( b' U: i* P) N$ R[root@storage ~]# tail -f /var/log/cinder/volume.log % \! V9 R; \5 D- H, l. T+ O- Q' V
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
5 X9 [/ f2 W$ h z2026-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, b$ W/ j3 G6 L" G
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
2 W3 _/ Y5 _! Q3 _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.
8 b$ [7 ^' B1 g% y2026-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.
0 f! R7 |5 Z, 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.
& e8 V1 l9 c( x% M) B5 H& _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.- d, d% W( M- a6 h& t `3 x* o
2026-03-10 22:34:58.965 3068 INFO oslo_service.service [None req-878538e8-c70b-47a0-ae74-43cda61960a8 - - - - - -] Starting 1 workers
K6 ^& a3 F, z$ ~2026-03-10 22:34:58.975 3070 INFO cinder.service [-] Starting cinder-volume node (version 22.1.2)
: s) P6 k P* c( ?0 @; z5 P- Z2026-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 T( ^+ W3 f$ {% X
b3 W7 `8 H- C% g# W
. P" ^2 U2 O# n6 b0 [" D2026-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, {( W! K. w" |! e/ y9 P y( O
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.
0 r) ?! r* `* I( L5 n/ 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()
6 X O4 Q* J# i, S$ l2026-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.
8 R0 e" x1 `# V2026-03-10 22:35:11.744 3070 INFO cinder.volume.manager [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Driver initialization completed successfully.* }6 M8 D4 S! ?, K7 k
2026-03-10 22:35:11.745 3070 INFO cinder.manager [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Initiating service 3 cleanup8 ~( e# B- P5 n7 P
2026-03-10 22:35:11.753 3070 INFO cinder.manager [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Service 3 cleanup completed.
' W7 m" E- I' z n8 i1 y: {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)
( g+ W5 O1 ?' H v- E; j7 K2026-03-10 22:35:14.128 3070 INFO cinder.volume.manager [None req-8b363008-7c7f-4708-8ccc-d4a91c5fa32a - - - - - -] Driver post RPC initialization completed successfully.& G- f! w9 j3 m' V1 `! x
# ~/ W# V$ G: j恢复正常。 L2 S9 j2 P+ y/ m) Y* y
0 I! G% ?- `) I
|
|