易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 77|回复: 2
收起左侧

nova-conductor服务报错,创建虚机报错

[复制链接]
发表于 2025-3-8 08:00:00 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
2025-03-07 21:03:34.731 137043 WARNING amqp [-] Received method (60, 30) during closing channel 1. This method will be ignored
7 V$ x. Y& \! w  P' r- }, K2025-03-07 21:03:34.743 137044 WARNING amqp [-] Received method (60, 30) during closing channel 1. This method will be ignored$ v8 s6 y+ ]. g
2025-03-07 21:03:34.760 137042 WARNING amqp [-] Received method (60, 30) during closing channel 1. This method will be ignored
5 M4 J6 G5 y! Q+ t$ o1 n2025-03-07 21:03:34.754 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Caught SIGTERM, stopping children* L% ?$ k3 P" `0 x4 e/ c" C
2025-03-07 21:03:34.831 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Waiting on 8 children to exit# y/ \7 f" b8 X% q* _
2025-03-07 21:03:34.831 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137043 exited with status 0) o3 l, v8 n# E& v- p: J- ^- p. s
2025-03-07 21:03:34.832 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137044 exited with status 0
* J  Y. P8 r7 B" ?2025-03-07 21:03:34.832 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137046 killed by signal 15, h1 ^; {0 n0 P5 O# D# _& s
2025-03-07 21:03:34.837 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137039 killed by signal 154 r  D% A2 i% X4 @9 d
2025-03-07 21:03:34.846 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137042 exited with status 02 }. L3 A& S& W9 e9 g: }
2025-03-07 21:03:34.850 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137041 killed by signal 15; k5 M4 J8 b! w" @. W
2025-03-07 21:03:34.857 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137047 killed by signal 15) u& @2 u7 C. b) `! ?8 E
2025-03-07 21:03:34.860 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137045 killed by signal 15
! C: N( O: r9 `, D# q% V6 K2025-03-07 21:05:01.297 1258 WARNING keystoneauth.identity.generic.base [-] Failed to discover available identity versions when contacting http://controller:5000/v3. Attempting to parse version from URL.: keystoneauth1.exceptions.connection.ConnectFailure: Unable to establish connection to http://controller:5000/v3: HTTPConnectionPool(host='controller', port=5000): Max retries exceeded with url: /v3 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f29e77f1850>: Failed to establish a new connection: [Errno 111] ECONNREFUSED'))5 u7 ~; Z2 O) v  w+ J! v7 _
2025-03-07 21:05:01.317 1258 ERROR nova.scheduler.client.report [-] Placement API service is not responding.: keystoneauth1.exceptions.connection.ConnectFailure: Unable to establish connection to http://controller:5000/v3/auth/tokens: HTTPConnectionPool(host='controller', port=5000): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f29e78210d0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED'))( `% H' \/ }6 z
2025-03-07 21:05:01.317 1258 WARNING nova.conductor.manager [-] Unable to initialize placement client (Unable to establish connection to http://controller:5000/v3/auth/tokens: HTTPConnectionPool(host='controller', port=5000): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f29e78210d0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED'))); Continuing with startup, but some operations will not be possible.: keystoneauth1.exceptions.connection.ConnectFailure: Unable to establish connection to http://controller:5000/v3/auth/tokens: HTTPConnectionPool(host='controller', port=5000): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f29e78210d0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED'))
$ q: k0 W4 g9 ^* s0 m2025-03-07 21:05:01.617 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Starting 8 workers
! u2 f. Z/ Y7 y9 C2025-03-07 21:05:01.690 1931 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s), s- F- L% T! a* `: V
2025-03-07 21:05:01.839 1933 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
7 {& y+ C( ?' ~0 G7 w2025-03-07 21:05:01.891 1934 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)' q6 x- m$ |! D& W
2025-03-07 21:05:01.903 1932 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)% ]% _. y' |6 L* E% \
2025-03-07 21:05:01.910 1937 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
2 i7 @7 [! o1 l* P4 n2025-03-07 21:05:01.961 1936 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)+ @0 F  ~2 F/ j& T8 @
2025-03-07 21:05:01.982 1942 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)4 w& u! J  F5 d. ]. j5 u- ^. U
2025-03-07 21:05:02.017 1950 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
, ]9 R( G5 \' a# s# L2025-03-07 21:05:02.048 1258 WARNING oslo_config.cfg [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Deprecated: Option "auth_strategy" from group "api" is deprecated for removal (6 n' o: M5 ]4 d" m  u, C
The only non-default choice, ``noauth2``, is for internal development and
/ a* c% q3 e' d; H$ Ltesting purposes only and should not be used in deployments. This option and
/ Z9 e( Z% c) e- w- @its middleware, NoAuthMiddleware[V2_18], will be removed in a future release.+ ~* P4 {/ A; u5 S" u: v# F
).  Its value may be silently ignored in the future./ I. s% R; e, y$ T4 j1 c
2025-03-07 21:05:02.118 1258 WARNING oslo_config.cfg [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Deprecated: Option "api_servers" from group "glance" is deprecated for removal (8 \) a2 E' }9 r  d2 ]& N$ J
Support for image service configuration via standard keystoneauth1 Adapter6 V% {$ w  u# U9 Z
options was added in the 17.0.0 Queens release. The api_servers option was
# }/ p0 F) C8 \$ @& p1 @8 Gretained temporarily to allow consumers time to cut over to a real load
" {; N# [$ w2 @& y; _# n. sbalancing solution.
7 Q9 O8 i* |2 F7 y1 T6 L. k).  Its value may be silently ignored in the future.
1 o; L: K. n9 j1 F2025-03-07 21:05:02.149 1258 WARNING oslo_config.cfg [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Deprecated: Option "auth_plugin" from group "neutron" is deprecated. Use option "auth_type" from group "neutron".
0 I# S0 n( |6 v& g2025-03-07 21:05:02.304 1931 ERROR oslo.messaging._drivers.impl_rabbit [None req-a77e02a6-0c79-4b26-8b33-668bf46e90e0 - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 1.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED* ?8 z: r% N! P1 t1 l$ n
2025-03-07 21:05:02.410 1934 ERROR oslo.messaging._drivers.impl_rabbit [None req-4c5916f5-f716-46c0-9151-73104c23fdad - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 1.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED
" ?. x8 C3 z1 F* Y( S2025-03-07 21:05:02.422 1950 ERROR oslo.messaging._drivers.impl_rabbit [None req-7b7e0749-d771-4a7f-a989-df505d23dfdb - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 1.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED
. c1 P& Q" {) n9 ^9 U7 F3 h+ K2025-03-07 21:05:02.451 1932 ERROR oslo.messaging._drivers.impl_rabbit [None req-62e23037-1bd6-4b0d-9b97-46bd81458d2b - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 1.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED
3 ?' y' C* ~# d" a2025-03-07 21:05:02.466 1936 ERROR oslo.messaging._drivers.impl_rabbit [None req-81036364-9c98-4ccd-9b75-8322beeff017 - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 1.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED
! x; c+ T+ b7 {" V; l2025-03-07 21:05:02.476 1933 ERROR oslo.messaging._drivers.impl_rabbit [None req-3c1bca5e-5b6a-493c-8798-ee90ff170292 - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 1.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED
. }! q+ \8 O/ Z. _" v2025-03-07 21:05:02.479 1942 ERROR oslo.messaging._drivers.impl_rabbit [None req-9c80e0c0-863a-40db-9a72-882c462635ba - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 1.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED
. y, f/ a1 u1 [  p7 c2025-03-07 21:05:02.482 1937 ERROR oslo.messaging._drivers.impl_rabbit [None req-cad623ea-e577-4c7d-b622-82b6489dbf62 - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 1.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED
2 j) Q1 R. Y7 \& h8 W2025-03-07 21:05:03.313 1931 ERROR oslo.messaging._drivers.impl_rabbit [None req-a77e02a6-0c79-4b26-8b33-668bf46e90e0 - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 3.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED4 U/ [" M/ c& M+ ^; B; \+ A
2025-03-07 21:05:03.413 1934 ERROR oslo.messaging._drivers.impl_rabbit [None req-4c5916f5-f716-46c0-9151-73104c23fdad - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 3.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED
2 A. c# l! G( `9 y! j+ C) Q6 `2025-03-07 21:05:03.424 1950 ERROR oslo.messaging._drivers.impl_rabbit [None req-7b7e0749-d771-4a7f-a989-df505d23dfdb - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 3.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED6 m6 u6 F8 z& l
2025-03-07 21:05:03.454 1932 ERROR oslo.messaging._drivers.impl_rabbit [None req-62e23037-1bd6-4b0d-9b97-46bd81458d2b - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 3.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED
- H7 b" x4 g! V2 {2025-03-07 21:05:03.469 1936 ERROR oslo.messaging._drivers.impl_rabbit [None req-81036364-9c98-4ccd-9b75-8322beeff017 - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 3.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED
6 v" e2 x- h1 K# F  p4 T$ V7 Q2025-03-07 21:05:03.478 1933 ERROR oslo.messaging._drivers.impl_rabbit [None req-3c1bca5e-5b6a-493c-8798-ee90ff170292 - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 3.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED
2 |* a8 j% K  V% S/ W2025-03-07 21:05:03.482 1942 ERROR oslo.messaging._drivers.impl_rabbit [None req-9c80e0c0-863a-40db-9a72-882c462635ba - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 3.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED
# o) T( w" ~3 U/ Y0 G0 F2025-03-07 21:05:03.485 1937 ERROR oslo.messaging._drivers.impl_rabbit [None req-cad623ea-e577-4c7d-b622-82b6489dbf62 - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 3.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED/ A3 q$ Z, C; L* |6 p
2025-03-07 21:05:06.317 1931 ERROR oslo.messaging._drivers.impl_rabbit [None req-a77e02a6-0c79-4b26-8b33-668bf46e90e0 - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 5.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED! p" q( `3 z8 Y+ c: c& V9 Z
2025-03-07 21:05:06.417 1934 ERROR oslo.messaging._drivers.impl_rabbit [None req-4c5916f5-f716-46c0-9151-73104c23fdad - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 5.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED: L$ m) y# t+ F2 v; V' L
2025-03-07 21:05:06.429 1950 ERROR oslo.messaging._drivers.impl_rabbit [None req-7b7e0749-d771-4a7f-a989-df505d23dfdb - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 5.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED5 j; Y8 t5 n8 G7 H9 a2 V2 Z
2025-03-07 21:05:06.459 1932 ERROR oslo.messaging._drivers.impl_rabbit [None req-62e23037-1bd6-4b0d-9b97-46bd81458d2b - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 5.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED
& E$ i0 ?) K, A  h% Q2025-03-07 21:05:06.474 1936 ERROR oslo.messaging._drivers.impl_rabbit [None req-81036364-9c98-4ccd-9b75-8322beeff017 - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 5.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED4 c3 q/ ?9 B$ ?
2025-03-07 21:05:06.483 1933 ERROR oslo.messaging._drivers.impl_rabbit [None req-3c1bca5e-5b6a-493c-8798-ee90ff170292 - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 5.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED  G' r5 R' \  i1 h& j: y
2025-03-07 21:05:06.486 1942 ERROR oslo.messaging._drivers.impl_rabbit [None req-9c80e0c0-863a-40db-9a72-882c462635ba - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 5.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED2 S% T- }. S! b, \0 k9 ]& @
2025-03-07 21:05:06.489 1937 ERROR oslo.messaging._drivers.impl_rabbit [None req-cad623ea-e577-4c7d-b622-82b6489dbf62 - - - - - -] Connection failed: [Errno 111] ECONNREFUSED (retrying in 5.0 seconds): ConnectionRefusedError: [Errno 111] ECONNREFUSED% v" F8 W& D$ l! ?5 V6 j; B
2025-03-07 21:16:02.763 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Caught SIGTERM, stopping children- u1 X2 [- L9 a, g. l
2025-03-07 21:16:02.789 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Waiting on 8 children to exit
( D; X; o6 ?$ [: W( L2025-03-07 21:16:02.790 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1931 killed by signal 15
# a9 W4 {( d: l2025-03-07 21:16:02.790 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1932 killed by signal 15. y4 F, ?- a- v- V2 L5 g
2025-03-07 21:16:02.791 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1933 killed by signal 15
- s& _- j+ V+ E" R2025-03-07 21:16:02.791 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1934 killed by signal 154 G9 C  [: I1 z4 m4 n
2025-03-07 21:16:02.791 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1936 killed by signal 15
( r7 H7 m& x$ I2025-03-07 21:16:02.792 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1937 killed by signal 152 c3 y; {* }; t, h" ~$ G
2025-03-07 21:16:02.796 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1950 killed by signal 15
0 t) v3 ^6 ^( ?/ `0 a+ {" ]2025-03-07 21:16:02.799 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1942 killed by signal 15
. t/ g- Y, k) G2 L6 q2025-03-07 21:16:05.738 3577 INFO oslo_service.service [None req-d10f8c53-7a53-4344-8e80-90b77ccdb5ca - - - - - -] Starting 8 workers9 z1 c8 r" t0 k; v: Q
2025-03-07 21:16:05.755 3592 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
1 \5 Z" ^( w5 D' I2025-03-07 21:16:05.760 3593 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)% ~2 n6 `5 R" k7 h4 g: Z! c' w
2025-03-07 21:16:05.773 3597 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
* R7 x  m/ n9 |  y7 E2025-03-07 21:16:05.791 3577 WARNING oslo_config.cfg [None req-d10f8c53-7a53-4344-8e80-90b77ccdb5ca - - - - - -] Deprecated: Option "auth_strategy" from group "api" is deprecated for removal (% C; a% X3 q7 [5 X' w0 T
The only non-default choice, ``noauth2``, is for internal development and: C  j) k6 \# U) e0 D# ]( H2 p' p
testing purposes only and should not be used in deployments. This option and
1 F; g3 n) L1 n& mits middleware, NoAuthMiddleware[V2_18], will be removed in a future release.* Y2 z4 i& N, y4 d1 X
).  Its value may be silently ignored in the future.
9 H9 O! X+ Q3 h. m9 s" c! z+ M2025-03-07 21:16:05.798 3598 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
/ ]! [, p: |1 k. U6 p7 I2025-03-07 21:16:05.799 3596 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)* l9 F& D3 ^9 D
2025-03-07 21:16:05.801 3595 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)% M2 d) s( F0 p. e; W) B2 v4 a% T/ c9 v
2025-03-07 21:16:05.804 3599 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
/ n  Y- r0 F: H# g+ {2025-03-07 21:16:05.804 3594 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
( ]$ l$ {9 J# E* W2025-03-07 21:16:05.809 3577 WARNING oslo_config.cfg [None req-d10f8c53-7a53-4344-8e80-90b77ccdb5ca - - - - - -] Deprecated: Option "api_servers" from group "glance" is deprecated for removal (
; r) N" i1 L) A6 S$ G& p# PSupport for image service configuration via standard keystoneauth1 Adapter# F2 ^; ]5 D% R9 b; A
options was added in the 17.0.0 Queens release. The api_servers option was# l6 s0 _: S; ~' U
retained temporarily to allow consumers time to cut over to a real load9 ~3 T- J$ s* n
balancing solution.( y/ Z" B9 @- _; a& }6 o. \7 a+ b- i
).  Its value may be silently ignored in the future.* |  [" ~" _- e! x( h9 V: i) C
2025-03-07 21:16:05.836 3577 WARNING oslo_config.cfg [None req-d10f8c53-7a53-4344-8e80-90b77ccdb5ca - - - - - -] Deprecated: Option "auth_plugin" from group "neutron" is deprecated. Use option "auth_type" from group "neutron".: I8 E, ]  q8 v2 |4 Z/ v
2025-03-07 21:28:58.624 3594 ERROR nova.scheduler.utils [None req-5114c9c8-5f2c-4644-98bd-bf344dc8a7e9 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] [instance: f6f00bf2-4e84-4f9d-958b-694b86988a13] Error from last host: compute2 (node compute2): ['Traceback (most recent call last):\n', '  File "/usr/lib/python3.9/site-packages/nova/compute/manager.py", line 2615, in _build_and_run_instance\n    self.driver.spawn(context, instance, image_meta,\n', '  File "/usr/lib/python3.9/site-packages/nova/virt/libvirt/driver.py", line 4420, in spawn\n    self._create_guest_with_network(\n', '  File "/usr/lib/python3.9/site-packages/nova/virt/libvirt/driver.py", line 7789, in _create_guest_with_network\n    self._cleanup(\n', '  File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__\n    self.force_reraise()\n', '  File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise\n    raise self.value\n', '  File "/usr/lib/python3.9/site-packages/nova/virt/libvirt/driver.py", line 7766, in _create_guest_with_network\n    guest = self._create_guest(\n', '  File "/usr/lib/python3.9/site-packages/nova/virt/libvirt/driver.py", line 7705, in _create_guest\n    guest.launch(pause=pause)\n', '  File "/usr/lib/python3.9/site-packages/nova/virt/libvirt/guest.py", line 168, in launch\n    LOG.exception(\'Error launching a defined domain with XML: %s\',\n', '  File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__\n    self.force_reraise()\n', '  File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise\n    raise self.value\n', '  File "/usr/lib/python3.9/site-packages/nova/virt/libvirt/guest.py", line 165, in launch\n    return self._domain.createWithFlags(flags)\n', '  File "/usr/lib/python3.9/site-packages/eventlet/tpool.py", line 193, in doit\n    result = proxy_call(self._autowrap, f, *args, **kwargs)\n', '  File "/usr/lib/python3.9/site-packages/eventlet/tpool.py", line 151, in proxy_call\n    rv = execute(f, *args, **kwargs)\n', '  File "/usr/lib/python3.9/site-packages/eventlet/tpool.py", line 132, in execute\n    six.reraise(c, e, tb)\n', '  File "/usr/lib/python3.9/site-packages/six.py", line 709, in reraise\n    raise value\n', '  File "/usr/lib/python3.9/site-packages/eventlet/tpool.py", line 86, in tworker\n    rv = meth(*args, **kwargs)\n', '  File "/usr/lib64/python3.9/site-packages/libvirt.py", line 1415, in createWithFlags\n    raise libvirtError(\'virDomainCreateWithFlags() failed\')\n', 'libvirt.libvirtError: Unable to delete file /usr/lib/python3.9/site-packages/instances/f6f00bf2-4e84-4f9d-958b-694b86988a13/console.log: Read-only file system\n', '\nDuring handling of the above exception, another exception occurred:\n\n', 'Traceback (most recent call last):\n', '  File "/usr/lib/python3.9/site-packages/nova/compute/manager.py", line 2430, in _do_build_and_run_instance\n    self._build_and_run_instance(context, instance, image,\n', '  File "/usr/lib/python3.9/site-packages/nova/compute/manager.py", line 2722, in _build_and_run_instance\n    raise exception.RescheduledException(\n', 'nova.exception.RescheduledException: Build of instance f6f00bf2-4e84-4f9d-958b-694b86988a13 was re-scheduled: Unable to delete file /usr/lib/python3.9/site-packages/instances/f6f00bf2-4e84-4f9d-958b-694b86988a13/console.log: Read-only file system\n'], F" H1 h8 d. z5 N/ }2 l
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server [None req-5114c9c8-5f2c-4644-98bd-bf344dc8a7e9 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] Exception during message handling: keystoneauth1.exceptions.catalog.EndpointNotFound: publicURL endpoint for volumev3 service in = region not found1 x/ f  u: H5 V9 `
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
9 W4 X& D7 b0 s4 S0 v. S2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/oslo_messaging/rpc/server.py", line 165, in _process_incoming
6 O' V# h' Q& Y; E& g2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)2 f# _, E) A/ W! }4 n
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/oslo_messaging/rpc/dispatcher.py", line 309, in dispatch6 _. }( j4 Z6 z, l5 U
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)% b- r5 h' K: U; ?4 f
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/oslo_messaging/rpc/dispatcher.py", line 229, in _do_dispatch) f: W6 O- V) t$ Z) K3 U
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)2 ?* u9 C- G9 g$ `$ t5 S
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 873, in build_instances  x) N1 h+ ?$ k
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     self._validate_existing_attachment_ids(context, instance, bdms)
  x6 F3 P' ^" G; @- n0 s2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 608, in _validate_existing_attachment_ids
4 @# O& D6 z$ K2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     self.volume_api.attachment_get(context, bdm.attachment_id)
/ C6 u) O* ~, y3 A# W* p" h2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/nova/volume/cinder.py", line 397, in wrapper
% U; ?& h# _5 @) `2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     res = method(self, ctx, *args, **kwargs)
2 ^/ E. `1 A* q. _- U5 z1 i2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/nova/volume/cinder.py", line 451, in wrapper  g3 M. c2 d9 W. W: H
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     res = method(self, ctx, attachment_id, *args, **kwargs)
8 M9 L7 y  i! @& F# Q- ]! F; J2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/nova/volume/cinder.py", line 828, in attachment_get, s3 w' ?5 w9 u$ n$ q7 R+ o2 l
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     attachment_ref = cinderclient(/ e9 F6 `$ u5 H2 V, a& c3 S, C
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/nova/volume/cinder.py", line 247, in cinderclient7 D; [  A# F5 `8 z- t
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     auth, service_parameters, url = _get_cinderclient_parameters(context), }8 k3 k, t* u; i& K2 A
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/nova/volume/cinder.py", line 212, in _get_cinderclient_parameters1 B% G) ~) j& H& K, }/ X  Z& O8 r! F
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     url = _SESSION.get_endpoint(auth, **service_parameters)
7 d& d2 u, x; n. k9 i' T7 _2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/keystoneauth1/session.py", line 1235, in get_endpoint5 u% c5 F; _# C, t" j
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return auth.get_endpoint(self, **kwargs)& K# D7 j0 T/ j9 d: I8 q3 G0 r
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/keystoneauth1/service_token.py", line 62, in get_endpoint
2 B+ Z; J/ g$ c2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return self.user_auth.get_endpoint(*args, **kwargs)) w& S# b+ [4 D& m6 H8 c
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/nova/context.py", line 70, in get_endpoint% M4 J5 N5 ]* D- Z# T, B6 ^
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return self.service_catalog.url_for(service_type=service_type,
2 z) K& K$ G7 F, z# [3 _2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/keystoneauth1/access/service_catalog.py", line 392, in url_for
7 H/ |# Y6 V6 }6 v# ^2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return self.endpoint_data_for(service_type=service_type,6 R* o$ c# ^% j2 V) B0 ?1 o6 c- P
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/keystoneauth1/access/service_catalog.py", line 459, in endpoint_data_for
% R/ L9 T: Y, t' U/ T2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     raise exceptions.EndpointNotFound(msg)+ `& c2 U: M8 b7 K% Z/ f, o
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server keystoneauth1.exceptions.catalog.EndpointNotFound: publicURL endpoint for volumev3 service in = region not found
' ]0 z6 a# H2 C" d* ]! e4 k" f2 t& T$ J2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server 7 Z; V2 v! r/ i; q# I
0 f3 v6 P$ v' e" I9 j

