易陆发现互联网技术论坛

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

nova的conductor启动失败 问题处理

[复制链接]
发表于 2025-2-25 17:00:50 | 显示全部楼层 |阅读模式

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

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

x
2025-02-25 16:53:48.538 20787 WARNING keystoneauth.discover [-] Failed to contact the endpoint at http://controller:8778 for discovery. Fallback to using that endpoint as the base url.
" R# a2 t9 x/ x% I1 d* G2025-02-25 16:53:48.547 20787 WARNING keystoneauth.discover [-] Failed to contact the endpoint at http://controller:8778 for discovery. Fallback to using that endpoint as the base url.3 q9 H* ]0 F( X' S
2025-02-25 16:53:48.548 20787 ERROR nova.scheduler.client.report [-] Failed to initialize placement client (is keystone available?): openstack.exceptions.NotSupported: The placement service for controller:RegionOne exists but does not have any supported versions.9 U  c. }5 O, m( C( P, L' Z5 U
2025-02-25 16:53:48.548 20787 ERROR nova.conductor.manager [-] Fatal error initializing placement client: The placement service for controller:RegionOne exists but does not have any supported versions.: openstack.exceptions.NotSupported: The placement service for controller:RegionOne exists but does not have any supported versions.
3 g/ R5 y4 r( u8 u1 V0 S. t& e2025-02-25 16:53:48.549 20787 CRITICAL nova [-] Unhandled error: openstack.exceptions.NotSupported: The placement service for controller:RegionOne exists but does not have any supported versions.4 A% }1 ^7 p3 z5 Q5 g% d
2025-02-25 16:53:48.549 20787 ERROR nova Traceback (most recent call last):$ _5 |& p* ?. q0 k) [
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/bin/nova-conductor", line 8, in <module>
( R: p' n7 z( X2025-02-25 16:53:48.549 20787 ERROR nova     sys.exit(main())& j4 J' L" N( ?. a0 D7 H' D1 X3 ?# m3 e
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/cmd/conductor.py", line 45, in main( X/ j' u% r" @8 y
2025-02-25 16:53:48.549 20787 ERROR nova     server = service.Service.create(binary='nova-conductor'," ]$ s2 Z$ R  O" t, p# p* V; F
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 256, in create% L# C( j& ^% a+ @" p( r
2025-02-25 16:53:48.549 20787 ERROR nova     service_obj = cls(host, binary, topic, manager,' i" t" a8 i5 `4 [/ m: O1 c$ e, x% O
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 120, in __init__( S4 J8 Z# U! Y/ r
2025-02-25 16:53:48.549 20787 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)
: e0 H# @2 V! H5 K* Y! K2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 124, in __init__( K6 v1 U. ~' Y) Y$ K
2025-02-25 16:53:48.549 20787 ERROR nova     self.compute_task_mgr = ComputeTaskManager()+ l4 Q; U# q- e
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 255, in __init__
& X* O7 |9 \& V2 E+ A2025-02-25 16:53:48.549 20787 ERROR nova     self.report_client! n; ]$ B: z, B" ~% J0 J$ o
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 283, in report_client
% g1 S  i" e) }% @% B' P/ {2025-02-25 16:53:48.549 20787 ERROR nova     return report.report_client_singleton()
) w! W. u6 m* G6 {* T2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/scheduler/client/report.py", line 91, in report_client_singleton
# A9 a. u0 Z4 w2025-02-25 16:53:48.549 20787 ERROR nova     PLACEMENTCLIENT = SchedulerReportClient()$ b0 q% j8 W% l, j, f! a/ c; \4 Q
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/scheduler/client/report.py", line 234, in __init__
  f2 d* Q) z/ j8 I! ?! e2025-02-25 16:53:48.549 20787 ERROR nova     self._client = self._create_client()
6 {- _/ v8 h+ F/ g2 H3 P9 g: P2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/scheduler/client/report.py", line 277, in _create_client
, {3 U, q6 n( n0 Z2025-02-25 16:53:48.549 20787 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')% M2 _) d, J& e' E
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/utils.py", line 995, in get_sdk_adapter
1 l! \9 w- H2 o2 J4 |4 }7 {7 l2025-02-25 16:53:48.549 20787 ERROR nova     return getattr(conn, service_type)- ~: v9 H: |1 g  L5 I
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/openstack/service_description.py", line 89, in __get__8 U( f; T8 u! A1 ~) M" l( o$ C
2025-02-25 16:53:48.549 20787 ERROR nova     proxy = self._make_proxy(instance)
1 }/ ?7 X  }* }* v3 N2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/openstack/service_description.py", line 293, in _make_proxy
* B7 v. M7 a& n. Y: d2025-02-25 16:53:48.549 20787 ERROR nova     raise exceptions.NotSupported(2 C3 k8 M& T) r6 K5 e2 t
2025-02-25 16:53:48.549 20787 ERROR nova openstack.exceptions.NotSupported: The placement service for controller:RegionOne exists but does not have any supported versions.( {8 r" I, ~( q
2025-02-25 16:53:48.549 20787 ERROR nova
2 e3 T9 l" j" Q+ ?2025-02-25 16:53:51.984 20790 WARNING keystoneauth.discover [-] Failed to contact the endpoint at http://controller:8778 for discovery. Fallback to using that endpoint as the base url.$ q  F8 R2 ?0 J/ h) W
2025-02-25 16:53:51.993 20790 WARNING keystoneauth.discover [-] Failed to contact the endpoint at http://controller:8778 for discovery. Fallback to using that endpoint as the base url.
: q0 w9 s+ q; M' [6 b; Q+ x: B2025-02-25 16:53:51.994 20790 ERROR nova.scheduler.client.report [-] Failed to initialize placement client (is keystone available?): openstack.exceptions.NotSupported: The placement service for controller:RegionOne exists but does not have any supported versions.+ U0 |" O2 \: T& g
2025-02-25 16:53:51.994 20790 ERROR nova.conductor.manager [-] Fatal error initializing placement client: The placement service for controller:RegionOne exists but does not have any supported versions.: openstack.exceptions.NotSupported: The placement service for controller:RegionOne exists but does not have any supported versions.
, `! U6 E1 _: L, Y" b2025-02-25 16:53:51.995 20790 CRITICAL nova [-] Unhandled error: openstack.exceptions.NotSupported: The placement service for controller:RegionOne exists but does not have any supported versions.! ?1 U+ s' o# u- u% \
2025-02-25 16:53:51.995 20790 ERROR nova Traceback (most recent call last):
# q6 P% a  R6 Y  q! q7 s3 e3 L2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/bin/nova-conductor", line 8, in <module>4 Q2 u/ G) Q; w9 X% D3 n7 _
2025-02-25 16:53:51.995 20790 ERROR nova     sys.exit(main())' n* k9 Z9 |- A
2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/cmd/conductor.py", line 45, in main
" F$ p, q9 \; Q4 F2 {8 C7 T1 B/ e2025-02-25 16:53:51.995 20790 ERROR nova     server = service.Service.create(binary='nova-conductor',
3 V4 q' G9 n! Q( y" y2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 256, in create& C* Y* |5 ~! A- C1 R. `# v
2025-02-25 16:53:51.995 20790 ERROR nova     service_obj = cls(host, binary, topic, manager,
9 B0 Y7 @, g& n+ @2 ]6 _% O2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 120, in __init__
4 s, z5 L& q/ [2 s9 j+ m5 w2025-02-25 16:53:51.995 20790 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)4 v. G# n/ ~2 J/ C; ?
2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 124, in __init__
4 S! w/ z0 ^% r+ r2025-02-25 16:53:51.995 20790 ERROR nova     self.compute_task_mgr = ComputeTaskManager()
6 X" N3 A" M" ~2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 255, in __init__
4 P( B! s. C, J' }# h- W2025-02-25 16:53:51.995 20790 ERROR nova     self.report_client
! k4 P/ D  E: C, \. V. ]. ~3 _2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 283, in report_client
0 m4 a- X6 ^- z5 V2025-02-25 16:53:51.995 20790 ERROR nova     return report.report_client_singleton()3 U9 z5 a$ P* e7 d' F4 P# F/ k
2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/scheduler/client/report.py", line 91, in report_client_singleton
4 U, E+ U! ^: H: F/ i2025-02-25 16:53:51.995 20790 ERROR nova     PLACEMENTCLIENT = SchedulerReportClient()
# i) p: }) W0 P2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/scheduler/client/report.py", line 234, in __init__! x6 T, T8 o7 T
2025-02-25 16:53:51.995 20790 ERROR nova     self._client = self._create_client()
4 d1 o; ]. t" o! n" B2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/scheduler/client/report.py", line 277, in _create_client
! P& |* I6 O6 U, o, V2025-02-25 16:53:51.995 20790 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')$ C- {+ a6 C* l3 O7 O5 E
2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/utils.py", line 995, in get_sdk_adapter: b8 S4 ^6 @1 P5 t
2025-02-25 16:53:51.995 20790 ERROR nova     return getattr(conn, service_type)& i9 ]! E* ^3 s/ h1 N
2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/openstack/service_description.py", line 89, in __get__
, R, V! J; a* X* p2025-02-25 16:53:51.995 20790 ERROR nova     proxy = self._make_proxy(instance)0 G( z5 s7 w3 q: T+ q
2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/openstack/service_description.py", line 293, in _make_proxy. f& O7 ]; c( {  O
2025-02-25 16:53:51.995 20790 ERROR nova     raise exceptions.NotSupported(5 a% w9 s, B  ^# b
2025-02-25 16:53:51.995 20790 ERROR nova openstack.exceptions.NotSupported: The placement service for controller:RegionOne exists but does not have any supported versions.
. |- Z8 f! ~" ^4 b& @2025-02-25 16:53:51.995 20790 ERROR nova
2 }7 i. ^* f* M1 Z# _
9 c1 C7 C) H; r' D+ I7 q  Q- X* W$ c+ Q: G) P" R1 m( J& n' K" @9 y
' E0 ^7 a; ^) ^# ?
一看失败了;4 d# Y, }1 k1 d2 N# b

+ ], H1 c" B) _( H7 [
: N$ u) Y2 m. X3 M[root@controller ~]# curl http://controller:8778
+ t* [# ?& L" a3 p/ I3 h<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
8 v, ?  f  g; \' ^$ B' Y$ u0 g/ I4 R<html><head>
* f  y7 r* l. {% ~1 y<title>500 Internal Server Error</title>: L7 N6 \$ y- G2 c% A; X
</head><body>
! h4 L1 W0 G( B0 e<h1>Internal Server Error</h1>0 ~+ A1 Z# q' x* A; V+ x
<p>The server encountered an internal error or
) O6 D5 q, P; y4 R/ zmisconfiguration and was unable to complete& H+ m8 q" V) V8 W
your request.</p>
% e) H4 Y1 p8 }# Q8 B# _& \6 {) a<p>Please contact the server administrator at 6 @# T% z9 E, c
root@localhost to inform them of the time this error occurred,8 c7 H  ^9 Q  R) x
and the actions you performed just before this error.</p>5 ?9 `2 q2 }+ D' U' t7 z: X+ b
<p>More information about this error may be available
- F. d( \0 ^& R8 a' Vin the server error log.</p>3 L% W; d4 z! r% [* ^) `* r7 z
</body></html>
. _4 [  ?* S& C0 u. i/ }+ r+ W! S% s% s! e! O- M1 ]
% w) Y2 x0 R: ~( e( S8 `

+ E* p8 @6 V: f' T1 v& f& ]9 b端口也通
. h3 }- C- b9 A* \3 |- U2 X* p# w
" b3 i) G' a1 \" y[root@controller ~]# telnet controller 8778% s& U1 q( |  G" ]6 ?# i& \- d
Trying 192.168.8.196...1 y" h; [* b: h( g( J2 e
Connected to controller.
. z: G; i( s. _0 c  }/ \+ \Escape character is '^]'.
0 N! R" T8 f* J- }& f% F+ y+ w- D) o- u: Y3 Y( {$ z1 a

+ Q& k& J8 d! O2 _
3 n* w7 ?, K4 b. V5 N* \/ G
 楼主| 发表于 2025-2-25 17:22:17 | 显示全部楼层
发现placement 有报错,检查日志发现; j  k* O0 R1 V7 q7 b" j

! q$ H/ `2 K" O: z. g[root@controller ~]# tail -f /var/log/placement/placement-api.log
: n) H8 {% e0 x' P6 p    _setup_logging_from_conf(conf, product_name, version)
$ q& \3 k( Z9 e) D: u: m0 F- T: v  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf+ m: q& M+ h% J* r
    filelog = file_handler(logpath)
! u8 ~5 \# q% r! @! E  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
  h& \8 M# E4 V: H! N4 g6 N5 l. _: m    logging.FileHandler.__init__(self, filename, mode=mode,; S" ~1 b, A- M
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__: v2 L+ I4 i6 N3 l5 _: W
    StreamHandler.__init__(self, self._open()). `# G9 U5 f. z1 G7 T, H/ ?
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open6 X$ M: b4 |) T  A. f2 g( {
    return open(self.baseFilename, self.mode, encoding=self.encoding,  ~+ c# h. u2 v
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'- z' N8 h& x# H4 b
mod_wsgi (pid=13891): Failed to exec Python script file '/usr/bin/placement-api'.$ i$ I* r% o, \% |1 q; w; y
mod_wsgi (pid=13891): Exception occurred processing WSGI script '/usr/bin/placement-api'.$ [# O* M8 G% k. M- L
Traceback (most recent call last):6 k$ |  I. ]+ T3 {1 R
  File "/usr/bin/placement-api", line 52, in <module>+ f0 q# g3 H# J
    application = init_application()6 |$ x! d  ?2 p1 U! \) n
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application4 q. m) R, _, p) K* E$ D/ a
    setup_logging(config)1 W& B, S9 C# p
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging, S, ]# b1 l* u9 h; p+ Z8 V3 e
    logging.setup(config, 'placement')
5 m# g  r% E* A3 j  c, N& |  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup; L7 y: [5 e9 {- K* B. {- b
    _setup_logging_from_conf(conf, product_name, version)) U# H) l  S2 T
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
; n: Y, g7 d# i! s  l9 B    filelog = file_handler(logpath)
! i8 B7 ?/ N+ M0 z) Q  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__" S* D- ?5 Y' s/ r5 J3 y2 f, K: w
    logging.FileHandler.__init__(self, filename, mode=mode,6 D: X& g1 x# n# v; h
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__' J* `5 w# y1 A
    StreamHandler.__init__(self, self._open())4 R0 R+ s0 @7 p. ]: `
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open8 K& S+ q! y  _. Y5 o8 \
    return open(self.baseFilename, self.mode, encoding=self.encoding,
7 h; n) G3 M% r& }( UPermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
$ M5 v) ~) {, }mod_wsgi (pid=13892): Failed to exec Python script file '/usr/bin/placement-api'.
- D7 E$ L8 P3 H: \+ T6 Z; a  v0 fmod_wsgi (pid=13892): Exception occurred processing WSGI script '/usr/bin/placement-api'.4 |: b5 L* z  [- G' u! p: k
Traceback (most recent call last):! A& e) g+ q% Q, v  @  g6 K3 s- f
  File "/usr/bin/placement-api", line 52, in <module>9 ^6 q' Y  i" G
    application = init_application()
7 E# P2 b6 a, o% p/ G$ R  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application& m5 X7 L2 n- v' U7 \2 t6 g
    setup_logging(config)
' n& D" w& u# M: |* `0 C" \# F  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
) v( l3 q) L5 Q9 z& {    logging.setup(config, 'placement')/ ~# H/ J, m$ s
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup* K( i+ Q  U$ Y1 L' Z6 d  x
    _setup_logging_from_conf(conf, product_name, version)( n3 a% L; w) o! i
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
3 ?4 T, c' Q7 I% V; G2 W    filelog = file_handler(logpath)0 N8 c, @- Y9 R0 o- }9 s
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__4 Q$ Y* Y  I4 i4 i
    logging.FileHandler.__init__(self, filename, mode=mode,7 ~, `8 r* f: E( x% B, G3 v
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__0 O$ Z; k* G& I8 h$ ?2 a
    StreamHandler.__init__(self, self._open())( D# L) i3 t$ _4 h
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open+ t, r- |5 V0 \* I
    return open(self.baseFilename, self.mode, encoding=self.encoding,. L$ }+ d4 O# h- p+ @1 j# u
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
' x' M5 G1 I$ }0 z" M9 v
% p) X/ w' [$ P) t/ h9 P
0 X7 d: Q. r# F$ i% pmod_wsgi (pid=13893): Failed to exec Python script file '/usr/bin/placement-api'.
5 I% H  o2 \. f4 Lmod_wsgi (pid=13893): Exception occurred processing WSGI script '/usr/bin/placement-api'.1 X+ o$ ]$ [. S* a0 N" n
Traceback (most recent call last):
0 a' {8 ^) R8 o" p$ Q  File "/usr/bin/placement-api", line 52, in <module>/ y# {5 ]& F/ P* m* n6 h) f# q3 o
    application = init_application()$ X# U( v! c. V# Y6 G: v
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
( b0 g1 E+ k' k    setup_logging(config)
$ Y9 {* M2 W0 _6 v# B5 N  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
; r6 Z+ D: `* k4 i$ {' `4 L+ c" X    logging.setup(config, 'placement')' O. \7 p' I% z4 o% s1 W
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
- s( u/ g* W* V7 I; x2 L* V    _setup_logging_from_conf(conf, product_name, version)! ~6 v3 E# g7 W( y+ l, l$ ~& }
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf7 R: g4 a1 n3 v6 K' v
    filelog = file_handler(logpath)
( h. T/ u5 [; [* o  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
$ W) m; |: B; v* Y! }    logging.FileHandler.__init__(self, filename, mode=mode,
: {& h. H- A6 n) `  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
, m3 X* U; c/ U3 O, P! ^8 d    StreamHandler.__init__(self, self._open())( u2 q9 S% A! n# m  |$ H
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open% X  k$ M9 o* J1 Y
    return open(self.baseFilename, self.mode, encoding=self.encoding,! H% ~+ [9 a; n5 n" p2 {& t
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'$ K, I4 W8 [0 e  f2 E  z2 v/ J
mod_wsgi (pid=13891): Failed to exec Python script file '/usr/bin/placement-api'.2 E( ^! y; _% D6 y# B5 w  E
mod_wsgi (pid=13891): Exception occurred processing WSGI script '/usr/bin/placement-api'.
8 C8 z' z2 G4 Z" e  `2 UTraceback (most recent call last):7 p9 F- c: X) V
  File "/usr/bin/placement-api", line 52, in <module>8 J) ^5 W9 f1 p5 \8 B
    application = init_application()
2 I( j/ e+ [9 K- E) r  _, p  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application/ ^7 m5 A3 F" p! c/ o
    setup_logging(config)2 ]- c$ W2 x' ~& {/ U9 n3 h- @2 ?6 y
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging0 F9 M9 `; W1 q  K. B
    logging.setup(config, 'placement')
3 a4 `" Y9 S9 y# d4 |; _  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup$ u; u9 \4 G' a( Y+ a1 B) x2 u0 j
    _setup_logging_from_conf(conf, product_name, version)
% ?  x* P1 f# i# S. e, k+ q# X  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
7 `' g, o9 z5 I4 [; b( }: l    filelog = file_handler(logpath)5 a. L2 r: H: j  I5 I' _
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__' V* f5 h. E, }" H
    logging.FileHandler.__init__(self, filename, mode=mode,
. x7 x3 f- o  u0 r, B4 O  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__( K& f9 r* Z% `1 v
    StreamHandler.__init__(self, self._open())1 Q0 s/ M$ O. |
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open8 R! R  t0 L( B9 V" h# n
    return open(self.baseFilename, self.mode, encoding=self.encoding,
2 y4 ]: d; Y1 u7 e0 `. IPermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'. w. {! `! b  K) }, T
mod_wsgi (pid=13892): Failed to exec Python script file '/usr/bin/placement-api'.
; A  ]7 X+ k  o- R' Imod_wsgi (pid=13892): Exception occurred processing WSGI script '/usr/bin/placement-api'.
3 P, N8 }) d* G% B# PTraceback (most recent call last):1 e( a8 }. B1 P, x* |; K* B
  File "/usr/bin/placement-api", line 52, in <module>! ~( L; b3 e8 N5 t
    application = init_application()
  w$ |0 `8 f$ `  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application. {6 r+ i' D, N5 L8 U  h! \  J8 Z; }% Q
    setup_logging(config)
  y2 I, |" O* O* i  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging8 A- ^! g, |/ f% k8 n
    logging.setup(config, 'placement')
8 M, r: [7 x6 T% f1 H  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
3 L" H/ R) k; n& y( F$ `    _setup_logging_from_conf(conf, product_name, version)& B% P$ h3 L) j
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
- K% r' F' z2 ^$ `    filelog = file_handler(logpath)2 D- T6 k1 N( s' q- O5 ?9 F
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__! B0 z+ q% i# R& C+ d0 P/ e
    logging.FileHandler.__init__(self, filename, mode=mode,
3 w0 ?$ M5 L8 y& C% O. B3 c  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__. {  `4 i0 n2 P  {) H- c0 ^6 I
    StreamHandler.__init__(self, self._open()); r8 e! `& Z( u! \; M
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open& b: e, l. f; v7 A  I
    return open(self.baseFilename, self.mode, encoding=self.encoding,
( X- ~) b- [% i* y6 yPermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
" `! n0 x$ a' X2 _4 tmod_wsgi (pid=13893): Failed to exec Python script file '/usr/bin/placement-api'.6 O9 ]! C' a+ O# |3 w, T
mod_wsgi (pid=13893): Exception occurred processing WSGI script '/usr/bin/placement-api'.
8 [1 }6 Y' }" K' J. M8 A6 V9 E" ~Traceback (most recent call last):, ^3 y9 N5 f* [; H" C. u
  File "/usr/bin/placement-api", line 52, in <module>) c; q7 A+ C# ^7 l) Q; L
    application = init_application()- t  c7 z+ L4 x2 m' E$ \" b
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
! M( d8 Z+ v9 i2 ]3 u, f. T    setup_logging(config)
+ |+ q# q" E3 K! T  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging: f' ^5 W4 t0 m3 s9 r3 q
    logging.setup(config, 'placement')
7 s1 L( P$ k9 T0 ?* r  }& t  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup3 T/ G- Z# R5 J- j
    _setup_logging_from_conf(conf, product_name, version)
, r$ f# O9 V* X# g3 f  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
* p( M  k" K/ o# E5 Z$ \    filelog = file_handler(logpath)
* x0 R6 S- J1 d, h$ V2 m  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
7 R9 p8 L* R  B    logging.FileHandler.__init__(self, filename, mode=mode,0 b& e% x' m8 w
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__  H0 Y2 s' b& [; \
    StreamHandler.__init__(self, self._open())
( e, P$ d1 o+ B: |  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open. z' ~' \, J6 l/ W
    return open(self.baseFilename, self.mode, encoding=self.encoding,
9 [! P  {4 F2 R5 u$ YPermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
: z  l- u. G; O$ l4 J0 D" l^C- O8 }8 h6 L. Q4 W
[/ g( B/ a7 @) v
) Q" K, O  z' v% i& b/ @
[root@controller ~]# cd /var/log/placement/
) I6 Z& d. f  S7 |- `* q) ][root@controller placement]# ls' W: t8 \3 m( g7 A# `) K
placement-api.log  N1 S0 e) L( P$ ~
[root@controller placement]# ll
/ C3 z2 I( v7 W, I& ]( z, m1 i0 ]total 118443 b) D( Q; w4 A/ n5 D( y: N
-rw-r--r--. 1 root root 11889861 Feb 25 17:10 placement-api.log" ~% H$ {, o% l9 |+ k- D

  u$ i% ~' ^: u' d4 H( k  ^: f  b; L
total 11844, c& r3 R% W) H/ ]
-rw-r--r--. 1 root root 12075765 Feb 25 17:12 placement-api.log# D" v9 [7 ^  }3 P5 f

7 f! s7 |! V& P, F8 _权限不对,修改下权限:
# O/ n8 ~3 c/ Y1 E
2 j& Z  }( [& Q4 |6 S* e[root@controller placement]# chgrp placement placement-api.log
7 I& |: ^$ G: v8 |' I7 ^& g( X[root@controller placement]# ll5 P! C4 R1 d% [
total 11844
# o& J' q9 I; R: T4 T" ~3 I-rw-r--r--. 1 root placement 12114495 Feb 25 17:12 placement-api.log# H9 ^; y9 U" l0 v& m% [
  f9 q$ z' m- ~) X1 l
tail: no files remaining5 L) B( d5 Y& n& V# ]
4 y6 d# U$ O5 d; a5 D4 H3 g4 z

4 B& r1 x" q7 \4 I# {' _" X3 Q: @0 ?7 ]
重启下httpd服务:* C, t7 [* _; m/ ~& k) I
   
2 m& O. ]  H$ c! ^+ D6 Y" p[root@controller placement]# tail -f /var/log/placement/placement-api.log
- t- s9 @0 k5 B/ W# G, ~& o  g
. h* q: K# i+ [3 n( E) w
, I3 a  v$ Q0 d再次检查conductor日志。发现告警变化:
# Q+ d9 D( v# N( m3 F; I6 p7 Z) n- _

; O4 l: ~, E" P" j1 Z0 t4 v4 _' T. d  I5 {, c
2025-02-25 17:17:38.913 23976 DEBUG oslo_db.sqlalchemy.engines [None req-a621fd03-2377-4828-a0e3-dc187214d788 - - - - - -] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION _check_effective_sql_mode /usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/engines.py:342; Y' V7 J( ^- r* K8 ^* V$ t" y
2025-02-25 17:17:38.935 23976 DEBUG nova.service [None req-a621fd03-2377-4828-a0e3-dc187214d788 - - - - - -] Creating RPC server for service conductor start /usr/lib/python3.9/site-packages/nova/service.py:186
/ J2 q( X" f( _* x6 ?3 j3 {2 w2025-02-25 17:17:38.959 23976 ERROR oslo_service.service [None req-a621fd03-2377-4828-a0e3-dc187214d788 - - - - - -] Error starting thread.: OSError: Server unexpectedly closed connection
) Z* ?4 h( V; p; z. O$ i! `% ]( y2025-02-25 17:17:38.959 23976 ERROR oslo_service.service Traceback (most recent call last):. d& W1 i  z/ |$ ]5 m' p
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/amqp/connection.py", line 515, in channel
3 V! U8 b! y- l2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.channels[channel_id]
' s% k' k8 n* q  p# f" T" g7 \. Y) J2025-02-25 17:17:38.959 23976 ERROR oslo_service.service KeyError: None* Y+ {; ?# ~( O0 h4 _
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service $ t( F" u/ M/ e1 h3 h
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service During handling of the above exception, another exception occurred:
2 ^: Y) f% @8 G2025-02-25 17:17:38.959 23976 ERROR oslo_service.service ! r" _+ _3 K$ ]" C4 P' `
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service Traceback (most recent call last):! m* q8 z; y) [
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_service/service.py", line 810, in run_service
0 o& k; R7 Z% o+ {% a6 b2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     service.start(): h2 A% E" ?; ]  h# m
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/nova/service.py", line 199, in start
1 C: e3 B4 D: D# J; P3 [" f2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.rpcserver.start()
/ C$ b" `9 j6 g+ X5 m" q2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/server.py", line 267, in wrapper
9 W, w* d0 N; C9 W% x6 g$ D4 F2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     states[state].run_once(lambda: fn(self, *args, **kwargs),
4 f6 Q2 w$ M/ t) f2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/server.py", line 188, in run_once4 {% j6 J$ K0 s5 A( i3 J1 u7 p! C7 D
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     post_fn = fn()3 L- f9 \7 I! J5 @2 ]
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/server.py", line 267, in <lambda>; r% a0 u$ h5 v; x9 G) c
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     states[state].run_once(lambda: fn(self, *args, **kwargs),; v+ o6 A3 l* [8 p. H8 h; a1 A
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/server.py", line 413, in start# l& @$ m7 q) ?" \" I& j: h
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.listener = self._create_listener(): y' u  B9 L3 l  G4 j7 k
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/rpc/server.py", line 151, in _create_listener/ Z  l# W6 H% J6 G$ F
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.transport._listen(self._target, 1, None)- z% ^: U8 t5 J+ A" i( d2 ~, W5 _
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/transport.py", line 142, in _listen
, w% u1 J" \, T% z2 Z' `4 f2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self._driver.listen(target, batch_size,) k6 R$ t: _4 }  u4 T
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 808, in listen% t5 T: Z! e3 W$ y3 Y: f% d
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     conn = self._get_connection(rpc_common.PURPOSE_LISTEN)$ R7 J$ B* j7 t) e) z9 e' ?
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 700, in _get_connection
' o9 y9 A( O5 W9 v2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return rpc_common.ConnectionContext(self._connection_pool,
1 ?. M. [. u* P# X2 u5 A9 Z2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/_drivers/common.py", line 425, in __init__
2 T1 s& P4 ~  v9 J2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.connection = connection_pool.create(purpose)2 I; i# G% F# J# M& W
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/_drivers/pool.py", line 135, in create2 t" a" h+ X% ~' G8 [7 {
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.connection_cls(self.conf, self.url, purpose, retry=retry), o7 Q) Y4 k0 N9 w( B1 m6 g
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 915, in __init__
0 n5 f" C6 d+ G; S$ \2 h: c. I+ @2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.ensure_connection()) ~; Y" L/ |: }% O8 B
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 1060, in ensure_connection$ F" K7 M" Y! o  q4 \3 N
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self._set_current_channel(self.connection.channel())
+ e/ D  I: B, @# n: Q2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/kombu/connection.py", line 303, in channel2 T5 r. W1 w: R. R! B  p4 I* m
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     chan = self.transport.create_channel(self.connection)
* j$ _; `: B1 y0 J! A2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/kombu/transport/pyamqp.py", line 168, in create_channel( k; z5 \+ D1 C  i
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return connection.channel()
  V! R3 a# v' C6 y6 A4 x2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/amqp/connection.py", line 518, in channel& M8 X7 A, H& ]% O( q
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     channel.open()' f' q2 s' {/ E6 X+ r' u! S* C# z6 {7 a
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/amqp/channel.py", line 448, in open
4 g; n, ~. y. J! |5 x$ L2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.send_method(
3 t7 t. V: _6 y' q& Q% ?! `, Q2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/amqp/abstract_channel.py", line 79, in send_method- [2 A2 z- o0 i. P& c. J
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.wait(wait, returns_tuple=returns_tuple)4 x9 [; `; E. o1 ?, S7 v8 p
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/amqp/abstract_channel.py", line 99, in wait0 [1 O2 p+ e! \7 W3 D' ~
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.connection.drain_events(timeout=timeout)( k3 |5 v& K- M  I2 j5 T1 _9 p0 q
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/amqp/connection.py", line 526, in drain_events
5 l8 \* z" ~5 N2 K/ b" e& C. Y2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     while not self.blocking_read(timeout):
8 k" x% H' [& j+ n1 q! w6 o- A* n2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/amqp/connection.py", line 531, in blocking_read7 ^+ c- W" @$ D: O& s
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     frame = self.transport.read_frame()
1 ^; S: j7 u/ z$ Y5 O0 k! z2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/amqp/transport.py", line 294, in read_frame
9 H9 D  `6 e9 E1 S; w0 D- [, ~% g2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     frame_header = read(7, True)
4 D; i/ r/ k1 {) y) @' N2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/amqp/transport.py", line 637, in _read
5 `; _6 ~0 l; ~2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     raise OSError('Server unexpectedly closed connection')
  J+ C+ o. J* \9 b6 _8 Q1 z2025-02-25 17:17:38.959 23976 ERROR oslo_service.service OSError: Server unexpectedly closed connection2 j( d: T4 C% H. C' b7 @6 ?
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service
7 u+ z  C( V4 L/ W0 p. A9 F& [2025-02-25 17:17:38.965 23976 DEBUG oslo_concurrency.lockutils [None req-795f57b5-2f1f-4103-a1eb-509caf8e73a4 - - - - - -] Acquiring lock "singleton_lock" lock /usr/lib/python3.9/site-packages/oslo_concurrency/lockutils.py:310
, h1 f' q& A- b9 j% u  e2025-02-25 17:17:38.965 23976 DEBUG oslo_concurrency.lockutils [None req-795f57b5-2f1f-4103-a1eb-509caf8e73a4 - - - - - -] Acquired lock "singleton_lock" lock /usr/lib/python3.9/site-packages/oslo_concurrency/lockutils.py:3138 k3 O5 V: G9 k; Y2 j7 |9 X
2025-02-25 17:17:38.966 23976 DEBUG oslo_concurrency.lockutils [None req-795f57b5-2f1f-4103-a1eb-509caf8e73a4 - - - - - -] Releasing lock "singleton_lock" lock /usr/lib/python3.9/site-packages/oslo_concurrency/lockutils.py:331
7 y% m) w! ~9 t! g, \2025-02-25 17:17:39.898 22849 DEBUG oslo_service.service [None req-795f57b5-2f1f-4103-a1eb-509caf8e73a4 - - - - - -] Started child 23978 _start_child /usr/lib/python3.9/site-packages/oslo_service/service.py:579
" q. E$ v: f# z$ v3 Y  C2025-02-25 17:17:39.901 22849 INFO oslo_service.service [None req-795f57b5-2f1f-4103-a1eb-509caf8e73a4 - - - - - -] Child 23972 exited with status 14 t' w$ o3 a8 G/ M8 g4 t
2025-02-25 17:17:39.902 22849 INFO oslo_service.service [None req-795f57b5-2f1f-4103-a1eb-509caf8e73a4 - - - - - -] Forking too fast, sleeping( ~8 ?2 V+ |$ {" l# y' D
) W- R. A/ k# {! ^; O0 e3 i( n- ~
( x- D* N$ t1 Y; ^
 楼主| 发表于 2025-2-28 10:33:44 | 显示全部楼层
重新审视下nova.conf配置文件:- ~: n0 x! h( t7 q2 ?0 L# h2 s0 C) d

2 H; f+ r8 g) H" W$ j3 w; R' ^[DEFAULT]7 K) n* i3 k$ p( A9 N8 N
debug = True; s0 {1 J# S+ F+ f$ C+ m9 W
log_dir = /var/log/kolla/nova+ S2 q- [$ x4 x
state_path = /var/lib/nova6 b$ R% e6 M  \
allow_resize_to_same_host = true  X: k, e% M; p9 b4 X
compute_driver = libvirt.LibvirtDriver) T) z5 K* K7 Y8 K( c6 o
my_ip = 172.27.11.38& P2 n& I) h& F% P1 i3 W! i
instance_usage_audit = True
2 d& x$ P" m! U0 I8 H; Binstance_usage_audit_period = hour9 U7 q. b4 Y" L3 f2 P5 S
transport_url = rabbit://openstack:yvEiq9inxvblL@172.27.11.36:5672,openstack:iq9inxvblL@172.27.11.37:5672,openstack:Eiq9inxvblL@172.27.11.38:5672//+ Y# q. d- _, q4 T1 ~( ]0 V
resize_confirm_window = 60
' X0 b' @$ J! H
( |; u5 `5 n7 W6 w[conductor]
% h2 O3 z* B2 X. O5 |* W3 Yworkers = 57 M0 [$ I. |. L' C# w' j5 m
& h) ^' v" \4 O/ x! O0 [$ `  {
[vnc]/ }" T  h9 _5 l) L8 b9 |
novncproxy_host = 172.27.11.38- D8 ?- n1 }: l% Z$ j% n
novncproxy_port = 6080. y9 S! O+ d  F) V9 ]" h' a3 X
server_listen = 172.27.11.38
# I! Y/ R( \% J& W3 s  bserver_proxyclient_address = 172.27.11.38/ w; W# ]- \! R3 o

% p1 k8 Q8 r9 U' a( j- L[oslo_concurrency]
# _7 Y% z7 @1 W' k' Vlock_path = /var/lib/nova/tmp
% u' v# [& C* o
& C0 M- O: T3 i& @[glance]
4 e  x( o; d) \8 {- O, n0 j, Kdebug = True
2 C7 L5 [% W( xapi_servers = http://172.27.11.88:9292
# ~3 M% G) h! W9 O. V1 x# ocafile =4 i3 M2 q" a7 c$ G  ^3 P
num_retries = 3; o6 ~; u) p& ?7 t* b# `
- `) N- u: }/ _9 b
[cinder]9 l, Y% z/ }7 X$ u6 C
catalog_info = volumev3:cinderv3:internalURL# V$ }/ U# w0 Q6 S$ O6 J
os_region_name = RegionOne( B0 I7 C! c: f$ t
auth_url = http://172.27.11.88:5000
  k5 `( T+ f$ W; }5 a# Dauth_type = password
, ?  R5 m1 F7 V3 w. y" }# z2 G2 sproject_domain_name = Default0 P. }% [2 n* N
user_domain_id = default. ~  x4 @+ e0 ^& E4 p# V
project_name = service
; W2 C4 J" s* Lusername = cinder
1 G9 G/ ^# ~# s, e; j; n: spassword = Kc2XVRBveUwBSmr
1 ?/ e' [2 Q7 q6 {% Scafile =
: w9 k8 r  g. d5 j4 z
  c. Y! |6 Y5 A- G3 p) f& Y" R[neutron]5 d) a6 \( H7 _* J  `) K  F
metadata_proxy_shared_secret = COScZnT5e7BZJU
% N+ n% a/ {2 {% }* ~! M+ vservice_metadata_proxy = true# m" W4 H/ a' q& p) X! I
auth_url = http://172.27.11.88:5000
9 u* Y3 w' L- N  E2 L1 z3 uauth_type = password
1 M6 q9 M6 y7 j8 u) Bcafile =1 p( j' @7 r" d1 |6 G
project_domain_name = Default
) U6 P  |* X0 I( {user_domain_id = default; b) A3 W6 i7 a# }
project_name = service% l& `& ~9 K7 T
username = neutron
9 i% n. i4 x& o& Hpassword = 2M4JUch6jYMJ+ D& D& f: b2 b9 R
region_name = RegionOne
6 H- I; r! q( V% u5 Ivalid_interfaces = internal3 V+ W: {4 t( L( t; u0 J0 }

% J3 f7 _1 I9 w* R* q) |& X[database]
- E1 i$ I& l2 A4 ]# W/ D- p7 H& Z2 P: econnection = mysql+pymysql://nova:UCA6ltitkU@172.27.11.88:3306/nova- t% R2 B; Z, j7 L, j/ ?7 c- ^0 a
connection_recycle_time = 10
1 R4 `6 V, p5 t" S1 ~max_overflow = 1000
9 j! e2 ]# D8 ^7 c3 s- vmax_pool_size = 12 X+ Z, K" g# _- h0 l5 Z
max_retries = -1# l: V! T- ~  Q1 |& y" K5 [: u& q0 l

9 {; |# S1 ~) c" }. x$ ^" L[api_database]
# Q* {/ N' u' ?: }2 A" ?$ ]3 zconnection = mysql+pymysql://nova_api:9ATuRhyEr@172.27.11.88:3306/nova_api: o" d9 k/ }$ g7 @
connection_recycle_time = 100 @# N! u/ W; j3 z
max_pool_size = 1
& x" q. [' p! t9 s9 p5 Q( E; Hmax_retries = -1- X! a0 o8 e; o9 e
7 R  G, |) S# ^* A
[upgrade_levels]
7 ^$ H2 X9 R0 d0 Mcompute = auto
0 w' T5 P' X9 C" D
2 H8 h7 a+ m, P6 Y' x##主要是这个地方0 H: p" X5 I  G$ j# w: j3 R
[oslo_messaging_notifications]' ?7 F" I' K4 S$ k
transport_url = rabbit://openstack:q9inxvblL@172.27.11.36:5672,openstack:DWM1ayvEiq9inxvblL@172.27.51.37:5672,openstack:vEiq9inxvblL@172.27.11.38:5672//
5 ~4 H" k5 d# N% J; ~9 [( e3 vdriver = messagingv2
) B$ o" [6 B( J- ztopics = notifications
- Y: ~( I+ r' R) N: ]9 L, A' N3 s/ Y
[oslo_messaging_rabbit]; i' a8 L% A3 n
heartbeat_in_pthread = false# T* D" t8 D2 T7 J' q$ I
rabbit_quorum_queue = true
. d$ k! M: T% l5 |" f! X' p/ i6 _! B" b6 }6 @  J
[privsep_entrypoint]+ _/ z4 {/ [/ z0 i& n
helper_command = sudo nova-rootwrap /etc/nova/rootwrap.conf privsep-helper --config-file /etc/nova/nova.conf
# u/ p+ U+ e$ J/ O/ E& c6 D( y' R8 X' [2 _5 {5 R/ {: C
[guestfs]
) y5 X+ {3 t0 @8 Z5 y- j8 p8 L! ?debug = True
! E& h' ]- g% z$ h7 }, T. @6 _0 z; Q% T" G
[scheduler]7 N; f2 c4 F, P" N5 i8 i. _
max_attempts = 10
2 v; m6 I3 I2 Y
3 _  E( v- U8 E1 o/ u[placement]
7 {' J* x. m& Pauth_type = password, X) [: G/ H& _" N' x7 A, B* R
auth_url = http://172.27.11.88:50001 `  s9 {6 L7 C! L
username = placement- O+ P  U2 {3 i
password = NjPdQcmImG8 j; d# t6 C( `- X' K5 ~
user_domain_name = Default3 p* d. Q/ P  L& M3 i, G" O0 M
project_name = service5 I$ L4 S! p( g5 D) ?9 ?* \
project_domain_name = Default$ Z' ^0 F& I& Y' k" M. G  H/ ?
region_name = RegionOne
* }: L6 w4 O. J7 m* Ecafile =1 `% `* W/ m: Y# i5 _" u2 `4 o+ W
valid_interfaces = internal) l. B( C9 T  y2 y
- c# `" T/ D, K' C
[notifications]% O& s$ t, [- C! L4 ]" x, T; T
notify_on_state_change = vm_and_task_state
5 U0 B' A9 q7 P) t: @' O
/ T9 J. m. C4 M+ v6 D[service_user]3 S. ]) N6 w# Y
send_service_user_token = true
. @+ a& B, L( ]& Vauth_url = http://172.27.11.88:5000$ O1 X1 Q- C3 N, _% I' t
auth_type = password  h9 s& @2 S; g8 w
project_domain_id = default
: j( U% o# C) @( r7 d' Q) e2 ?user_domain_id = default( ]9 P1 X$ e: K) h( f8 [- K: i
project_name = service7 i" `  ?* h1 w% _# V( X7 g: r
username = nova; ~/ N; ^/ a9 h) d4 r4 ~! i
password = 3kt5fJe4rRZv0
9 q: y' ?8 V' G8 W* zcafile =2 u. C4 a% n7 \5 [
region_name = RegionOne
. S; o& f  r4 g4 C4 a) Ovalid_interfaces = internal
8 A, n) l8 d2 ?4 ^: B9 s8 e, A2 F4 z* T" g8 W  p9 a3 f
[libvirt]# {& E% ?5 V3 V% \# c% R. t: c
inject_password = true' U2 n3 E4 ?# i. z

8 ^/ V9 `' V% q! U: H[quota]0 }, Q7 [! f& a, N
instances = -1
) P, m; R  n% [$ F" o$ j% g" zcores = -19 b3 A1 t# y: H$ E( p8 e/ @
ram = -1+ s/ z6 _- {$ E3 s
injected_files = 328 a) D: d7 T1 F+ X5 }8 @& ^
server_groups = 128
. R8 r- @9 \  W  U' I0 O/ T: Y& Bserver_group_members = 128+ V1 G- q  R& @3 i

/ H& Z  L6 [8 l. }, |1 }% {, d0 p
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

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

GMT+8, 2026-4-8 19:54 , Processed in 0.055140 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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