找回密码
 注册
查看: 104|回复: 0

删除虚机是报错

[复制链接]

0

主题

0

回帖

9

积分

管理员

积分
9
QQ
发表于 2025-10-15 19:00:01 | 显示全部楼层 |阅读模式
2025-10-13 11:17:08.525 428216 INFO cinder.volume.api [req-eddad715-3eb6-45fd-9545-8100c5ec515c req-d3c424cf-6c0f-4afc-b1b7-25970f962dff 8af7a596e71b44c880b7d9953e8a9f3c 1d65225e272d4677b60eeec353674612 - - default default] Attachment connected to vm 86991cb8-4318-4c2a-bb8f-eb04db49c76c, checking data on nova  r! }" N- A+ v
2025-10-13 11:17:09.054 428216 ERROR cinder.volume.api [req-eddad715-3eb6-45fd-9545-8100c5ec515c req-d3c424cf-6c0f-4afc-b1b7-25970f962dff 8af7a596e71b44c880b7d9953e8a9f3c 1d65225e272d4677b60eeec353674612 - - default default] Detected user call to delete in-use attachment. Call must come from the nova service and nova must be configured to send the service token. Bug #2004555& L+ g5 }+ U  y0 T: k& A, n
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault [req-eddad715-3eb6-45fd-9545-8100c5ec515c req-d3c424cf-6c0f-4afc-b1b7-25970f962dff 8af7a596e71b44c880b7d9953e8a9f3c 1d65225e272d4677b60eeec353674612 - - default default] Caught error: <class 'cinder.exception.ConflictNovaUsingAttachment'> Detach volume from instance 86991cb8-4318-4c2a-bb8f-eb04db49c76c using the Compute API: cinder.exception.ConflictNovaUsingAttachment: Detach volume from instance 86991cb8-4318-4c2a-bb8f-eb04db49c76c using the Compute API
" Q* u2 ^  T7 b9 C2 n2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault Traceback (most recent call last):
, p5 |9 ?1 v5 A" q1 l5 u: Y' @/ m6 k2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/cinder/api/middleware/fault.py", line 84, in __call__
1 E5 H4 {. K2 q* G2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return req.get_response(self.application)
3 W# @8 W3 S* i; F0 l2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^+ }. h/ |3 s8 ?, k  Z
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/webob/request.py", line 1313, in send
: P, k  G8 v' M3 q/ r& M2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     status, headers, app_iter = self.call_application(
! o  R  O- R  M3 B2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                                 ^^^^^^^^^^^^^^^^^^^^^^- d+ l7 y/ d0 c: R% q
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/webob/request.py", line 1278, in call_application8 R# F9 r) v* i& [' W! {
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     app_iter = application(self.environ, start_response)9 j$ a# O" @. S" C, T% K
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^) D1 }3 N- _! V4 h
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/webob/dec.py", line 143, in __call__
( x) A* ^" ?7 K& d2 e2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return resp(environ, start_response)
- s" u7 [, {; R5 P$ r7 J9 |2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^% T3 H( z9 `* E" [) F! S. b
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/webob/dec.py", line 129, in __call__
# G4 R( M& [/ F2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     resp = self.call_func(req, *args, **kw)
( h7 C7 B6 f% U2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
) h' a+ Y2 M$ a9 X2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/webob/dec.py", line 193, in call_func
- ]: ?: V! ^  R3 O$ y' e2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return self.func(req, *args, **kwargs)
& z+ I2 ^) K: q' @* R! B4 M& v2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
. R8 h8 o: _0 v4 V2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/osprofiler/web.py", line 111, in __call__
; t4 w* J' Y* {4 D9 `1 o/ F2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return request.get_response(self.application)
0 o, @' e$ v! d* Q2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^) k; m6 M  J3 }0 y5 G
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/webob/request.py", line 1313, in send5 I$ H+ A& u$ k( T& @
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     status, headers, app_iter = self.call_application(& s& U0 O0 T3 N1 U% b
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                                 ^^^^^^^^^^^^^^^^^^^^^^
3 G+ R% l9 q6 t' w( _+ t$ a3 u' h+ `2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/webob/request.py", line 1278, in call_application
: v  T4 J1 `' P# {, B7 K. y( y2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     app_iter = application(self.environ, start_response)
! `  O6 y% ?0 }. N% W. s2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 G/ V8 H, w  C0 }7 c# _: E2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/webob/dec.py", line 129, in __call__
9 T3 P! Q, W0 u8 Q  E2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     resp = self.call_func(req, *args, **kw)' @' Z1 @3 L$ m3 Z& w' L: T
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
( D; o9 D- v4 X3 n0 |2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/webob/dec.py", line 193, in call_func
" u5 [/ G+ ~7 d, [8 A. w9 m2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return self.func(req, *args, **kwargs)
! q8 _3 q* ]7 g" b3 t5 O. J2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  i: B  M3 v( p# k
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/keystonemiddleware/auth_token/__init__.py", line 340, in __call__$ ]7 D9 a; e# k0 M
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     response = req.get_response(self._app)
6 [3 E, ^) G8 N6 Z. g8 U3 ^/ ^2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
" E3 `7 r$ T. d. M0 ^9 F2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/webob/request.py", line 1313, in send& ?0 X) ], s% w5 |- v* x8 D& e) F
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     status, headers, app_iter = self.call_application(5 x# t. `' J* s% I& a
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                                 ^^^^^^^^^^^^^^^^^^^^^^0 [& ^4 ^3 I  x5 d1 L9 P) P
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/webob/request.py", line 1278, in call_application, L: d* j$ `( h7 }* T
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     app_iter = application(self.environ, start_response), U6 y7 |( R7 U' l) A! w! N
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^/ l2 T) y5 ^: g" l
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/webob/dec.py", line 143, in __call__
$ n& m2 C& N5 u" `* @: @: B' I2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return resp(environ, start_response)
: `2 w6 ]0 ^% y3 h" X% c2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^( r( Z7 x9 E& _% x$ j- r, z
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/webob/dec.py", line 143, in __call__  g2 t% i0 j( q7 P) p
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return resp(environ, start_response)! N& e* p" w8 o8 S8 S
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
% x/ M2 Z* a* s9 z4 o" z6 c2 q2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/routes/middleware.py", line 153, in __call__5 J" }8 ^! k' G% ~( m/ H
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     response = self.app(environ, start_response)$ b: `, t0 W- J/ |
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 k; ]0 y  @6 z; w, V9 V3 W2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/webob/dec.py", line 143, in __call__  r- U- S7 h5 c* w5 b6 K8 w9 n
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return resp(environ, start_response)- E1 y& r3 a$ Z% c- v
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
; \- V/ F% z) P% `4 ]2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/webob/dec.py", line 129, in __call__& u( v6 `7 k, A7 \( ?
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     resp = self.call_func(req, *args, **kw), g. v/ g& N0 |! n
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
" X5 L/ a* C# J8 z4 s2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/webob/dec.py", line 193, in call_func
5 |  F) \6 T" {  b- f4 k2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return self.func(req, *args, **kwargs)0 v5 E; t* R7 V  R! ~
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^9 J3 M! U- b# y  p! j5 h, J' Q
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/cinder/api/openstack/wsgi.py", line 839, in __call__
0 {: ^: p; K2 N: Q2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return self._process_stack(request, action, action_args,6 K5 ~- k5 K6 m9 M' N$ Z' i( S: I
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ]$ }( n$ s7 L
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/cinder/api/openstack/wsgi.py", line 900, in _process_stack
9 O$ }$ \- l* h( l  N' I2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     action_result = self.dispatch(meth, request, action_args)8 `& l, U- d, e3 ?+ L+ x* q
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^4 S$ n. C0 F* ^8 {
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/cinder/api/openstack/wsgi.py", line 995, in dispatch
; ]3 W! H! ~) A% m5 f- `2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return method(req=request, **action_args)5 e$ x. i0 j) H: P8 r2 O' \) z
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 G" x- l) ?( g; ]& c, M2 s% o- Z8 P6 X2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/cinder/api/openstack/wsgi.py", line 1160, in version_select1 J) I0 \3 V0 L6 _: j( r6 O1 w# a
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return func.func(self, *args, **kwargs)
+ s& o0 W+ h6 o3 Z$ ?2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^4 F2 I1 K& p" Q9 a. {
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/cinder/api/v3/attachments.py", line 282, in delete& h5 O( j6 j/ s, k4 I
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     attachments = self.volume_api.attachment_delete(context, attachment)
; @& ~4 ~6 ^  \) @6 ~6 I2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- [, n+ L4 F9 p( C# h2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/cinder/volume/api.py", line 2625, in attachment_delete
4 k! ^# W- v) ?" P& Q2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     self.attachment_deletion_allowed(ctxt, attachment)
4 |# S% K* e1 t& P4 j2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault   File "/usr/lib/python3.11/site-packages/cinder/volume/api.py", line 2616, in attachment_deletion_allowed, O+ x5 p) T9 ]8 L$ |
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     raise exception.ConflictNovaUsingAttachment(instance_id=server_id)
' O, M1 u$ Q  `5 }. k% z2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault cinder.exception.ConflictNovaUsingAttachment: Detach volume from instance 86991cb8-4318-4c2a-bb8f-eb04db49c76c using the Compute API
# x" Q/ n' [  i; O2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault * a! i9 U. k# |) [: @8 f5 O
2025-10-13 11:17:09.058 428216 INFO cinder.api.middleware.fault [req-eddad715-3eb6-45fd-9545-8100c5ec515c req-d3c424cf-6c0f-4afc-b1b7-25970f962dff 8af7a596e71b44c880b7d9953e8a9f3c 1d65225e272d4677b60eeec353674612 - - default default] http://controller:8776/v3/1d65225e272d4677b60eeec353674612/attachments/6e324d16-d185-4051-bed8-bc2647191a02 returned with HTTP 409
" }  Y/ `8 A* J  P2025-10-13 11:17:09.059 428216 INFO eventlet.wsgi.server [req-eddad715-3eb6-45fd-9545-8100c5ec515c req-d3c424cf-6c0f-4afc-b1b7-25970f962dff 8af7a596e71b44c880b7d9953e8a9f3c 1d65225e272d4677b60eeec353674612 - - default default] 192.168.16.70 "DELETE /v3/1d65225e272d4677b60eeec353674612/attachments/6e324d16-d185-4051-bed8-bc2647191a02 HTTP/1.1" status: 409  len: 501 time: 0.8064778
! U! p8 U3 _9 p7 W% a7 }
$ ]( [) f0 a1 T: K. H3 \% X7 Q/ r+ u" Q4 A
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-11 22:57 , Processed in 0.015442 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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