找回密码
 注册
查看: 79|回复: 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& ~; t2 a: X+ [5 a" ?* x
2025-03-07 21:03:34.743 137044 WARNING amqp [-] Received method (60, 30) during closing channel 1. This method will be ignored  q- S/ J1 b/ V! s3 g3 D$ q
2025-03-07 21:03:34.760 137042 WARNING amqp [-] Received method (60, 30) during closing channel 1. This method will be ignored
0 V5 h1 z# F9 ]( `( ?1 V2025-03-07 21:03:34.754 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Caught SIGTERM, stopping children
1 ^3 y- u( ^* X4 g6 H2025-03-07 21:03:34.831 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Waiting on 8 children to exit5 Z) ]& r0 F( 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 08 X3 \7 t. o, t4 K. Q2 p; g
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  N3 n* K6 x* u" Q6 `( m
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
3 [# ?! U3 t4 w) M% `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
, Q7 {' |* |7 e: `$ D$ |$ h2025-03-07 21:03:34.846 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137042 exited with status 0
, u% a# @/ S% S2025-03-07 21:03:34.850 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137041 killed by signal 159 T2 Z1 m- h  V+ v8 v7 O
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
. Q7 F9 ?1 z! v2025-03-07 21:03:34.860 137027 INFO oslo_service.service [None req-14f979a9-d6a7-4750-94f4-6bacf2c26fba - - - - - -] Child 137045 killed by signal 15
! x9 U, G/ I( S- e& 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'))/ y7 T8 x/ W9 U
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'))
' a% \/ u+ _! ], d8 f8 V" x6 g( t% l2025-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'))- |# A, f2 P" e6 [
2025-03-07 21:05:01.617 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Starting 8 workers$ _3 Z* P/ @0 |9 l' S, E
2025-03-07 21:05:01.690 1931 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)* y6 ]( f- @6 I6 a
2025-03-07 21:05:01.839 1933 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
" H& ^( d$ W1 `" G' _2025-03-07 21:05:01.891 1934 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
) K* w) E2 R5 z8 n# a1 y) @2025-03-07 21:05:01.903 1932 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
; U3 g$ n$ J8 T6 G1 v2025-03-07 21:05:01.910 1937 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)8 i- q" Z7 H3 g7 I
2025-03-07 21:05:01.961 1936 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)" i4 y" ^$ ?) R1 m) d8 @
2025-03-07 21:05:01.982 1942 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
" I- T3 B5 E- g2 J; b2025-03-07 21:05:02.017 1950 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)" [; A  t* L2 f# f
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 (, g: v6 o' c% v& t; w: c* o# i8 r( h
The only non-default choice, ``noauth2``, is for internal development and
" x% Z' G/ _8 u8 g8 |testing purposes only and should not be used in deployments. This option and
" X' o! x- f, k; Nits middleware, NoAuthMiddleware[V2_18], will be removed in a future release.
; x2 D9 r- t7 i).  Its value may be silently ignored in the future.; Z# n; T3 _+ ]
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 (: `( ~+ R: \5 P$ i
Support for image service configuration via standard keystoneauth1 Adapter
" v3 T9 {+ ^% v0 r( Zoptions was added in the 17.0.0 Queens release. The api_servers option was
5 ]7 j8 O/ M+ Y( v) H1 O% q- X+ Eretained temporarily to allow consumers time to cut over to a real load
; U5 T0 a1 m3 j+ Ibalancing solution.
  f& G* j7 ~, I6 R% I$ K6 G).  Its value may be silently ignored in the future.1 y; u2 W( M& p! H5 c% k
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".* t$ g% o. G+ H0 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$ l, T: R% a) x" Z$ s8 R
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
( f0 n" p6 t) y" F2 \6 c2025-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
2 _$ E* c. [$ S3 g  U2025-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" S7 ^( k- ?) ?
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
  u8 @. t; e7 M' N! w! J2025-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
0 B5 u! l  f5 {9 @/ u0 I2025-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
) U, }, \1 D8 _5 Q7 d' t3 }* o2025-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
3 I, `  l' @% G* z! F2 r2025-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
; ]! X' Y; ~7 s$ I: _- R' m2025-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] ECONNREFUSED3 R: p% a0 J4 g$ L  i, T
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
3 J9 ^8 C/ U& _$ \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
! m( @9 W2 r# p% `& M2025-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] ECONNREFUSED6 r8 S+ ?4 }& p1 Q
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
8 x& O$ r/ u& t' Q, K2025-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; b; ~- B5 t% B' k& e- r2025-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
% F" @: Y; F5 h6 z! s2025-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 j$ l1 a3 C  m
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
! e% g$ I4 u4 ~; K- `8 S7 G2025-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# f3 {, i" S+ i' ~$ k* k
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
+ h8 ~. e* ^7 z! ]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: K) u. B& s+ ~) U! y
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% x# |: U4 D( Z: c+ t% O
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] ECONNREFUSED0 r/ C, H& h/ O, S$ ?" Q* `; g
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] ECONNREFUSED8 r: M: C& ?8 x% ^0 L- f7 y# Z
2025-03-07 21:16:02.763 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Caught SIGTERM, stopping children
5 V9 K" d  b# Q% b. Z! w2025-03-07 21:16:02.789 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Waiting on 8 children to exit
% o+ ?( r* b+ ~6 ~- O" U2 P+ r2025-03-07 21:16:02.790 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1931 killed by signal 158 ?2 Q( g, d) d$ |
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
, A$ W$ |* m* E- u2025-03-07 21:16:02.791 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1933 killed by signal 15
  o! R* `! I- f, u9 m6 z% U: 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* y3 f8 x/ q! x2 e0 p
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
1 b! X) t* i, y8 Z6 C2025-03-07 21:16:02.792 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1937 killed by signal 15
. n5 w7 i6 ]5 J* L( w2025-03-07 21:16:02.796 1258 INFO oslo_service.service [None req-5d588063-ee87-4576-af50-506bb3cd39b9 - - - - - -] Child 1950 killed by signal 155 q9 o7 m8 @+ g
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) l+ `; v* Y" u
2025-03-07 21:16:05.738 3577 INFO oslo_service.service [None req-d10f8c53-7a53-4344-8e80-90b77ccdb5ca - - - - - -] Starting 8 workers1 O0 b. I6 e+ V0 Z7 Q* {9 \
2025-03-07 21:16:05.755 3592 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
/ ~# v" p/ B4 c( p2025-03-07 21:16:05.760 3593 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)8 Z  _7 g7 x$ c/ ]
2025-03-07 21:16:05.773 3597 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
6 R1 G3 n. D  u2025-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 (4 F0 Z# e9 p) W* ~1 g, W
The only non-default choice, ``noauth2``, is for internal development and
5 y; `! Q0 p  l( w3 I- x& Ctesting purposes only and should not be used in deployments. This option and' a& P9 S# f6 r- f
its middleware, NoAuthMiddleware[V2_18], will be removed in a future release.( f. E! M" N2 Z. u. r& u4 e
).  Its value may be silently ignored in the future., _1 }7 s& d2 G4 N* @# p
2025-03-07 21:16:05.798 3598 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)- W$ C, l3 F( F7 R& }* `
2025-03-07 21:16:05.799 3596 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s); C! N7 y+ Q2 N% [2 J) W
2025-03-07 21:16:05.801 3595 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)4 f, l; r# b1 Q9 T, `% k9 W
2025-03-07 21:16:05.804 3599 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
/ ~- U- ?/ }* b; U. V+ o% z2025-03-07 21:16:05.804 3594 INFO nova.service [-] Starting conductor node (version 28.3.0-1.el9s)
& w+ S0 V5 @3 ~6 ?% K2025-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 (, ^& {! i; m& k3 G/ `) a
Support for image service configuration via standard keystoneauth1 Adapter
% d& `" D1 f1 d; S1 F+ Voptions was added in the 17.0.0 Queens release. The api_servers option was
/ k) e# x3 J) `& \retained temporarily to allow consumers time to cut over to a real load2 p0 P1 \: q  ~9 e
balancing solution.5 Y- }. h. k" C! B
).  Its value may be silently ignored in the future.
0 Y9 K7 q, O1 _  B2025-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".( K* s7 H  `: ^
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']1 ~& a9 s2 ~% v* C
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
) K: h3 c4 T. G. m2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
0 P" X2 ^# p7 H  T/ I. ?# a5 @: F# ?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- m, B; [) i# q
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)6 o* q: n; e/ o2 j1 s( T! x3 d  C
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
- _: y7 _; g: O; _! p4 ]8 n- n+ Y2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)6 U* l4 v0 d4 b! \, C
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/ Y1 _, ]& J( o+ W
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
7 L6 ^! X' P; u: L2025-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
& c1 U: o5 @2 K% b- L" R' Q- G& @2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     self._validate_existing_attachment_ids(context, instance, bdms)
# i. o  h. \3 N5 o8 W' Z% s8 z+ _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
+ T0 g2 ?- C4 a' \6 K; j! f2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     self.volume_api.attachment_get(context, bdm.attachment_id)0 [' ]5 E; A, C$ m5 T1 I! \1 _
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
' ~  f& S& C# O! R0 w- M+ U+ k2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     res = method(self, ctx, *args, **kwargs)
$ u8 R; C! E. p2025-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- a1 k3 {9 ?: H, V& q
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     res = method(self, ctx, attachment_id, *args, **kwargs)3 l/ w  _' H1 n. E/ Z' w6 O+ 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 828, in attachment_get
6 |. J" w) [1 I2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     attachment_ref = cinderclient($ {! y# j$ x7 f- Z+ y
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 cinderclient# K8 h( L# u3 j) ?" A. M
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     auth, service_parameters, url = _get_cinderclient_parameters(context)7 \+ M9 @! t" D: k5 J
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_parameters
9 k$ U/ s- W* \, [$ r1 c. D$ S6 I2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     url = _SESSION.get_endpoint(auth, **service_parameters)- y5 b. l& U5 L& j* o
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_endpoint4 y" P, x# |9 Q: p5 N, \) X
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return auth.get_endpoint(self, **kwargs)2 w0 \: _+ Z- p. t
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
' }1 U0 q8 t- V' a. u0 W2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return self.user_auth.get_endpoint(*args, **kwargs)
  X% ~: Z' |" C$ q8 j7 k2025-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 w9 |/ Z+ U2 {: \8 P& U+ I2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return self.service_catalog.url_for(service_type=service_type,
' O2 c+ r7 [4 v, [1 e. n2025-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, n+ B. [, O5 l' M
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     return self.endpoint_data_for(service_type=service_type,
5 g3 i8 p$ @2 q/ T9 Y7 p  v! v2025-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; p8 \4 x# q4 b, }( Y2 [
2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server     raise exceptions.EndpointNotFound(msg)
. A" Z6 N3 C7 A4 u& I2025-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
: [- h0 A4 l7 s& v! l2025-03-07 21:28:58.768 3594 ERROR oslo_messaging.rpc.server
! \8 ~" m! Z4 n8 e. g: A1 P- |; N0 E! A3 d4 w

3 d/ \( a$ s: @1 a$ U5 }& ?

1

主题

0

回帖

12

积分

管理员

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

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-3-8 08:00:02 | 显示全部楼层
上面有几个错误的地方一个是' ^0 I! X6 f" T" U( V7 L
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'))! _- J/ N# P# P
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'))
6 Q; `" @8 h/ I9 l, l* |% E% a8 F9 N. w8 D" A. u
是因为 vim /etc/nova/nova.conf
8 r" q- t5 a, f. p. M8 A8 K文件中:
5 Q0 L2 \2 K0 y0 W[keystone_authtoken]
, ^+ T: p1 f; s1 }# Y* Twww_authenticate_uri = http://controller:50006 }2 i( f/ j! t5 _
auth_url = http://controller:5000
8 E0 @5 s- K8 d5 H( E
0 W- b, L5 D; D" ~0 _: ~/ v& B, j
5 U. [% U7 t0 j4 L2 r后面的不要加v3这个参数。说明程序里有些地方需要精简才能访问;; C) ^6 ^2 v6 R4 M& @

1 ]9 Z# Z: w. a0 R+ ?# Q0 N6 i( j) d- P
; o4 z: L+ J: P, ?# d" 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 found  _2 L  d: |( Z7 G

1 C( a3 _4 x: O- N( q是因为cinder的项配置有问题:7 O  h! h, g" J, s6 j# W9 N

1 i/ Y8 j& A0 f5 p# J  r一定要是下面的配置才行:
2 v" y* t0 `; a) E: J6 w; w6 e- o[cinder]$ L- O( \3 Q& I
os_region_name = RegionOne+ E8 b. X9 G1 F- T  G' y9 C/ J4 t$ m5 `

9 }$ D  t: k& V% P* y8 s3 x- _2 v5 C1 S
这两个问题解决了。
% u! X7 E+ X3 \7 n1 _) ~
7 O3 Q* J8 ?* {+ T  P7 X% E: o还剩一个问题。需要再看。
% t0 I4 U; s: d. V# c0 d( Z# y, b  [" q2 m6 O; K: X/ y

( I6 x5 I" L- Y  p* h: n( G: C5 Q5 ?, e
- Q* ^  j2 c: F
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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