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

删除虚机是报错

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
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 nova3 O  [, c' N0 @
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# l( z0 S0 ~9 Y2 b+ k3 T9 j2025-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$ {  N( f+ R. v1 ~9 K
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault Traceback (most recent call last):7 N3 G6 h' }9 x$ ]0 u( ?6 h
2025-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__" i- Z, Z& u1 f1 D0 S
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return req.get_response(self.application)
( O. I; L; c, j, Q& ^2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# O0 n8 `  b) D# \& _9 i2025-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
* C$ j- Q: [9 M( g; x* F2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     status, headers, app_iter = self.call_application(
) V1 S. [4 U8 T& x  }( K2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                                 ^^^^^^^^^^^^^^^^^^^^^^
$ l( B9 K2 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% c) N5 I. X2 K) R, I  c
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     app_iter = application(self.environ, start_response)
& R/ ?7 u! P$ C2 z- r2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8 p9 l3 R: s, T/ C  Y2 l2025-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__
% o9 i$ W- P# e8 _7 W0 r8 N2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return resp(environ, start_response)
( ~! _+ o5 t$ r0 _! Q2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
% _) U/ 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 129, in __call__
! @# ~1 r# A6 F, o/ w% H, y3 J2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     resp = self.call_func(req, *args, **kw)0 O6 V  M3 y5 {1 J! s' K
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^/ I: }9 ], |# ^3 V
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_func6 F8 Z/ ^" ]" T
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return self.func(req, *args, **kwargs)5 k2 B+ {* C, d, s0 Z. _
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^9 b. u# k3 [: F
2025-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__
* n" e( c. ?. E; L2 D" o. r7 o$ O2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return request.get_response(self.application)5 X7 ?! M5 R6 C) ^* K5 z
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^% I5 c+ C) l3 w; y& j
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, d, r5 `5 V2 a& ]: G
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     status, headers, app_iter = self.call_application(9 v8 ~5 m6 E5 V4 G
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                                 ^^^^^^^^^^^^^^^^^^^^^^, l1 W  R. T# c& V: a% 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_application( I. ^5 b7 S1 d+ F) [& T+ n7 T
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     app_iter = application(self.environ, start_response)
# w7 {8 U/ S, d# M2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^* c; Q! m: {  V
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__3 _5 |5 C; `: P* C
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     resp = self.call_func(req, *args, **kw)
3 K" c$ E- q8 D2 O5 [2 P9 B2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 @5 t, m8 k7 q$ q( P6 i2025-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
* n% u/ F# i! E) E6 ?7 O: Z  X2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return self.func(req, *args, **kwargs)
3 y2 V+ G8 Z( z2 X6 P2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
; x/ ^& W; J% K. c2025-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__! q, y" S' O1 Z- d+ g
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     response = req.get_response(self._app)
/ p& `0 [1 ~+ C: b. t$ d+ U2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                ^^^^^^^^^^^^^^^^^^^^^^^^^^^5 G0 h4 ^7 v4 l2 F5 J
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: `  l8 p! f, V
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     status, headers, app_iter = self.call_application(
3 }; m% h4 @' {1 f  \1 F2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                                 ^^^^^^^^^^^^^^^^^^^^^^
  l1 s( s  n4 n2025-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
& K9 w8 b, g, o4 r, r$ U7 S2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     app_iter = application(self.environ, start_response)  ?. a* N8 V3 h
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
! k" ~6 W6 `& J. o) }2 X! a2025-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__
/ h  k' B$ s/ [  v" C' K8 I8 ]2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return resp(environ, start_response): b5 h2 P; i$ r& a; j6 m  I
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^0 T' w' w: b. n" J6 [+ s
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__; q' G7 B, Q' V' }$ F
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return resp(environ, start_response)
/ \4 I0 a/ f$ n2 t) j$ P+ c3 z, l2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
& O3 W; N2 E  \* M1 m2025-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__
% K* K- U3 R) \2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     response = self.app(environ, start_response); S# P. f, H- U7 h) y  N; i7 C
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^; H. H2 U; X/ u3 b6 ^$ m% c
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__
4 b& `. U+ B( Q. B4 e2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return resp(environ, start_response)
' A- A9 A0 l( @5 F5 [' |4 e2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
$ J6 I6 n6 H8 `8 O( ?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__3 }; M. E) ]  L  C, B5 n* O% V3 U5 S
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     resp = self.call_func(req, *args, **kw)1 _$ a3 g, c6 Q9 O$ N4 }% J9 L
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' l5 c+ c" R0 g$ |9 J+ E9 ]; c- f
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% X5 f1 Y  l& a% [
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return self.func(req, *args, **kwargs)
& _9 F% e2 l1 R0 T0 J& ?2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
, B& ]: i, }  B. E, A, G2025-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__8 _$ f& ?: K5 M# Y! q
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return self._process_stack(request, action, action_args,
4 g! D$ [9 n" B) X1 r- @2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/ z4 e1 Y/ _( r* U0 J- E  U2025-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
  q/ b" t4 Z, Q2 `2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     action_result = self.dispatch(meth, request, action_args)* z9 ]5 E# M5 q7 v
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- v$ v  N3 Z( L) N  J2025-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
* W! M0 N9 t, W3 N6 A6 m- D% L1 D8 ?2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return method(req=request, **action_args)
& I! a% k4 X; f. I0 r2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
" t7 p) a; E8 Z( t" w, P- e) P; {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 1160, in version_select
9 B. C" `3 Y( |" ^7 O" N* J2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     return func.func(self, *args, **kwargs)+ t' z& ~, y  j3 Q
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  [  E5 {, \3 c) T! D% M2025-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) b. l" g8 ^3 ~( [7 a; p7 T
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     attachments = self.volume_api.attachment_delete(context, attachment)) e* J. T/ z4 U; l$ _8 O
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
! K  }* A' C' A+ t$ N# |& f2025-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
/ `$ u: l- x8 S8 C" Z' G2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     self.attachment_deletion_allowed(ctxt, attachment)
! E! `% k1 k) B: A( M& Q8 t1 k2025-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
! @5 v" B  [  j2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault     raise exception.ConflictNovaUsingAttachment(instance_id=server_id)  S5 w, C+ [( V( U
2025-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) \- J0 c* X+ K" U  {
2025-10-13 11:17:09.055 428216 ERROR cinder.api.middleware.fault
9 H" r* ?4 ?6 _9 Q8 D+ [8 |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
  U4 W, }! w8 _6 o8 W/ I2025-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
& Z1 u0 E8 e) O. {2 W% p# Z; R9 X7 W( v

& g& x+ t0 _% z  c. J
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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