找回密码
 注册
查看: 247|回复: 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." E9 [) u& _5 T; N7 `+ Q3 w
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager Traceback (most recent call last):. \" @* _; @4 j3 T7 M' c' o% v
2025-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
, K. i6 o$ ^" H; P9 t' F5 ~2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     model_update = self.driver.create_export(ctxt.elevated(),
2 ~: W! e9 [6 I2 K/ r) o2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^% m" p2 @+ ]" y
2025-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
. J2 ~1 P+ Y7 H1 D6 B3 g2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     export_info = self.target_driver.create_export(
0 I( O0 \& V1 M$ K, h- Q/ o2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^1 d5 _* B' M; J- B5 T0 M
2025-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* n9 j9 [# _2 M' M
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     tid = self.create_iscsi_target(iscsi_name,
6 k4 g3 m1 H+ u) d* D2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' [+ S8 J, F+ Z* z
2025-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
" O8 f5 s3 Z* @! o2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     return r(f, *args, **kwargs)
% p% d' K, Y- K" H7 Z. Y2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager            ^^^^^^^^^^^^^^^^^^^^^
6 R! a6 P$ |/ ^% L+ T& C2025-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__# H9 B( Y( g% x2 f
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     do = self.iter(retry_state=retry_state)( ]) b; n0 _& W* m. I/ O
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^/ X8 U& }2 y) j% P& T- z
2025-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  O  x) t3 D- C) ]$ w8 @* j
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     raise retry_exc.reraise()7 g( t' s: R0 G! Z* P, L& K+ v" c
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager           ^^^^^^^^^^^^^^^^^^^
3 ~8 P" K8 t* Z, e5 b2025-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  ^# F! n& _  P/ K
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     raise self.last_attempt.result()
/ x+ X% o+ J9 a0 b$ {6 M2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager           ^^^^^^^^^^^^^^^^^^^^^^^^^^
& x/ e& Y' S( X7 f2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager   File "/usr/lib64/python3.11/concurrent/futures/_base.py", line 449, in result
( z8 H8 N1 K' A7 C7 \7 h2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     return self.__get_result()2 \5 e' j. o! |- u6 z" v& c. Y
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager            ^^^^^^^^^^^^^^^^^^^' W0 {  ?$ H- d
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
5 c8 Z7 U" S& e% B& p7 |- @0 L2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     raise self._exception2 d* {1 l; Q) S0 G- [( C. `! r
2025-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__* z+ `2 r# o) X2 c
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     result = fn(*args, **kwargs). H7 \. G, X1 X3 q
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager              ^^^^^^^^^^^^^^^^^^^
1 p7 T* Z( v0 ~. l7 F2025-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
+ x! g% \3 Y3 [7 f2 y& w7 d2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager     raise exception.NotFound()4 M% p3 a6 D; j6 D% w; v6 s
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager cinder.exception.NotFound: Resource could not be found.9 P6 _! ?$ R& y9 l' J; D
2025-10-16 16:01:41.089 13596 ERROR cinder.volume.manager . W* s6 `  {) [
2025-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.).
% _! C8 O( J' ]2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2 t, G1 {; n" _! @4 J( U2025-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_create
% M4 a- M- P4 j' A2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     model_update = self.driver.create_export(ctxt.elevated(),
6 }2 X% r. Z, x% Q7 |2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# o" \8 V  H6 A/ D! N2025-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_export
4 T0 x3 L, p! X' c2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     export_info = self.target_driver.create_export(
8 F- n, I7 ?3 l) n- P2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 X& q: D/ K! O" p2025-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
& P: p' D) q3 |; G3 V. G2 y2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     tid = self.create_iscsi_target(iscsi_name,
: n& d" @, v1 K# i+ r% N" f9 ~2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8 m! F* i5 c# R% g$ t3 N  Z2025-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 _wrapper* L- |/ C5 ]' t* v) P
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     return r(f, *args, **kwargs)
2 }# q8 y/ b# X0 e1 I  F5 ]9 ?0 U2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server            ^^^^^^^^^^^^^^^^^^^^^- [4 c1 u# @7 {
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__. u. n) \9 g  N: i  T* c
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     do = self.iter(retry_state=retry_state)
$ o. g9 y2 e  S  t7 V$ }% ~2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^/ [6 |: q( ^# Q% n1 j3 D
2025-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
% P6 v0 M. [6 R! L# s* W2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     raise retry_exc.reraise()2 s4 g6 X  Q3 V5 V8 t* p
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server           ^^^^^^^^^^^^^^^^^^^
! S& v) d$ [: O6 j8 i/ e+ P" h2025-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 reraise
% @3 B' u; a. ~5 ~1 W& q9 s2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     raise self.last_attempt.result()
; R; W7 h: j4 W4 G1 l% U" K8 C2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server           ^^^^^^^^^^^^^^^^^^^^^^^^^^
4 _$ k* J2 T4 m, q- B& P2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server   File "/usr/lib64/python3.11/concurrent/futures/_base.py", line 449, in result' v8 Z% ?8 h" s8 d9 ]; J1 ^/ T
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     return self.__get_result()
% F) ~' P4 u9 h% ^7 y+ g2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server            ^^^^^^^^^^^^^^^^^^^
8 r; d+ x8 Y- h  k8 \% q6 M2025-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! o& ^! X/ c; z; X! X
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     raise self._exception1 _/ I5 d0 p8 e' Z& R9 v. _
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__
# x8 P7 J9 i( r/ z2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     result = fn(*args, **kwargs)1 n- q# Y; u: x  d' L; [: O
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server              ^^^^^^^^^^^^^^^^^^^
& T* W2 e: Z  y5 h2025-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_target4 {5 h5 {( b- Q' ^; ~% o
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     raise exception.NotFound()
' N& J9 t9 c, S2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server cinder.exception.NotFound: Resource could not be found.
* [7 [( q1 m+ Q: q2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server
* J% F4 E0 E5 n3 P( W2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server During handling of the above exception, another exception occurred:
' A& K8 P5 \- X+ U) u1 W; ^# c2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server 0 W7 B' ]7 S" r/ V, _) {+ f
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
0 Q; g; |0 P8 b6 e9 u- K6 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
. [) H4 K6 q& h1 }3 `  n9 T2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)4 M% f* F! ]% D0 f" ]3 C# x
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  u' c! m; u: @2025-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 dispatch
- g! W8 [$ g( R- a5 \1 U& l6 u2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
6 E3 e7 b9 n8 b1 e2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
( D7 z& @/ U/ I* \' E2025-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% E8 I4 p/ p* _* D: x- {6 I
2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
" H. s/ p  {# k' \3 J2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server              ^^^^^^^^^^^^^^^^^^^^^^& L: W6 p9 a5 B! }+ R$ N
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
1 x8 c3 y+ D( o0 S% c$ N2 V* n2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     connection_info = self._connection_create(context,
, e* ^: H( V: I+ r2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^7 R' }* I, w( f
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 4818, in _connection_create
3 k% b! r) |; q$ T9 j4 E% P- ^2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server     raise exception.VolumeBackendAPIException(data=err_msg)
1 [) d% B; o) V2025-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.).
6 d2 x! Y# |2 K/ N- A" R3 Y2025-10-16 16:01:41.091 13596 ERROR oslo_messaging.rpc.server ! ]- `( C# ?( J9 y7 L: \; B
- F$ h( [% r/ b$ c! v% ]
2 @9 s* r7 b0 ?* u- i6 U% N

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-10-16 17:00:01 | 显示全部楼层
以下是nova-compute的日志:* x5 }+ e) M- u  _, r6 O0 t
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'
6 R0 [4 ~: J9 v1 c( ~3 F* C2025-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/ F+ f  }. A9 q2025-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)
' c: V. X. _( Z2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584] Traceback (most recent call last):
, e5 H# Q8 f- r6 n6 k+ ]8 y2025-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
* [1 g" e! b  G: w2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     driver_block_device.attach_block_devices(
. z6 s$ f3 T5 q8 ?" l2025-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
3 t) }% q! D1 M2 s4 V: i2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     _log_and_attach(device)
$ _* R) v* M" v) _, 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 933, in _log_and_attach
% E8 ?, T+ V7 t/ m! m0 ?7 m# P9 S* N2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     bdm.attach(*attach_args, **attach_kwargs)0 P  g5 d/ r7 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 835, in attach
! L# K+ ]6 {) n2 T! Y2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     super(DriverVolImageBlockDevice, self).attach(
7 R+ u3 B- t( A7 P2 m6 X: G2025-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
# z+ P7 u) ?6 ?2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     ret_val = method(obj, context, *args, **kwargs)% {2 P1 N- a6 n1 _
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
" e7 y- h/ r1 [  I2025-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 attach9 }8 b) Q  n% W  A$ M4 b
2025-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,
' y- C) l% j6 e. N2025-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+ D; ^/ }" M" O# T
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,
1 N; R) Z$ L, Y- f; 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/nova/virt/block_device.py", line 633, in _volume_attach
' P9 I# I" T/ L, z# g" s2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     connection_info = volume_api.attachment_update(7 L; T) g/ M9 r# E8 s9 t
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^& ]  A& Q, e& g0 a# f+ T) 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 397, in wrapper
3 U8 {4 F% W5 Q6 g+ |+ H: t# T2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     res = method(self, ctx, *args, **kwargs)
3 [. F" C  P' f! [0 i# @  ~+ g6 A2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
' H$ e$ t  x' i4 W: M; L) g6 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/volume/cinder.py", line 451, in wrapper( V" |8 |5 w- s
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)( b6 Q3 \9 C9 m5 G/ c1 `0 f8 E
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^7 U: i6 S6 d6 Y, \8 F+ y
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_update7 R: B' ~6 E$ R! Z' c- \
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     with excutils.save_and_reraise_exception():. k, f6 t9 P5 d( P3 I5 ^0 d. Y% 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/oslo_utils/excutils.py", line 227, in __exit__
: H. I3 D" u: P/ ^( t2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     self.force_reraise()
# w+ ~' C( c+ {' V# A% P) d2025-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' @) S$ N" [$ N# \8 F- F
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     raise self.value' \6 ~- J" t7 i; r% E" y3 v
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$ b- G1 @% v: a# ?( d/ t
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(
- K: m- C/ z8 m# L5 J# L4 Q" \7 o2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]                                                           ^^^^^^^
& m1 T3 T" D2 l2025-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
7 A+ c5 D2 }2 t2 }- j1 J) c2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     return method.func(obj, *args, **kwargs)
1 s4 l; }' o+ G3 U# i2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^% _$ B2 C- o4 D# J7 ?
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 update2 e7 s  C6 ]' Q9 C/ w3 s
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     resp = self._update('/attachments/%s' % id, body): @2 }' P- _9 E) _' t; I# t
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/ r: l2 \7 @* _! b- I2025-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 _update8 g- A1 d0 W* p% T) W6 ]
2025-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)
: A/ H& d- [& N: O" @+ |" w, I' t2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
$ c& t2 t, V8 n  r5 m) [3 h2025-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
" t% ^/ D# h$ l6 d$ g. K2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     return self._cs_request(url, 'PUT', **kwargs): A" H% {$ T1 u# O
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^$ E, X: f) s0 |2 X# P. y5 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/cinderclient/client.py", line 211, in _cs_request
7 J$ V- [- r! c& G2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     return self.request(url, method, **kwargs)
: @* L/ P$ c' D) w; ?2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
" A) m8 f: }8 o1 F9 Y7 R% }% Q2025-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 request8 s9 Y; ~1 j" ?2 Z) m; }: o$ ]2 i
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]     raise exceptions.from_response(resp, body)& Q' @% s  J/ W
2025-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)* J$ B& i: C5 Z! d+ y0 U+ \
2025-10-16 16:01:41.122 24662 ERROR nova.compute.manager [instance: 2ffde1e1-87ac-466d-bd21-870dec53c584]
+ s9 l3 r1 D4 q. w3 z2025-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)2 e* F2 `# g1 I. s9 k
2025-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')
. O* o! b/ E" {7 n

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-10-16 17:00:02 | 显示全部楼层
调整cinder.conf文件,检查服务tgtd,target服务等。$ c  E' @- V! U

/ R/ Q/ R0 I4 I# C% O* ?6 ~[lvm]
3 S7 d1 o. c4 p9 jiscsi_protocol = iscsi0 {8 ]; S+ }: F# m0 N
iscsi_helper = tgtadm
! J3 p, ]  i3 m5 o5 ^1 @( x+ avolume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver4 V1 u8 H# g  Y
volume_group = cinder-volumes! B  Y2 v. C2 V
target_ip_address = ip& g" J' F' N3 n+ P3 q
volume_dir = /var/lib/cinder/volumes
$ C5 _% t/ @$ b6 D7 b; b7 N: `5 F% ]

! C( X, p" ~$ \+ u

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-10-16 18:51:29 | 显示全部楼层
一、后端采用nfs4 G+ y. z8 Y( ]- s; o4 I' x+ x8 I. |
1、安装nfs客户端) C- t! \$ C: p: }5 ~$ s  P, _

8 o. a8 c- z+ ?' M7 o6 p# yum -y install nfs-utils
0 i& T; G" k) T9 ^& D" J# u1
1 O1 e  b- ]& j+ K4 V/ r$ L2、配置/etc/cinder/cinder.conf
* D" |! ?9 {! t) G% K" d+ U, {( ~7 \& f; n; J- W1 j/ f
[DEFAULT]
3 c& r! I: d& h5 j1 l" r9 k" T- Gbackup_driver = cinder.backup.drivers.nfs$ ?' {8 k: R) O! y

7 b$ I& Q0 m( x; c. m- e* D( cbackup_mount_point_base = $state_path/backup_mount  
* q5 C9 X2 Y6 |backup_share=172.16.8.99:/backup% m3 y' H" q% ^/ z; X: [" t
格式:<hostname | ipv4addr | ipv6addr>:<share path>- Y- [7 ]+ P8 a; Z! Q/ S4 v* n; m
二、后端采用glusterfs( [7 }3 s* t3 s
1、安装glusterfs客户端0 S6 t: O' V* M2 D$ Z

4 l: r) f! X: c# C/ x+ ]( z# yum --enablerepo=epel -y install glusterfs glusterfs-fuse
5 b3 j4 V  C# A! N0 `; ~1
) O6 R, I" S7 \8 b- P2、配置/etc/cinder/cinder.conf% U2 D6 |8 J2 }: n+ C

. L% H! V, E. ?) b5 t1 V+ |% K* L[DEFAULT]4 k' d5 I/ L* k  I" r" N
backup_driver = cinder.backup.drivers.glusterfs
1 D8 h) n, `8 N) Z3 vglusterfs_backup_mount_point = $state_path/backup_mount
1 v3 t# `# }6 Y1 F! p+ t9 Lglusterfs_backup_share = 172.16.8.90:/vol_striped3 x, v' I" R# z3 o- r- c( F
格式:<hostname | ipv4addr | ipv6addr>:<gluster_vol_name>9 h/ T5 |( Z  G, B. j
三、后端采用ceph
+ O, E, Q- U) N, C$ k# b' k8 U7 j. X' l% W
[DEFAULT]6 J) C, {/ W8 x% K5 ^! F5 h
backup_driver = cinder.backup.drivers.ceph3 Y2 v& M0 T% w, U# p2 j' f' i
backup_ceph_conf=/etc/ceph/ceph.conf
- T7 S& \% U: j3 k; ]8 [, e) ^backup_ceph_user = cinder-backup
: A9 X" d8 M$ [, l' _0 V4 lbackup_ceph_chunk_size = 134217728/ `5 W- I; _" R, L- C, E, c" i
backup_ceph_pool = backups4 Q0 C6 b# ^5 G+ }" ~" h- \
backup_ceph_stripe_unit = 0
+ C% ^/ \$ s4 G: Ubackup_ceph_stripe_count = 04 w* |$ n; f  N

