易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 72|回复: 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
) @2 n, v& z$ T  y2025-03-07 21:03:34.743 137044 WARNING amqp [-] Received method (60, 30) during closing channel 1. This method will be ignored: p% i. g4 V1 @- N  F& k
2025-03-07 21:03:34.760 137042 WARNING amqp [-] Received method (60, 30) during closing channel 1. This method will be ignored& }1 u9 U5 _3 c1 K
2025-03-07 21:03:34.754 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Caught SIGTERM, stopping children7 X9 d" q; Q$ r3 m
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
& N. C7 _+ I, q. N1 x* K* W2025-03-07 21:03:34.831 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137043 exited with status 0
) P3 G/ T$ x' g7 ]1 G+ @3 V5 r2025-03-07 21:03:34.832 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137044 exited with status 06 v8 E& M- }; `8 s
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
% ]% p- ]5 z: |: d5 ^, _- G* ^2025-03-07 21:03:34.837 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137039 killed by signal 15
; o) h) v7 p  {3 z* O: l# a2025-03-07 21:03:34.846 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137042 exited with status 0
: o5 P% W9 R8 j6 }9 f0 S2025-03-07 21:03:34.850 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137041 killed by signal 15
( p* \0 w" p2 a/ Q4 }- h0 E. I2025-03-07 21:03:34.857 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137047 killed by signal 158 i# Q( R) T) W8 S
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
$ z/ k/ k5 g) o4 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'))
/ |+ q5 s4 A% m& B& l! \% Z2025-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'))! r# |# L0 H9 Z# g& Q
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')): m+ H' b0 M' }* K" }$ s4 Z! T8 A/ r
2025-03-07 21:05:01.617 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Starting 8 workers
4 d5 A" ?4 J, j, u$ w& z" o2025-03-07 21:05:01.690 1931 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
$ J4 e5 g; z+ p) g' u2025-03-07 21:05:01.839 1933 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)" F- h0 i: f+ G
2025-03-07 21:05:01.891 1934 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)8 i$ v, i/ m4 b0 D! p
2025-03-07 21:05:01.903 1932 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
; M. y  z' q+ h* ]2025-03-07 21:05:01.910 1937 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s): y' ^/ G  x8 ~
2025-03-07 21:05:01.961 1936 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
$ }- p- G7 Y! P! q- j. z7 q2025-03-07 21:05:01.982 1942 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)' n6 R  `4 Y: p- o7 u
2025-03-07 21:05:02.017 1950 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)5 a! g% W5 f& G' G* @9 z6 }
2025-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 (
: u# C2 N9 P$ ?4 MThe only non-default choice, ``noauth2``, is for internal development and: ], F6 Z1 k- S; I1 B
testing purposes only and should not be used in deployments. This option and  v: Q7 k$ R- h8 ^3 L5 V  q0 O
its middleware, NoAuthMiddleware[V2_18], will be removed in a future release.
! v' {! T1 [0 o).  Its value may be silently ignored in the future.
6 {/ j; f6 X, c2025-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 (
7 @2 v8 i; ?) }  ~  ESupport for image service configuration via standard keystoneauth1 Adapter" q" Y, d% W- L) D; i2 o
options was added in the 17.0.0 Queens release. The api_servers option was3 }) T! o6 f0 u# }' \
retained temporarily to allow consumers time to cut over to a real load; T1 V" j  T, O2 v5 g4 [- H/ c% E
balancing solution.. Q5 `$ Z& E  `  Z0 P0 P
).  Its value may be silently ignored in the future." B% h7 l/ }8 j5 g' r
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".$ L% [; D: K: R% b
2025-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 o) E# K$ I  S7 D- D& _! E5 D2025-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
) S+ e; H; U' X! Q2025-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] ECONNREFUSED8 x& I* q+ m( W3 H! {/ v/ I- o
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] ECONNREFUSED5 q, m3 b3 a+ a; V( z5 R9 ~- A
2025-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; Q3 }+ n7 k$ o: O! t7 s# n5 o. o
2025-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
* V0 q/ K  K& U9 [- z; H2025-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] ECONNREFUSED8 K; H& u4 e& z# t5 \5 Y. S& T
2025-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% j8 `" d* F' t& G- w
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
6 k$ u: E% D& Q0 L2025-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
5 W& j. i8 t; ?; y1 C2025-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
% |8 B' d. i4 ~$ v9 H. B& p2025-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
, P5 ?# T1 w4 m5 F! b2025-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] ECONNREFUSED7 {, V8 }- J6 l
2025-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+ U6 b- A* i; m4 ~! _9 B, @
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% p" _. E. X  x# p6 ?; f( O
2025-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] ECONNREFUSED6 N7 s0 g$ ?( M' a8 P7 S
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
7 N6 b0 _1 [3 H+ m7 a2025-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" G0 `* n$ O/ ?* V1 x, x8 S- ]
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] ECONNREFUSED& l. \: @2 a# b: w+ w" _
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  }( b/ K: U6 G' u+ i9 R) h
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
* a  D8 S, i8 w+ j2025-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* d4 k& Q- J) z+ R* K: K
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
5 n$ B& O) `# p2025-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] ECONNREFUSED6 Z+ S) g# f7 ^! s
2025-03-07 21:16:02.763 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Caught SIGTERM, stopping children
  h6 K' c5 Z+ o8 g  }/ q, w1 T: {( T2025-03-07 21:16:02.789 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Waiting on 8 children to exit
, l- [2 |7 c3 E6 V1 Z* D0 T  D% B2025-03-07 21:16:02.790 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1931 killed by signal 15# U5 ^! b3 K+ @; G: a
2025-03-07 21:16:02.790 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1932 killed by signal 15
/ M3 X* P2 H: {  L2025-03-07 21:16:02.791 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1933 killed by signal 15
+ q9 }  I" T4 C  J& q0 E5 o2 h: N0 }% H2025-03-07 21:16:02.791 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1934 killed by signal 15
, S5 E2 @* t* }; \; E1 m1 H& K2025-03-07 21:16:02.791 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1936 killed by signal 15
" w* q: e- R$ A0 A! p2025-03-07 21:16:02.792 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1937 killed by signal 154 r  ?) M* T+ C' z
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) j! H+ ^7 [) b
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
4 T9 b/ T5 e6 m$ E2025-03-07 21:16:05.738 3577 INFO oslo_service.service [None req-d10f8c53-7a53-4344-8e80-90b77ccdb5ca - - - - - -] Starting 8 workers
) ?) }6 v9 W- Y3 n# B7 l2025-03-07 21:16:05.755 3592 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)! [, N2 ~/ y- b, ~5 T) [
2025-03-07 21:16:05.760 3593 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
% e: \0 A7 _1 \$ p2 x4 t  {( l: s2025-03-07 21:16:05.773 3597 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)6 ?% u' b* c) N4 k
2025-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 (! O/ @4 ?  n% M
The only non-default choice, ``noauth2``, is for internal development and
' v% \4 D% W  N  `testing purposes only and should not be used in deployments. This option and" n% B: s* }0 k
its middleware, NoAuthMiddleware[V2_18], will be removed in a future release.
2 v% N' i8 l/ Z$ S$ C4 w).  Its value may be silently ignored in the future.
) C" s) j& N+ ?1 M0 s2025-03-07 21:16:05.798 3598 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
& l# C. s! w9 c* E" o2025-03-07 21:16:05.799 3596 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)0 t- a2 Q; v! b$ D/ f$ f; y
2025-03-07 21:16:05.801 3595 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
/ g  K3 a* m" l+ X1 E2025-03-07 21:16:05.804 3599 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)* D9 Q. w. W! p+ P9 Y  T8 P
2025-03-07 21:16:05.804 3594 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
( Z! d- Q5 I/ A2025-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 (1 |& h# b: p# N$ L1 e7 F0 Q% t  J! U/ T
Support for image service configuration via standard keystoneauth1 Adapter
: W5 `9 _' T6 G& R8 k8 I' @options was added in the 17.0.0 Queens release. The api_servers option was
' N* K4 ]1 g5 M' l! Q7 hretained temporarily to allow consumers time to cut over to a real load9 M% X/ \0 K9 Q  T2 Y0 d" @
balancing solution.) B9 R9 G, ]+ F; E
).  Its value may be silently ignored in the future.* f: `( l9 w# G7 M: R/ J) @/ ?* ~  R
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".
- z( \$ X3 v2 ]- m+ c- _+ C2025-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']' I' m  _3 W8 u9 U* ^0 E. Y1 R* s
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; u# R. U9 y! Z  l' q
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
: b, a( q& S  u6 ^2025-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" N, U. H) \, G" n
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)3 J6 W+ ^( \& |
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
1 A% Y3 o! w& a+ V2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)7 w8 f3 Y/ P  B& K' ]/ Z6 l# o
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_dispatch5 Y# e. t0 F; m* L
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args); I$ t: v4 h7 D3 I1 O! C
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
7 b* Q% l8 _+ j' ~2 x9 J) X3 v2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     self._validate_existing_attachment_ids(context, instance, bdms)
( O! N# p; W. _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
3 d/ R/ W* F8 }6 s5 ^$ _: M2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     self.volume_api.attachment_get(context, bdm.attachment_id)- q# Z* d3 h" S7 [: ~. _
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
% u' P! V' L$ }3 k2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     res = method(self, ctx, *args, **kwargs)
! l& X- ^; k/ Q: o7 n; Q+ \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
; Z0 e$ p' O2 f5 N6 Y! Q# n' P2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     res = method(self, ctx, attachment_id, *args, **kwargs)  E. e% S+ j* S% u
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  u$ W) o& a* L6 }1 L% P8 Z0 l! c
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     attachment_ref = cinderclient(
& @+ o. A: I; o2025-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% r0 i0 S3 l4 t
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     auth, service_parameters, url = _get_cinderclient_parameters(context)
) d# U, T3 A2 n' E1 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 212, in _get_cinderclient_parameters/ l6 i/ K. T& m' n) z* D
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     url = _SESSION.get_endpoint(auth, **service_parameters)5 t! U9 r; |' p8 T5 E) h
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_endpoint
  @* Y3 b: A' n2 @/ [1 y% D2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return auth.get_endpoint(self, **kwargs)
