找回密码
 注册
查看: 78|回复: 2

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2025-3-8 08:00:00 | 显示全部楼层 |阅读模式
2025-03-07 21:03:34.731 137043 WARNING amqp [-] Received method (60, 30) during closing channel 1. This method will be ignored
( z/ d) N5 {* D5 C! X7 J; B0 k2025-03-07 21:03:34.743 137044 WARNING amqp [-] Received method (60, 30) during closing channel 1. This method will be ignored. A7 P) Y( c4 o) g% s
2025-03-07 21:03:34.760 137042 WARNING amqp [-] Received method (60, 30) during closing channel 1. This method will be ignored
  c! @! `3 P4 ^, [. t8 O3 N2025-03-07 21:03:34.754 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Caught SIGTERM, stopping children8 o- c& ?5 f' B' b
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
7 ^& }- T+ B6 M' f- F2025-03-07 21:03:34.831 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137043 exited with status 0
! D3 x3 w* {3 |! ?5 }- v2025-03-07 21:03:34.832 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137044 exited with status 0
1 f4 q' [& \/ Y, v, m2 r& ^5 v2025-03-07 21:03:34.832 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137046 killed by signal 15
0 W" b1 u/ n# U2025-03-07 21:03:34.837 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137039 killed by signal 15
9 W3 [# o9 ^# W, }' B3 J8 Q2025-03-07 21:03:34.846 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137042 exited with status 0- t( o7 q3 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
& @3 D3 s3 z7 ]9 A- _/ Q2025-03-07 21:03:34.857 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137047 killed by signal 15
2 A$ ^) s  |! f4 a2025-03-07 21:03:34.860 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137045 killed by signal 15
  P& ~9 I& i9 C3 F) I8 P# E2025-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'))
- n% b) v% U* b( x2025-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'))' U# j' e3 v+ x9 M9 E
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')): v5 c3 _2 W8 V0 M! ?
2025-03-07 21:05:01.617 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Starting 8 workers
3 M& z! \; N0 o+ C4 U6 g( N) |, f* w2025-03-07 21:05:01.690 1931 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
9 a8 j5 H! o; B) \: ^7 N2025-03-07 21:05:01.839 1933 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
; g; z# r( @) F2 [# i9 A2025-03-07 21:05:01.891 1934 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)3 N! z5 h5 C- \9 j: f# A/ h1 P
2025-03-07 21:05:01.903 1932 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
( D* O* K; x0 `1 H2025-03-07 21:05:01.910 1937 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
! K$ Z, r( `/ |2025-03-07 21:05:01.961 1936 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)0 m2 m& H& U0 u' @6 d) e1 J7 G  a
2025-03-07 21:05:01.982 1942 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)5 u+ Q0 G$ X0 w7 c4 U6 v2 h- J2 J
2025-03-07 21:05:02.017 1950 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
3 D6 D! j2 R+ a# D7 h" t( Y2025-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 (
( m* W3 g+ C1 |8 m% v8 UThe only non-default choice, ``noauth2``, is for internal development and& I6 q, x  I  R+ Z3 t
testing purposes only and should not be used in deployments. This option and
. Y6 Q6 W6 [; N# h, O- Z4 k/ ^its middleware, NoAuthMiddleware[V2_18], will be removed in a future release.+ F  z" v" b; q: O1 W' R
).  Its value may be silently ignored in the future.: A9 ]1 o  }, ?1 j& u! S! ?5 D
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 (
# d( G, ?: X; ^5 `Support for image service configuration via standard keystoneauth1 Adapter
2 u/ z9 z$ p% N8 \. soptions was added in the 17.0.0 Queens release. The api_servers option was8 I% {/ x% {0 ~0 d2 ]
retained temporarily to allow consumers time to cut over to a real load
5 u$ k, B! w# Obalancing solution." \3 Z" h. b; Y6 e  B) B. N
).  Its value may be silently ignored in the future." u8 B6 t/ g, r) L
2025-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".
8 R% C- K6 B; p6 `% s% D- n2025-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( s/ g$ `$ @7 s! U+ [. N( t5 ?/ w( J' |
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
% h+ Z# d3 b: T( v2025-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! Q& b+ ]$ ^0 D# r3 b8 J
2025-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
( e2 ^& C8 L) r7 C; X! K4 b2025-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
- K5 W7 n  [' Y. `$ V% |/ i2025-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/ ~; G, o! N, i
2025-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
& p" {* n. K$ f/ ]% T3 X2025-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! \8 G0 a3 m0 U- n( B5 v3 V
2025-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] ECONNREFUSED
: m3 ~8 i3 j9 I& u2025-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& |% {/ Z% R, ]8 [
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] ECONNREFUSED
5 K; |$ P# G) P2 K; Q) W2025-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] ECONNREFUSED3 g# K; U, @- _% {
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
# J9 a( m: D) M, o1 B8 W- t2025-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. Y6 u( Y& Y+ L0 V- c  {2 \# Z0 S/ g
2025-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
" T+ D0 x  k$ l7 x' J( x0 D2 y& R* x2025-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
+ ]- J3 T1 O1 T4 Q2025-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
0 M1 j& t: B- O- |* p4 E5 M" u  b9 M2025-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
0 u: x  o& P7 I- d- y2025-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] ECONNREFUSED# m3 \0 Q$ K7 g  [/ M
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( X. Z. D: n% d
2025-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] ECONNREFUSED" U  m- }+ H' u0 d
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: ~. j; w7 U6 [, B* A0 Z
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] ECONNREFUSED
6 \4 u' ]! z. }& W2025-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
; @$ b% f/ t& W6 Q* C2025-03-07 21:16:02.763 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Caught SIGTERM, stopping children
6 Z  U2 E) \( v5 D2025-03-07 21:16:02.789 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Waiting on 8 children to exit
8 F) _1 C+ i& R, [2025-03-07 21:16:02.790 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1931 killed by signal 15
( v& M+ ]9 W6 _" S* L4 L8 }( |5 b2025-03-07 21:16:02.790 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1932 killed by signal 15
: w* r8 c7 F$ ]0 B( F! D% K2025-03-07 21:16:02.791 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1933 killed by signal 156 s2 V" f" G) D6 _. f
2025-03-07 21:16:02.791 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1934 killed by signal 15
. x" U9 k  R9 h2025-03-07 21:16:02.791 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1936 killed by signal 15
8 {# T3 F, E& Y/ W4 P2025-03-07 21:16:02.792 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1937 killed by signal 15
9 a2 p! Y* K5 w% Q2025-03-07 21:16:02.796 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1950 killed by signal 15
5 ~1 s* a: R- {4 \- F' Z2025-03-07 21:16:02.799 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1942 killed by signal 15
: d$ c& M* O5 c7 }5 v9 r2025-03-07 21:16:05.738 3577 INFO oslo_service.service [None req-d10f8c53-7a53-4344-8e80-90b77ccdb5ca - - - - - -] Starting 8 workers; |+ \# S3 q" b+ w' w
2025-03-07 21:16:05.755 3592 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
# B  V2 p0 u) [- _2025-03-07 21:16:05.760 3593 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)6 `/ h; m, W( n7 n, n; N
2025-03-07 21:16:05.773 3597 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
  W0 _; b, z/ W2025-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 (
' R5 O2 M' z1 ]& N  `9 R% i' A9 EThe only non-default choice, ``noauth2``, is for internal development and6 R; o# w: v  R. @( w
testing purposes only and should not be used in deployments. This option and
: O% S+ Y. s9 g/ ~its middleware, NoAuthMiddleware[V2_18], will be removed in a future release.; `6 p' m! l0 C
).  Its value may be silently ignored in the future.
* u: ~3 v8 c1 g: G( H1 Y2025-03-07 21:16:05.798 3598 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)4 h- k( |  O, Z: M; d
2025-03-07 21:16:05.799 3596 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)5 i; H3 j- t/ n1 e
2025-03-07 21:16:05.801 3595 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)$ y9 k/ c. H/ A" I0 @3 A! B: `. ]0 s" I
2025-03-07 21:16:05.804 3599 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)/ _2 @) I5 x, k& e
2025-03-07 21:16:05.804 3594 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)# T7 b8 d  ?. l" d$ [
2025-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 (
! Y+ L, e& n8 l! w2 s, p8 ASupport for image service configuration via standard keystoneauth1 Adapter
' y' [; S# ~$ F7 y% R$ Ooptions was added in the 17.0.0 Queens release. The api_servers option was% J, y% e8 D4 R2 |( z0 f
retained temporarily to allow consumers time to cut over to a real load
& t% J% q" d* r& vbalancing solution.
( Q# J% ^' Z, I. ]9 a).  Its value may be silently ignored in the future.% _+ d. n" M# Q1 Y1 O2 Y
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".4 M; B# G* z4 e& ]7 d, A
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']0 P, H5 O  N! b( _: [# N$ u# I
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
. E' I' @: n+ ]/ x2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
4 F2 @4 W. o5 [1 T5 P2 a2025-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_incoming0 n, n5 k1 v6 t, O: Z
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message); i! w; l! j7 y7 x& h" P
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 dispatch
$ N, G( V. p- w2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)$ i! V, r4 V/ O! M& l; {5 n* h
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
; Q/ t1 v3 t3 y: W0 A* ^2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
3 U; s$ y5 M) B+ g2025-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
1 g. k3 X! m  h" }! k2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     self._validate_existing_attachment_ids(context, instance, bdms), m+ B: q. s2 c5 X
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 608, in _validate_existing_attachment_ids: U( d7 H$ t1 I3 x/ D
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     self.volume_api.attachment_get(context, bdm.attachment_id)
- p' k0 G1 q% K' c! m- P0 ]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 397, in wrapper
* N7 @) W7 x6 e* x2 U2 [2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     res = method(self, ctx, *args, **kwargs)+ [. E% q" M! E' O
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 451, in wrapper
' u; ~! u8 x8 {6 Y; A2 J4 a2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     res = method(self, ctx, attachment_id, *args, **kwargs)3 |; u+ t/ r9 Y$ L3 X  m
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 828, in attachment_get( X3 {0 q2 n# f4 N( N
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     attachment_ref = cinderclient(
' D* k& }0 G4 q  a2025-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 cinderclient
/ q6 ?# l  N0 X! E  Q& v* `, h2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     auth, service_parameters, url = _get_cinderclient_parameters(context)& N8 P+ u* I+ k
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_parameters7 j) P8 G3 Z" {( v4 R8 D5 Z
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     url = _SESSION.get_endpoint(auth, **service_parameters)
% R# b2 a) a$ m/ M3 u2025-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_endpoint' Z/ {- m3 Y$ I
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return auth.get_endpoint(self, **kwargs)- N- H" I5 Z2 D1 u3 ~# p' ^* {5 w
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_endpoint7 ~5 w7 p% ]& u
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return self.user_auth.get_endpoint(*args, **kwargs)5 p! Z9 q4 |0 J# S4 o: K7 {
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
9 i& g* p" _/ ?8 Y" u# `. {2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return self.service_catalog.url_for(service_type=service_type,$ e) [  ~4 {& z7 P% D  j
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_for2 j7 ~; C/ L' _5 s1 y6 l. j
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return self.endpoint_data_for(service_type=service_type,' P% J4 o% @% z
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
( Q& ~# V4 Q5 }" s% f( T2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     raise exceptions.EndpointNotFound(msg)
7 X6 e, s" A8 n7 B2025-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( L3 f3 z; s0 _! P* ?
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server & ~3 O. h* Y+ R* t  R) [7 ]8 `

2 @. l9 @8 T2 F4 M5 j$ r
1 ]9 \+ M: g! p1 @

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-3-8 08:00:01 | 显示全部楼层
这个报错,还不知道要怎么解决。在研究测试下结果吧。

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-3-8 08:00:02 | 显示全部楼层
上面有几个错误的地方一个是0 r9 h. N5 a& O, V: c
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'))) A  y# \+ }9 U$ n- ^, k' I, z
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'))
4 j" b$ f* _/ [7 D
# l" e, s& ]  K* E6 h9 J# U是因为 vim /etc/nova/nova.conf
; y' h4 n# q- j7 Q3 _文件中:
  o$ c& g9 ?4 K# [/ ?[keystone_authtoken]
, a& f  h8 \# R% p5 e5 awww_authenticate_uri = http://controller:50006 _  i( V' O; P4 [5 O. w
auth_url = http://controller:5000
) C! S1 H. l2 L3 O3 l3 {8 c
( T# y2 G' @& q) B. J8 m- L( j  F4 [1 ]0 m' X* e3 v
后面的不要加v3这个参数。说明程序里有些地方需要精简才能访问;! e/ ?# T  O% l- u+ W$ h5 h
, F9 b! w3 j' P( W1 ]! v
- P( Y0 z+ D+ N2 O% f
  n# K8 t4 C# m8 N9 K/ l5 |% j  m  |
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
% {3 Z$ E+ j6 j, N& s- R' D! A5 c0 L- g
是因为cinder的项配置有问题:! S1 n8 K% `9 W6 d

/ K' L3 B& B% t一定要是下面的配置才行:- u$ M: [! F& Y" q5 e2 \
[cinder]% ^8 J# P# l6 V3 G& ?+ [2 g
os_region_name = RegionOne" a1 c/ h; l% S

& Q. `& I3 B' k9 |5 i
, d/ z$ _& e; ^: h) c9 j( n  c这两个问题解决了。
3 I9 W- g1 {  x* s  U
$ x& Z1 ~" d$ o+ l  R% l还剩一个问题。需要再看。
0 v+ q) A; M3 `% u1 B1 W8 Y2 V! \0 }

* |$ y, E' m& [) }/ y9 @" H1 k& m
7 ^( k1 f; j' P8 J9 ^+ o- P0 t% f0 Z' m, k; O/ ~2 x
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 00:01 , Processed in 0.017443 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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