找回密码
 注册
查看: 251|回复: 4

cinder.exception.VolumeBackendAPIException: Bad or unexpected response from the

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2025-10-16 17:00:00 | 显示全部楼层 |阅读模式
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager [req-8d0ba048-3f77-4830-8c21-31e02f48c2b3 req-f7037aa6-ba98-4d12-be17-2a3461a18c07 99649cadcde24076a14eb901ff14b52b 837e526fffed46ec9b49f52410633bdd - - - -] Create export for volume failed (Resource could not be found.).: cinder.exception.NotFound: Resource could not be found." j$ ?* d% _5 x
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager Traceback (most recent call last):
% Y9 R, M( B- |3 t. t4 `, c2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager   File "/usr/lib/python3.11/site-packages/cinder/volume/manager.py", line 4813, in _connection_create
5 ?* K$ T7 Z) s7 O& N2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     model_update = self.driver.create_export(ctxt.elevated(),. k. N. ~6 A( C! r
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
& c' t: h$ @7 G2 X5 P% R2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager   File "/usr/lib/python3.11/site-packages/cinder/volume/drivers/lvm.py", line 849, in create_export' |/ K. K; P& _" [3 q# J2 ^$ O
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     export_info = self.target_driver.create_export(+ J$ Q; V. X* L0 D  @1 s1 d3 {
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
$ w) u* r. {5 d6 c1 d8 k2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager   File "/usr/lib/python3.11/site-packages/cinder/volume/targets/iscsi.py", line 195, in create_export
+ J  B: z9 r" s2 e; f; T1 Z$ n2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     tid = self.create_iscsi_target(iscsi_name,
9 c8 z, m" x* t7 D% Q2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* y& a7 g; Y# B3 p8 E. t2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager   File "/usr/lib/python3.11/site-packages/cinder/utils.py", line 669, in _wrapper
9 z" K8 \' |  K) d2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     return r(f, *args, **kwargs)
- ?6 ]& R2 _7 R. T# u& B( l2 U2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager            ^^^^^^^^^^^^^^^^^^^^^5 J% P; ~( Q/ C2 ?! W, @! n
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager   File "/usr/lib/python3.11/site-packages/tenacity/__init__.py", line 423, in __call__0 \, q6 H1 s6 B' L2 Q9 g
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     do = self.iter(retry_state=retry_state)
1 L7 _8 A, E( C2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
; o' M0 d' B3 X2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager   File "/usr/lib/python3.11/site-packages/tenacity/__init__.py", line 372, in iter# V. I& ?& T* H  U! s& ~
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     raise retry_exc.reraise()8 ^5 S# |2 b( _
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager           ^^^^^^^^^^^^^^^^^^^  A* B# Z* z% B% b) k1 \; n
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager   File "/usr/lib/python3.11/site-packages/tenacity/__init__.py", line 189, in reraise
+ f2 q) c$ ~# G8 S8 s2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     raise self.last_attempt.result()2 \6 i( X3 V4 ]4 ~3 T0 q: a
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager           ^^^^^^^^^^^^^^^^^^^^^^^^^^, l+ k0 j8 K4 ~6 i& T7 E7 n
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager   File "/usr/lib64/python3.11/concurrent/futures/_base.py", line 449, in result0 O5 }$ c& b+ F& L6 E3 b' m
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     return self.__get_result()3 i6 E& ~  W. y' L# T2 u+ d
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager            ^^^^^^^^^^^^^^^^^^^% M# x4 `; h  G5 V+ @
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager   File "/usr/lib64/python3.11/concurrent/futures/_base.py", line 401, in __get_result
; {, p- R6 [4 ~; j' {" a2 v2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     raise self._exception
9 L8 H9 h% x' t( R2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager   File "/usr/lib/python3.11/site-packages/tenacity/__init__.py", line 426, in __call__* o  Q' o0 _0 E3 C9 R
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     result = fn(*args, **kwargs)
7 A  I2 L, a1 U! X2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager              ^^^^^^^^^^^^^^^^^^^
' Z. f2 b6 ~$ V+ ]5 N1 `$ I2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager   File "/usr/lib/python3.11/site-packages/cinder/volume/targets/tgt.py", line 207, in create_iscsi_target: ^$ \! V+ s9 K7 P
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     raise exception.NotFound(). ^1 T8 D) p/ G$ N  A
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager cinder.exception.NotFound: Resource could not be found.1 B  c4 Q$ {1 ]! Y2 @4 D% c! |  F
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager
) i( O/ S- T$ e& m# o2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server [req-8d0ba048-3f77-4830-8c21-31e02f48c2b3 req-f7037aa6-ba98-4d12-be17-2a3461a18c07 99649cadcde24076a14eb901ff14b52b 837e526fffed46ec9b49f52410633bdd - - - -] Exception during message handling: cinder.exception.VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Create export for volume failed (Resource could not be found.).
. L/ }" E5 x7 z) b2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server Traceback (most recent call last):% ], D6 ]' ~* g) K7 F7 ]
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.11/site-packages/cinder/volume/manager.py", line 4813, in _connection_create6 B0 y+ U- h9 i% `$ g
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     model_update = self.driver.create_export(ctxt.elevated(),
, q+ B: R3 E" ]1 f" D2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5 p  {9 i# |5 X. l2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.11/site-packages/cinder/volume/drivers/lvm.py", line 849, in create_export0 s( a! i# ~3 U4 ~/ c( Z
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     export_info = self.target_driver.create_export(; I2 _5 e% I# D7 f/ V. u
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^8 N5 |  `! R( P
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.11/site-packages/cinder/volume/targets/iscsi.py", line 195, in create_export" x8 ]1 @" b, F0 D2 V4 _
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     tid = self.create_iscsi_target(iscsi_name,
0 ]4 a2 i$ |7 o3 A2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^* H4 D9 e6 _: I
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.11/site-packages/cinder/utils.py", line 669, in _wrapper1 ~5 ?( ?, B3 t/ l) L/ M8 @
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     return r(f, *args, **kwargs)8 C+ k$ @; j% a4 }" `
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server            ^^^^^^^^^^^^^^^^^^^^^0 }3 S  d8 W) A# e. _1 n) H* H
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.11/site-packages/tenacity/__init__.py", line 423, in __call__1 t& P$ H! e. s# M* u
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     do = self.iter(retry_state=retry_state)
- ]4 h4 H9 _% c; i* }; a2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  m  K) l! R$ x. P# e2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.11/site-packages/tenacity/__init__.py", line 372, in iter
$ x; K6 W7 q) S$ E2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     raise retry_exc.reraise()3 ~# b6 h* r$ U
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server           ^^^^^^^^^^^^^^^^^^^
+ r& e! O0 c7 r2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.11/site-packages/tenacity/__init__.py", line 189, in reraise1 S! I+ ~  n3 p$ A- V- h6 H& G; M
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     raise self.last_attempt.result()
( h. N' T5 ]& d- ^0 ^5 u) M( o2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server           ^^^^^^^^^^^^^^^^^^^^^^^^^^' F9 V0 z& R! R5 ]5 M  e; r
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server   File "/usr/lib64/python3.11/concurrent/futures/_base.py", line 449, in result7 Y' w3 N: y9 Z! J' \5 c
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     return self.__get_result()8 Z* x7 X: c% d0 k2 g$ `+ l
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server            ^^^^^^^^^^^^^^^^^^^* }+ O8 L( M0 p0 i: {; X- l4 {- X* @0 ~
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server   File "/usr/lib64/python3.11/concurrent/futures/_base.py", line 401, in __get_result
" y# U! q5 d5 [/ p2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     raise self._exception+ j$ P6 V. z' g9 D6 p5 z
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.11/site-packages/tenacity/__init__.py", line 426, in __call__
. n9 c% x* r' M( }$ M& m3 p2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     result = fn(*args, **kwargs)
* ]2 `, c& h% _! X) }2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server              ^^^^^^^^^^^^^^^^^^^
1 ~( w, E) u1 f+ _- Y2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.11/site-packages/cinder/volume/targets/tgt.py", line 207, in create_iscsi_target
, b& J6 Q9 o1 T6 p1 y* m$ X2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     raise exception.NotFound()
4 \  |2 y$ E: R$ N5 n0 Y! K2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server cinder.exception.NotFound: Resource could not be found.- [) o+ j5 m+ w5 }8 }: f
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server
' l6 _# k- ^2 U8 E  y5 v0 f2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server During handling of the above exception, another exception occurred:
4 J& `. k; P9 i: b6 }' l2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server + Y. H0 v& ~& d/ p1 h8 ~
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
: F! F$ Q' T: e6 h  l* W0 l! e0 Q2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.11/site-packages/oslo_messaging/rpc/server.py", line 165, in _process_incoming
/ Z# \4 a4 B; e9 O2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
- x3 v" Q4 Q0 m  c& h  O& v2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
& M, q$ q" W4 d- O2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.11/site-packages/oslo_messaging/rpc/dispatcher.py", line 309, in dispatch1 i" w: a! [+ J
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
$ o1 n1 a! a3 m2 `0 v+ `$ U2 p2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
) r5 F# |6 v2 _7 N2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.11/site-packages/oslo_messaging/rpc/dispatcher.py", line 229, in _do_dispatch
" ?6 G/ e5 h2 z3 I% o( s' e2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)! I$ v9 z) }  \* w. v% T
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server              ^^^^^^^^^^^^^^^^^^^^^^# D" K+ C2 l5 s+ S4 c3 k9 Q# S5 w+ @
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.11/site-packages/cinder/volume/manager.py", line 4886, in attachment_update
2 I3 B# z  l" _4 {2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     connection_info = self._connection_create(context,
9 z9 x, s6 T4 I4 h3 J7 j) e! |2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
' ]' W1 g; i5 ]$ j6 E/ B9 [6 ]& H( O2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.11/site-packages/cinder/volume/manager.py", line 4818, in _connection_create
6 v; l8 [) e& w! m; y2 g& V2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     raise exception.VolumeBackendAPIException(data=err_msg)
  ?  d- P2 F1 S2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server cinder.exception.VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Create export for volume failed (Resource could not be found.).# v! Y" D6 V+ Q! m4 y
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server / I1 W5 g* I5 m$ H2 I& E) Z

/ b3 I/ e3 ^4 G. g
/ ]$ ^- F7 D) X- z* G* Y- V

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-10-16 17:00:01 | 显示全部楼层
以下是nova-compute的日志:; Y+ ]1 _3 k& }+ q
2025-10-16 16:01:36.084 25820 WARNING os_brick.privileged.nvmeof [-] Could not generate host nqn: [Errno 2] No such file or directory: 'nvme'# g" j; `! T8 `
2025-10-16 16:01:41.104 24662 ERROR nova.volume.cinder [None req-8d0ba048-3f77-4830-8c21-31e02f48c2b3 99649cadcde24076a14eb901ff14b52b 837e526fffed46ec9b49f52410633bdd - - default default] Update attachment failed for attachment 5c0f382d-2425-4805-9fe8-9f372da78ead. Error: Unable to update attachment.(Bad or unexpected response from the storage volume backend API: Create export for volume failed (Resource could not be found.).). (HTTP 500) (Request-ID: req-f7037aa6-ba98-4d12-be17-2a3461a18c07) Code: 500: cinderclient.exceptions.ClientException: Unable to update attachment.(Bad or unexpected response from the storage volume backend API: Create export for volume failed (Resource could not be found.).). (HTTP 500) (Request-ID: req-f7037aa6-ba98-4d12-be17-2a3461a18c07)
+ E: H( D0 ^5 Q9 v) ^7 A2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [None req-8d0ba048-3f77-4830-8c21-31e02f48c2b3 99649cadcde24076a14eb901ff14b52b 837e526fffed46ec9b49f52410633bdd - - default default] [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584] Instance failed block device setup: cinderclient.exceptions.ClientException: Unable to update attachment.(Bad or unexpected response from the storage volume backend API: Create export for volume failed (Resource could not be found.).). (HTTP 500) (Request-ID: req-f7037aa6-ba98-4d12-be17-2a3461a18c07)- z# g, f  q! |; }
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584] Traceback (most recent call last):; _* B/ h9 l2 H/ P0 \% Z& P* U' ]
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/nova/compute/manager.py", line 2170, in _prep_block_device
* x% ~8 d% h4 ^8 E. u& o% P2 i0 ~2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     driver_block_device.attach_block_devices(
# A8 |* L9 [; b. B2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/nova/virt/block_device.py", line 936, in attach_block_devices+ Q% u4 w5 Y' [) q. Y! D
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     _log_and_attach(device), h, @8 P/ `& t7 T
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/nova/virt/block_device.py", line 933, in _log_and_attach: E) c' q. @' i+ _
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     bdm.attach(*attach_args, **attach_kwargs)
' w  _- S# y+ R2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/nova/virt/block_device.py", line 835, in attach9 `8 T) s; n1 e- [- O& T
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     super(DriverVolImageBlockDevice, self).attach(& f+ b: n1 x) G
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/nova/virt/block_device.py", line 46, in wrapped
: F7 |5 A3 }0 z2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     ret_val = method(obj, context, *args, **kwargs)
' ]1 Q- k" y2 m( h% n2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^) n' G4 `% g0 b  |4 P0 R
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/nova/virt/block_device.py", line 734, in attach
5 W, Q1 ^- H2 j$ C2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     self._do_attach(context, instance, volume, volume_api,! d* s/ k9 f9 A* t9 o/ i
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/nova/virt/block_device.py", line 719, in _do_attach! w8 ]* }1 @  s! ~* Y1 N' X
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     self._volume_attach(context, volume, connector, instance,: ?& l0 @0 k" S  d, `8 N1 q
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/nova/virt/block_device.py", line 633, in _volume_attach; A! U5 ]& t' a- d2 o0 H) h
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     connection_info = volume_api.attachment_update(+ n( q6 C( l" J
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- \0 |" x7 y" O
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/nova/volume/cinder.py", line 397, in wrapper
; a: s8 X5 W  K, H6 D; O2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     res = method(self, ctx, *args, **kwargs)
8 x8 u8 n8 w4 ?8 i2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- G8 t1 I* N% V. _' g! E2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/nova/volume/cinder.py", line 451, in wrapper$ a* [9 S, U: u7 Y/ k# t
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     res = method(self, ctx, attachment_id, *args, **kwargs)6 E* ^4 A( U4 p
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^/ V+ x' I/ j  K- F
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/nova/volume/cinder.py", line 882, in attachment_update9 `$ p/ a5 d( g! @" y$ K
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     with excutils.save_and_reraise_exception():
& k8 j' b; a: H  A2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/oslo_utils/excutils.py", line 227, in __exit__/ f  ~6 C. [3 }7 i; g. [8 y
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     self.force_reraise()- x3 `4 L0 [6 U# |# c. K" N) t
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/oslo_utils/excutils.py", line 200, in force_reraise
# {2 m0 `8 S% F9 P2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     raise self.value7 R3 k/ c- x' z1 K+ ]
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/nova/volume/cinder.py", line 876, in attachment_update
% R' D9 S, T+ y0 R* X2 `2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     context, '3.44', skip_version_check=True).attachments.update(
; P) j4 l( h, E% g) q: R4 P, |2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]                                                           ^^^^^^^
+ Y3 J0 J$ m& y- L, U/ s: o2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/cinderclient/api_versions.py", line 421, in substitution
% s0 x* I4 j% h9 \2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     return method.func(obj, *args, **kwargs)# r+ H2 Z- S, t1 S5 @$ b+ m
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^7 y4 F5 P0 z; e4 y; N: p: s! q/ c
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/cinderclient/v3/attachments.py", line 75, in update
( P: y; ?. D6 r: ^+ ^0 S2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     resp = self._update('/attachments/%s' % id, body)
, L" d* p8 Q' x, Z2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
& s3 V+ a- Y) d, S2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/cinderclient/base.py", line 318, in _update
' u1 Y3 C! o/ t- w" H3 E2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     resp, body = self.api.client.put(url, body=body, **kwargs)0 b6 S1 W% N3 g5 p2 i1 Y! i5 U
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- @+ O+ F8 R! m4 I; W: ?
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/cinderclient/client.py", line 226, in put
4 l6 M( W* X' c5 K3 c2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     return self._cs_request(url, 'PUT', **kwargs)+ E& w" y3 e  r  p
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
( E: p* e$ {2 P! n7 o3 u* u2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/cinderclient/client.py", line 211, in _cs_request
3 Z% W; q% H# \2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     return self.request(url, method, **kwargs)3 z1 g9 T  f; ?" x8 t/ I- K
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5 F, J$ j5 I7 X# P" R' K. q, `2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]   File "/usr/lib/python3.11/site-packages/cinderclient/client.py", line 197, in request5 ^% n+ `4 _) E. A8 |, X1 v2 B
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     raise exceptions.from_response(resp, body)
4 `; ~( g, V8 m3 E8 j& E2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584] cinderclient.exceptions.ClientException: Unable to update attachment.(Bad or unexpected response from the storage volume backend API: Create export for volume failed (Resource could not be found.).). (HTTP 500) (Request-ID: req-f7037aa6-ba98-4d12-be17-2a3461a18c07)6 w+ l! z$ d2 v* c# v- Q) u" i% D. j
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584] 8 c9 c; s: r6 ^
2025-10-16 16:01:41.565 24662 ERROR nova.compute.manager [None req-8d0ba048-3f77-4830-8c21-31e02f48c2b3 99649cadcde24076a14eb901ff14b52b 837e526fffed46ec9b49f52410633bdd - - default default] [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584] Build of instance 2ffde1e1-87ac-466d-bd21-870dec53c584 aborted: Unable to update attachment.(Bad or unexpected response from the storage volume backend API: Create export for volume failed (Resource could not be found.).). (HTTP 500) (Request-ID: req-f7037aa6-ba98-4d12-be17-2a3461a18c07): nova.exception.BuildAbortException: Build of instance 2ffde1e1-87ac-466d-bd21-870dec53c584 aborted: Unable to update attachment.(Bad or unexpected response from the storage volume backend API: Create export for volume failed (Resource could not be found.).). (HTTP 500) (Request-ID: req-f7037aa6-ba98-4d12-be17-2a3461a18c07)
! k5 E7 D7 C, M2025-10-16 16:01:41.579 24662 INFO os_vif [None req-8d0ba048-3f77-4830-8c21-31e02f48c2b3 99649cadcde24076a14eb901ff14b52b 837e526fffed46ec9b49f52410633bdd - - default default] Successfully unplugged vif VIFBridge(active=False,address=fa:16:3e:74:4e:fc,bridge_name='qbr88cc5e51-3d',has_traffic_filtering=True,id=88cc5e51-3d4b-4c08-8ade-a5687ce6d57b,network=Network(ed5db341-00fb-487b-ba38-d766dbb342be),plugin='ovs',port_profile=VIFPortProfileOpenVSwitch,preserve_on_delete=False,vif_name='tap88cc5e51-3d')
* F/ q* r* X0 F9 W. ^7 Y3 H

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-10-16 17:00:02 | 显示全部楼层
调整cinder.conf文件,检查服务tgtd,target服务等。4 u: L; Q0 `" {6 v7 B# a. S; y

6 s$ C$ n/ A- i[lvm]. f! E. U/ G# [' V, ?
iscsi_protocol = iscsi
/ [6 _4 f$ m& f% ]# Aiscsi_helper = tgtadm
4 o2 ]3 v6 g: mvolume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver& ?4 _4 _& Y3 Y
volume_group = cinder-volumes
8 U1 J' M0 U# }1 V& |" Qtarget_ip_address = ip
# H0 y: q) e6 f& uvolume_dir = /var/lib/cinder/volumes5 K$ f) `' h( \  e/ t. t
1 U+ [1 x! C' T. _6 g

' a; L. y6 ^  [" r, i

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-10-16 18:51:29 | 显示全部楼层
一、后端采用nfs  ~5 }! B$ z' I2 j" i9 V/ t
1、安装nfs客户端: K) J9 F. Q% B* |0 h7 {

+ |$ b: x0 Q- Q8 u% x  N/ ]# yum -y install nfs-utils
! m. y: C+ ^* ~1
& S  a- G( u0 n+ D4 D  f. ?, T2、配置/etc/cinder/cinder.conf3 @  a# t' \( f. B) g6 h% h9 P

# S9 R- E5 H" k[DEFAULT]! X7 H8 V+ |6 ~+ Y5 j( U
backup_driver = cinder.backup.drivers.nfs4 x1 g" k# D: C8 n
8 Z% J0 Z! {/ q; m
backup_mount_point_base = $state_path/backup_mount  ! Y0 x3 {4 S! i% F, J* R, T3 \
backup_share=172.16.8.99:/backup0 u. z9 L# M! g9 ]
格式:<hostname | ipv4addr | ipv6addr>:<share path>
# S# V8 J" ~) r, U二、后端采用glusterfs- c2 r5 C8 ?8 v5 y9 p6 V
1、安装glusterfs客户端8 r3 T2 ]7 h2 J# l: M. t

7 {$ C. Y( _2 H- \* S& Q# yum --enablerepo=epel -y install glusterfs glusterfs-fuse! v1 K/ S8 T+ O. M9 z
1
- v9 d8 i5 Y) T- \% N* Q2、配置/etc/cinder/cinder.conf
; w% [3 b0 \5 ^9 p! V5 c/ Q" G  r
3 k' G( ?, o2 W% q* M8 x* ]! j[DEFAULT]
" p! k8 x$ g+ ]6 c2 ^; [backup_driver = cinder.backup.drivers.glusterfs% q/ W  r4 H( \( Z* C2 k+ _8 t
glusterfs_backup_mount_point = $state_path/backup_mount' ?9 R0 P1 S$ u0 T1 m6 A7 K8 m. W
glusterfs_backup_share = 172.16.8.90:/vol_striped
! a7 |( K0 _/ V/ y0 }9 k% Y3 j! O格式:<hostname | ipv4addr | ipv6addr>:<gluster_vol_name>2 V/ j2 V1 g& }% S, K8 R
三、后端采用ceph
7 o: e; h5 X$ F7 x) A" v+ Y/ |% G9 {9 l, m  ]! S- _1 o
[DEFAULT]
/ N8 z# y) n% ~3 x5 Kbackup_driver = cinder.backup.drivers.ceph
8 q+ `, O/ ]' ]' f7 C: Abackup_ceph_conf=/etc/ceph/ceph.conf
- _! m1 Y' Q  @$ ^. nbackup_ceph_user = cinder-backup- O5 t! ^$ ^0 V& h3 e
backup_ceph_chunk_size = 134217728
# M5 v" r' a( X# p8 O; Vbackup_ceph_pool = backups
  w9 A# g/ U' n; O+ Rbackup_ceph_stripe_unit = 05 t. Y1 O6 \. ?$ H" Y! l6 ?
backup_ceph_stripe_count = 02 q: ^0 \0 W  t7 t  @3 ^1 q

' \! ~1 [  c) B. d4 w9 L* {
$ S* B  U9 E$ m- N四、后端采用swift
9 K2 A) S* m- z
+ A6 v1 [  T: r[DEFAULT]) M' K' F' q! P3 A" h+ N
backup_swift_url = http://10.146.32.17:9024/v1/
& V6 e; ]( t- c& ibackup_swift_auth_url = http://192.168.0.5:5000/v3* k+ K% ?! h  \7 |
swift_catalog_info = object-store:swift:publicURL# O. j" l6 _1 ?
backup_swift_auth = per_user
) x" t' f3 {+ g9 f$ W, q/ \backup_swift_auth_version = 3( B6 E% T( k# L' p
backup_swift_container = volumebackups* u& x7 H/ @0 b' A& M1 n# E/ R
backup_swift_object_size = 52428800
4 Y4 z- F5 n2 o- g' [  @backup_swift_block_size = 32768
* c8 o, [% ~2 d. q) K0 }% sbackup_swift_retry_attempts = 3+ ?! ?1 E/ _0 V7 T
backup_swift_retry_backoff = 27 i  f% z% s. j# P0 |! j5 i( r4 j
backup_swift_enable_progress_timer = true6 w  v) V7 e# F& L# J' a/ _
backup_driver = cinder.backup.drivers.swift) g' R- A) v7 V8 C  J. S

# I* A' k5 ~- `
. b- g9 M% X9 R: `7 [" m6 c五、重启cinder-volume、cinder-backup服务0 z' H' K0 \1 ~8 W* ~# V

" n" a+ `  q9 A% X" R/ i: D4 ?  ^# systemctl restart openstack-cinder-volume  openstack-cinder-backup
: j3 ]. {- P9 a/ C; ?, p& X1
3 i+ F- b; L: x# \' B. b六、horizon启动cinder backup功能,配置/etc/openstack-dashboard/local_settings0 F: N3 B; Y. S; w1 x; B/ x
6 K; T* c1 Q2 A. G# U
OPENSTACK_CINDER_FEATURES = {- N' B1 ?) B+ u, I! n
    'enable_backup': True,
, i+ d  J. G8 F% _}

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-10-17 12:26:42 | 显示全部楼层
可能是因为后端存储的问题,尝试部署ceph分布式存储。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 01:11 , Processed in 0.089121 second(s), 21 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表