4 k4 j- O3 \2 |5 e0 [  F; S% J% Q. ^1 O7 |) Y
四、后端采用swift
# w/ Z  S: r; Y+ E9 R5 X! s, K
3 z' A  K. }* S[DEFAULT]' r: p7 E8 w* g! m7 i
backup_swift_url = http://10.146.32.17:9024/v1/
! ?- T$ U  i( H* hbackup_swift_auth_url = http://192.168.0.5:5000/v3
  ?7 M; E$ N# [% T5 t6 cswift_catalog_info = object-store:swift:publicURL" u# U% u! e5 ]7 ?
backup_swift_auth = per_user
, f# N. T4 I  Q, N5 Ibackup_swift_auth_version = 3
/ V% o3 ^/ o. J# h% [% d( E& ibackup_swift_container = volumebackups. f' W# S. g" w6 R
backup_swift_object_size = 524288003 d( ], L! e+ U5 [$ ]0 W
backup_swift_block_size = 327685 v' N) w* P$ P
backup_swift_retry_attempts = 32 k6 q; j) q' O
backup_swift_retry_backoff = 2
( `3 \; a# e9 n& A- ^backup_swift_enable_progress_timer = true
/ r4 ]- Y% s9 \8 n& c2 Sbackup_driver = cinder.backup.drivers.swift, I( {3 }7 W4 Y0 s* W8 m

8 d0 o: A+ c1 \
: y2 c; n/ Z1 g3 B4 G五、重启cinder-volume、cinder-backup服务) c/ M# M4 a" @! h7 j: i

4 ]/ i( z5 I  b5 F3 u8 T# systemctl restart openstack-cinder-volume  openstack-cinder-backup8 {" I" l4 s6 [9 n
1
, T+ Z8 R+ h$ G( S% P: P% ], [六、horizon启动cinder backup功能,配置/etc/openstack-dashboard/local_settings  b5 s9 k+ L: A+ `# P" a

0 p, x1 P% W& L% m+ _( SOPENSTACK_CINDER_FEATURES = {
4 h1 M+ ?3 s: t  E' T# `# Y    'enable_backup': True,' P! k: j$ m! Q' u( p% I8 k
}

1

主题

0

回帖

12

积分

管理员

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

本版积分规则

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

GMT+8, 2026-6-11 23:04 , Processed in 0.018378 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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