: r6 ~: t% q: j2025-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_endpoint6 G; L% j+ |! m
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return self.user_auth.get_endpoint(*args, **kwargs)
7 A7 {& w$ j4 f& H2025-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
) F6 I8 w2 L. W* U5 R; e2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return self.service_catalog.url_for(service_type=service_type,1 S8 j/ f( F* Q0 p4 H8 r
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$ X$ M5 ~% u8 e" U
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return self.endpoint_data_for(service_type=service_type,, y$ h& x; Q4 ~
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; K2 F7 \& T) X
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     raise exceptions.EndpointNotFound(msg)
& J, T! M% d) v# H2025-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
2 k3 s. A- g, j: V2 X1 z2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server
  j& r8 L2 m7 K5 l# N2 ^# M0 i

( ~; ^  @1 O- n4 o6 D
 楼主| 发表于 2025-3-8 08:00:01 | 显示全部楼层
这个报错,还不知道要怎么解决。在研究测试下结果吧。
 楼主| 发表于 2025-3-8 08:00:02 | 显示全部楼层
上面有几个错误的地方一个是6 L+ T! @+ [! Q# s# D
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'))
* Y! g9 o% l! C7 x# a2025-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'))1 p; V' V% @+ ~7 u; x4 s

" V" o5 B5 O- Q1 p8 u# S是因为 vim /etc/nova/nova.conf
5 n7 E" _  F5 z+ r4 d' l0 M3 k# ^文件中:
+ F* O. E' X8 J9 a9 B[keystone_authtoken]2 m, u% b: v, _. ^6 r
www_authenticate_uri = http://controller:50003 e' F% T; M/ m! i" t2 _9 U4 R
auth_url = http://controller:50000 @/ m; h, f7 c# {4 }( J% C

) `! a/ U! z( F  o0 k
0 g7 _) c9 d6 e0 K3 k0 q* `后面的不要加v3这个参数。说明程序里有些地方需要精简才能访问;0 j- w3 R$ B- `4 |
% y- A) E: a9 S$ `( z6 e% ~
. Q. M4 a' G3 X& u( x* Z
4 z3 z$ {6 M0 V% y% n3 X4 R
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; b4 [: L/ a$ N! V  ^! T6 r

0 n7 e* g' `5 k! S' Y是因为cinder的项配置有问题:  T2 R. O3 e# H- m8 F- Z

  g& i" p* I% K- h" `一定要是下面的配置才行:( [2 t8 a- m1 i: y8 {% e
[cinder]
6 j$ y0 R1 ^1 h( W) l  H* {os_region_name = RegionOne9 e: D# v5 V; A* J
$ u* t0 m4 c; D  A* h1 j8 i
- `" w/ X1 k# X4 t- r  @
这两个问题解决了。" R5 H0 C3 |! L5 C6 n# e) h1 ?
, U# h/ i/ d  h' c: T
还剩一个问题。需要再看。
% W  w: G) s! z  B3 e5 r+ l
5 J6 o* L7 Z- u. z: K/ c6 |; A0 s
) o- |9 D7 Q5 h8 G) E
9 o0 K; M% k: R) I
) x: D' ~1 X0 b$ |
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 20:00 , Processed in 0.067436 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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