# `- z& ?1 t2 n3 T5 M1 t
 楼主| 发表于 2025-3-8 08:00:01 | 显示全部楼层
这个报错,还不知道要怎么解决。在研究测试下结果吧。
 楼主| 发表于 2025-3-8 08:00:02 | 显示全部楼层
上面有几个错误的地方一个是9 d: D7 O1 m. _8 J& c7 x( n
WARNING keystoneauth.identity.generic.base [-] Failed to discover available identity versions when contacting http://controller:5000/v3. Attempting to parse version from URL.: keystoneauth1.exceptions.connection.ConnectFailure: Unable to establish connection to http://controller:5000/v3: HTTPConnectionPool(host='controller', port=5000): Max retries exceeded with url: /v3 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f29e77f1850>: Failed to establish a new connection: [Errno 111] ECONNREFUSED'))+ V* A* d9 ]" G3 S. K% a$ ~
2025-03-07 21:05:01.317 1258 ERROR nova.scheduler.client.report [-] Placement API service is not responding.: keystoneauth1.exceptions.connection.ConnectFailure: Unable to establish connection to http://controller:5000/v3/auth/tokens: HTTPConnectionPool(host='controller', port=5000): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f29e78210d0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED'))# G' Z9 w( o$ o1 A# j0 g5 @$ U, u
' _; {* e5 h' ]% t: y' f9 @' _
是因为 vim /etc/nova/nova.conf
0 q& w# z8 d; J5 q2 }! D3 l文件中:  A. |6 l1 U1 Z: T5 B4 Q2 p2 a1 D
[keystone_authtoken]0 h: r9 t# ]" S) Q' x# n, S# z# |
www_authenticate_uri = http://controller:5000
- t7 R2 `1 @# z+ h4 ]% Oauth_url = http://controller:5000
- |( I+ j& L1 j
$ f& S8 G, {! K% M0 k3 F2 ^
! Y- U0 n) J, X( r  c6 M后面的不要加v3这个参数。说明程序里有些地方需要精简才能访问;
* S/ I4 V! L$ ]3 @: z2 I0 B
5 S& u/ D" P5 z5 z
/ }. w3 ]; I; e) Z& F( u8 o% L8 a+ y+ z  e# d% t
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server [None req-5114c9c8-5f2c-4644-98bd-bf344dc8a7e9 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] Exception during message handling: keystoneauth1.exceptions.catalog.EndpointNotFound: publicURL endpoint for volumev3 service in = region not found! J$ N6 I6 k" @5 x
  o2 q# x7 b: `% u
是因为cinder的项配置有问题:. i( {! f! {% y# _

% l- u' J4 z6 ]' M/ z; R- t一定要是下面的配置才行:# r4 z- i0 V0 V* v2 @
[cinder]
2 e- m- S1 k8 W+ X' O9 U) _os_region_name = RegionOne
2 V5 L( |) _- Y% n1 t( f
: o8 x8 I  E/ S7 q5 q" V$ C
' \$ c6 q' Z0 r这两个问题解决了。- F! z6 P: \) _0 f+ i

- {5 Z9 D# h- X还剩一个问题。需要再看。" N( m$ _: u5 a' U0 g

4 ?8 ~: W- I% R' I2 Z0 @$ V- f# v4 Z1 O( |

+ ?: S1 U. K) |8 L3 L9 f( p
0 g! t' u: ^  s& @3 L( n+ _
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 点击这里给我发消息

GMT+8, 2026-4-8 13:41 , Processed in 0.046915 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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