易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 22|回复: 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.  Q: g/ H% a8 p; \) q
2025-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.0 G  P6 p+ w1 J1 y+ 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.' [7 m5 G8 Q# @! u8 W, s
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.$ V/ X6 J: v  R
2025-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.
1 u: [3 R/ h& B; l. D! a2025-02-25 16:53:48.549 20787 ERROR nova Traceback (most recent call last):
' ~2 ~; k4 X8 v& G! Z& ^# B2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/bin/nova-conductor", line 8, in <module>
  J3 U1 N/ J' m( V6 {( C" M. C2025-02-25 16:53:48.549 20787 ERROR nova     sys.exit(main()), G1 E8 a* X( e: f5 N
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
9 t; d4 C# ^8 G* H2025-02-25 16:53:48.549 20787 ERROR nova     server = service.Service.create(binary='nova-conductor',
4 @' S, v7 R5 r2 H2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 256, in create  ]: q6 T3 M0 b7 \# V4 j
2025-02-25 16:53:48.549 20787 ERROR nova     service_obj = cls(host, binary, topic, manager,
# ?4 s( j" u! j+ x" p3 B9 ~" E2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 120, in __init__
! J; j& o  f8 U2 o9 F2025-02-25 16:53:48.549 20787 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)7 Y! ~, C8 b/ Q
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 124, in __init__+ A- p! b% `* w* ]; l+ |
2025-02-25 16:53:48.549 20787 ERROR nova     self.compute_task_mgr = ComputeTaskManager()3 K: G# G6 R7 h$ W
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__( j: [. q# m$ E
2025-02-25 16:53:48.549 20787 ERROR nova     self.report_client# U$ X, h9 E( W, b( w/ x: @
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
6 u0 f" e$ U, T. m1 a2025-02-25 16:53:48.549 20787 ERROR nova     return report.report_client_singleton()7 K, H$ p2 W4 H
2025-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
8 [! O4 [: \# \+ x2025-02-25 16:53:48.549 20787 ERROR nova     PLACEMENTCLIENT = SchedulerReportClient()/ {* i  @+ @8 N1 t/ ]
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__# Q4 z8 ?: d8 z* E5 X0 A) J
2025-02-25 16:53:48.549 20787 ERROR nova     self._client = self._create_client(): H& Q. P. B' V* y4 f
2025-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_client6 A4 r/ W4 x3 ]8 x, l
2025-02-25 16:53:48.549 20787 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')! Z/ r0 p5 ]3 r2 W( o- H% Y
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
+ t9 b, Q% g# K8 S6 ~2025-02-25 16:53:48.549 20787 ERROR nova     return getattr(conn, service_type)& ]7 z3 e- z2 T( y" j4 p# [+ c
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__1 p, p) q$ E, N) H, i$ Y
2025-02-25 16:53:48.549 20787 ERROR nova     proxy = self._make_proxy(instance)8 s% M% Y' ]2 Y2 H2 n, W" _7 |
2025-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
4 R( t5 u2 K  K$ @0 b+ \: V' n1 m2025-02-25 16:53:48.549 20787 ERROR nova     raise exceptions.NotSupported(
8 ]' b; g' m8 \! E. s' j2 R2025-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.! g. i$ {" T: z4 y% G1 ~1 z% v: ~
2025-02-25 16:53:48.549 20787 ERROR nova " ~$ i& Y$ L8 ?0 S& c, V. v- D1 A( `/ U
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.5 T. r, \( b& s& d* Y8 B# z0 R
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.
/ d, w. r$ h+ h$ }6 X2025-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.
" V; C3 S: ?3 ^( m- s" ?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.
7 j  y8 b' l# \. P9 y/ P2025-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 O2 W0 t! a! o: Z2025-02-25 16:53:51.995 20790 ERROR nova Traceback (most recent call last):
) W$ T2 Z" E1 F$ O. |, D' k. k5 U2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/bin/nova-conductor", line 8, in <module>
7 \; a  a% C- k6 s9 @2025-02-25 16:53:51.995 20790 ERROR nova     sys.exit(main())
  w2 k2 j  x# R+ `/ e9 k, p2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/cmd/conductor.py", line 45, in main
# K( ]- A" s8 C# ]7 K3 e2025-02-25 16:53:51.995 20790 ERROR nova     server = service.Service.create(binary='nova-conductor',: s1 s" C7 w+ N. u4 {& J+ _) x
2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 256, in create7 G5 x( \; b6 y- L  w' u7 |. x
2025-02-25 16:53:51.995 20790 ERROR nova     service_obj = cls(host, binary, topic, manager,
* b1 o/ p% T. f( K2 A8 c" X/ b# i2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 120, in __init__
: j: \; g" g3 }# j+ A! L4 P( g2025-02-25 16:53:51.995 20790 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)+ f7 g9 ]' y- o5 d
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__* _( `- @' x9 k  X
2025-02-25 16:53:51.995 20790 ERROR nova     self.compute_task_mgr = ComputeTaskManager()
/ r3 P& k7 H- C) p2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 255, in __init__6 z! w! z8 D4 f8 F" ?. \8 N
2025-02-25 16:53:51.995 20790 ERROR nova     self.report_client" u" }) H2 \$ B: X5 b
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_client4 a' b( [, d# ~, t
2025-02-25 16:53:51.995 20790 ERROR nova     return report.report_client_singleton()
9 f/ I% ?" U& M+ H2025-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_singleton5 P/ G4 ?1 Q+ C
2025-02-25 16:53:51.995 20790 ERROR nova     PLACEMENTCLIENT = SchedulerReportClient()
0 Z; `. V. k7 ^2 F  }2025-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__
4 ^  c9 ?5 `1 X2025-02-25 16:53:51.995 20790 ERROR nova     self._client = self._create_client()9 D: G# b2 d6 e3 t' f
2025-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
8 L: ]3 T- j4 @2025-02-25 16:53:51.995 20790 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
8 Z6 l" _* @+ B# j/ [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
! t  j4 k1 T5 Z+ W, F2 |( z- G2025-02-25 16:53:51.995 20790 ERROR nova     return getattr(conn, service_type)! G  Z) A$ F+ q  [1 U
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__4 T& N/ x- ?3 {0 o. K% z- I! b- x' F
2025-02-25 16:53:51.995 20790 ERROR nova     proxy = self._make_proxy(instance)
" d$ `: M& N2 d2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/openstack/service_description.py", line 293, in _make_proxy6 Z* q- X1 `4 X
2025-02-25 16:53:51.995 20790 ERROR nova     raise exceptions.NotSupported(
/ J, C' d6 Y  {4 v$ Q2025-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., u7 o7 X2 [3 h0 F+ K4 i
2025-02-25 16:53:51.995 20790 ERROR nova
. {. p! J2 {3 v; p7 m6 Z( F) n, u. ]/ d

% X8 M: O# I$ z% ^+ J! ^/ \
$ |5 a; z2 F& ~' t" b& S4 L' v一看失败了;
. d4 R7 P8 ~6 s# U/ L3 p: t+ ?" `  S% f( H

9 p  H, M3 L4 i- P& A  g[root@controller ~]# curl http://controller:87785 q+ b$ s8 R% g2 @# ]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"># ]/ G% E1 @( Q  ?% b% q3 x
<html><head>
& H9 ?, N. W( s3 @+ S. n<title>500 Internal Server Error</title>
' ~/ Y9 s/ n! |+ i</head><body>, K# n5 X% _2 x+ y: X$ n5 z
<h1>Internal Server Error</h1>
8 E. z# p0 Z  k& g) @2 _; Y<p>The server encountered an internal error or$ m1 j# Z; D  J% k0 @6 d, y9 O
misconfiguration and was unable to complete2 x5 s: T( P. T$ p1 k( V
your request.</p>
" X4 c& C$ c- [6 u<p>Please contact the server administrator at
, V( s& s! ?/ B& Z3 h+ X9 P$ V root@localhost to inform them of the time this error occurred,
2 i9 V2 k$ Y8 L: M9 [8 I and the actions you performed just before this error.</p>" c- u$ D5 k) w1 V
<p>More information about this error may be available& v6 O7 K0 L6 W3 b2 O4 m4 Y
in the server error log.</p>
9 D% B0 b9 U6 }</body></html>
! E; E1 A  _# V5 C4 r3 R% a% v( g( l1 H9 F  P- j

8 G3 q; k9 F- D& s: M0 o+ e6 r- h3 L# s  o, N# S( M. W. q
端口也通0 Q' M  y% \; w/ [- N5 F! W
# m, U9 E  H8 `  p
[root@controller ~]# telnet controller 8778
2 L6 P/ k; P% y6 E" E" ^Trying 192.168.8.196...- \- `* T6 K: E& P
Connected to controller.* J" m1 z0 J3 w5 V; p7 P
Escape character is '^]'.
5 \" A  l2 X) ^6 z9 Z9 z
+ c  M0 c5 a$ z; G# D
0 d# R+ a: D) D2 {
6 t2 i# m& V" N5 U& B# Z& M
 楼主| 发表于 2025-2-25 17:22:17 | 显示全部楼层
发现placement 有报错,检查日志发现
: t; t8 {0 Q7 v9 e$ G. ^3 s
5 N$ n. Q5 |9 ^[root@controller ~]# tail -f /var/log/placement/placement-api.log ! D4 ?2 Y2 p  l
    _setup_logging_from_conf(conf, product_name, version)
3 r- B4 ?/ I7 E& R  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf! ]5 o0 i5 x( A+ Q
    filelog = file_handler(logpath)
: E  A; \. T- N6 q) A  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
2 F1 N+ z0 K; d9 @/ o9 q8 ^    logging.FileHandler.__init__(self, filename, mode=mode,
2 C3 f; b" ^/ ?; j+ K  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__5 o$ o! j' U6 r/ H6 o- I4 O3 \0 Q
    StreamHandler.__init__(self, self._open())+ k( s  u) n7 }8 F, S- _
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open, R2 _+ J) i, k2 E$ _% w
    return open(self.baseFilename, self.mode, encoding=self.encoding,
* W% h% G  _' N1 j7 l0 QPermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
) W2 \+ j- U8 Hmod_wsgi (pid=13891): Failed to exec Python script file '/usr/bin/placement-api'.
! C( @7 X$ C  ^& A' Smod_wsgi (pid=13891): Exception occurred processing WSGI script '/usr/bin/placement-api'.
$ l( `1 M; @8 e4 L" {Traceback (most recent call last):1 G! w' `* q6 t9 y, v1 k- T, |  Z
  File "/usr/bin/placement-api", line 52, in <module>
& ?4 V  `' n3 Y1 M    application = init_application()8 V  p. I0 f$ ]" E9 R+ {
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
4 i( Z0 M+ u$ `1 Y    setup_logging(config)
5 y. n9 l- ^) `/ e  e8 f% g  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
( s  L4 g; D# [( t% O+ W5 i) S2 {    logging.setup(config, 'placement')
7 K5 T( ?0 C8 l) g  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
; @3 _5 e/ R/ e    _setup_logging_from_conf(conf, product_name, version)
7 k0 j0 y4 N0 }  Q5 K% l! A* x  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf! U4 W4 |, t% m! T* s
    filelog = file_handler(logpath)9 u; o+ q! S  Q1 }! c) D
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
' f) J6 j1 ~( x/ o    logging.FileHandler.__init__(self, filename, mode=mode,) A0 Z4 x7 M2 o# r
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__. _5 P. ]% [6 D4 h1 e
    StreamHandler.__init__(self, self._open())
, G* @) ~  E. _, w1 [, d! r  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open; ~* g; U  L; c' h- h' n! y
    return open(self.baseFilename, self.mode, encoding=self.encoding,  [% j5 Z0 J% p& L) ]9 |0 x; X3 Q
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'" c+ \7 m/ S( Q+ b1 R
mod_wsgi (pid=13892): Failed to exec Python script file '/usr/bin/placement-api'.
. B+ y+ o! F# H7 Tmod_wsgi (pid=13892): Exception occurred processing WSGI script '/usr/bin/placement-api'.& c' r  C  r* H  F% M! d+ q% I
Traceback (most recent call last):
6 i+ L% m# T7 C' s& M* A  File "/usr/bin/placement-api", line 52, in <module>
0 ]% ~& Y8 \) Q) }9 v1 w    application = init_application()* q1 B( |: n8 a0 D  h
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application  a" u3 B  T5 d+ y  o  M
    setup_logging(config)
$ w! P( ?' f$ U" N0 w( ]  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
. c2 n/ x: x, `- }! N    logging.setup(config, 'placement')# V  m( z1 l! S
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
/ V0 M+ D( C- c1 [, ]    _setup_logging_from_conf(conf, product_name, version)
+ h! X* x- Q7 l% y' x& d7 G: U8 x  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
( O0 B9 c& v  r% k    filelog = file_handler(logpath)
6 l) w+ F) |( e4 Q+ t  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
' f- s/ t4 T- E5 R- P  Z; U    logging.FileHandler.__init__(self, filename, mode=mode,
% a- r2 D) o+ f/ g- |  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__& }% |! r4 [  I9 J7 p) I0 }
    StreamHandler.__init__(self, self._open())" c% N+ s; C/ R5 Y' d+ t6 L
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
  D& U9 c$ ?2 l* E1 A    return open(self.baseFilename, self.mode, encoding=self.encoding,& N+ R! A8 o7 _1 W5 ~1 \
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'3 b% X3 W5 A2 ?

8 u5 v$ V% W0 |  F! G/ b! {' ^, ?
. W) N& V2 [5 ?6 q1 a2 p* Pmod_wsgi (pid=13893): Failed to exec Python script file '/usr/bin/placement-api'.
2 ]" Y. Z* y/ t6 V# ?; D3 h( {6 hmod_wsgi (pid=13893): Exception occurred processing WSGI script '/usr/bin/placement-api'.% P% @  Y: s! B5 R3 h9 o
Traceback (most recent call last):
* z/ @8 C: `* y* @6 C% }& c  File "/usr/bin/placement-api", line 52, in <module>( W  d* E" Q. d% J: q' `
    application = init_application()
- T3 d' H2 j$ ~- Y  N6 Q% @  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application" u9 D. j; y7 A: [
    setup_logging(config)# T4 m. i6 R+ P! m0 q" K0 f: J
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
6 |( d( E% E  s. J/ D2 N  N# [    logging.setup(config, 'placement')! q3 a2 W9 A8 u0 N) ^
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup3 z! v" o/ M- h0 X; ^/ p
    _setup_logging_from_conf(conf, product_name, version)7 p0 T4 X( z3 Z* i+ k: R
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
% C* S/ h& W# s  D, u9 g0 Q. j6 Z/ z    filelog = file_handler(logpath)$ o% p4 p- e& @% h, F
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
. K6 m/ G& Q9 y/ ^/ W    logging.FileHandler.__init__(self, filename, mode=mode,
) ]/ K% j  ?2 e3 b/ X  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
+ F0 z5 y/ w& k' y& `& S* t    StreamHandler.__init__(self, self._open())2 s# D, K5 e1 k# `6 s5 Y
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
& ^. V, E' g4 ^  u- P& _# i6 `- T    return open(self.baseFilename, self.mode, encoding=self.encoding,3 D6 P5 k7 g; s( t2 D! R
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
) ^6 k% j/ n: t. Bmod_wsgi (pid=13891): Failed to exec Python script file '/usr/bin/placement-api'.
) l/ C$ }* e; ~: Z$ I6 Y. h/ Pmod_wsgi (pid=13891): Exception occurred processing WSGI script '/usr/bin/placement-api'.
/ r3 ]- B$ p3 g% U) ZTraceback (most recent call last):
$ ^$ x! [& H- d  File "/usr/bin/placement-api", line 52, in <module>+ o+ x* {0 n1 ^
    application = init_application()( t) f& a& C; a0 ]$ Q. e; N$ T. c
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
) u1 a4 T8 C. b& U5 K. w    setup_logging(config)
( z8 V+ V. @- ^7 @* G- |- U  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
  V8 ]+ G. |; \/ [' `- G    logging.setup(config, 'placement')- |) }7 t9 N0 X  p6 D1 s9 o, I0 W
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
, X. w/ L# y" T3 K+ p) |/ w    _setup_logging_from_conf(conf, product_name, version)
$ @( c. O2 R0 O+ l# K9 o9 _+ T! O  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
1 H5 B2 V- }6 B8 ~5 c0 @  d3 B0 [    filelog = file_handler(logpath)
4 b" u3 P! |% F, L  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__3 g' Y% ?# b& |. u, V
    logging.FileHandler.__init__(self, filename, mode=mode,; X( K0 A# R" t% D- Z' f
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
+ G7 a. A( Y& Z0 ~: w& C8 u. D6 A    StreamHandler.__init__(self, self._open())
  I! r/ k( T9 c1 r: ~  i8 N4 ^  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
6 B2 S! ^9 I7 Y4 v/ K2 u' C4 X    return open(self.baseFilename, self.mode, encoding=self.encoding,
, h, f! b/ y$ M; ~5 z; APermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'& ~* |$ R% L. o' ~( t  Y9 X/ |7 i
mod_wsgi (pid=13892): Failed to exec Python script file '/usr/bin/placement-api'.7 j7 U3 Q6 i( O, g
mod_wsgi (pid=13892): Exception occurred processing WSGI script '/usr/bin/placement-api'.( ]7 Z' f/ Q( }$ X
Traceback (most recent call last):
* |% l, B5 ^( ]7 E8 D) |# ?( E2 j* n* O  File "/usr/bin/placement-api", line 52, in <module>- h% D- T5 x) O- c# M
    application = init_application()
% `) `% f1 W0 J  D: ~  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application# I1 h/ \# u, ?, P5 |; L+ m( H5 @
    setup_logging(config)
8 a( `3 t( A. Y! ~1 ]; P  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging! N6 F- s- H7 ^7 N% p' Z0 n5 O' I
    logging.setup(config, 'placement')8 s- P; ]* Y! q& e  i7 H: t
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
1 d/ A& m" h- l  j    _setup_logging_from_conf(conf, product_name, version)# i! c, P" G! h) D) S4 }8 p
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
3 n" A- g( _' V  f8 P    filelog = file_handler(logpath)( U2 U5 |% C7 d1 ~7 S
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
/ K# t0 U- ?" V* }5 @    logging.FileHandler.__init__(self, filename, mode=mode,( x' n- ^! L: j1 [, O( B
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
! V& j+ G% L& M: P2 g; U    StreamHandler.__init__(self, self._open())
! @! s4 ~$ q3 A2 Z& |% p  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
' ^& F! O8 H2 r5 w    return open(self.baseFilename, self.mode, encoding=self.encoding,, b2 c4 g1 `$ _% D2 K) \1 B+ B
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
, q* V8 y7 I, [& h( Ymod_wsgi (pid=13893): Failed to exec Python script file '/usr/bin/placement-api'.' q' ?6 i" U2 C2 N% i3 {
mod_wsgi (pid=13893): Exception occurred processing WSGI script '/usr/bin/placement-api'.( {& W1 }; {6 c2 _
Traceback (most recent call last):* \- x. ?" u$ w; L. C2 [! ?
  File "/usr/bin/placement-api", line 52, in <module>% C7 n; L4 X2 Z! S! K& \( a) s0 c
    application = init_application()" T& ?, [6 Z+ c+ e+ F3 {9 ~
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
# d( J1 R+ t. B9 v8 E    setup_logging(config)
5 h" _" R3 Z3 c7 f1 I* [5 m  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
3 F# E0 A9 v+ u1 [    logging.setup(config, 'placement')
, c2 J3 P; A& _# B1 [  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
- Y0 M/ a3 a& r5 B) C7 B: u. n! N    _setup_logging_from_conf(conf, product_name, version)* Q! L; k0 x5 K+ ]# x
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf% M$ e1 Q- b8 p0 _' A
    filelog = file_handler(logpath)! i4 l, y8 Z0 B" P4 |, r
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
( N* L* T  V$ \% o( Q( Z  n    logging.FileHandler.__init__(self, filename, mode=mode,
. ?& V0 |/ z8 Z" d/ \5 g  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
* Y  V* s( v6 I    StreamHandler.__init__(self, self._open())+ V. @( B8 \% ]8 W
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open! R& u+ M8 G* F+ F( P* {+ {4 u; N
    return open(self.baseFilename, self.mode, encoding=self.encoding,
7 q# [1 k" n/ J8 E; z# W3 zPermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'3 c# o! Z* y5 r
^C9 C& O' S& U& V0 j, p
[4 L/ ^  ~; j. @& e8 H$ K* T. l0 X1 M

1 i7 o& [# M  F$ T% r4 [[root@controller ~]# cd /var/log/placement/
) C5 T" {8 z7 [+ L% C$ W; B9 i[root@controller placement]# ls* ]6 e* m0 @+ F3 r
placement-api.log6 Q% }: R8 I: i. V; X5 ^( H/ P' [
[root@controller placement]# ll
- _  d* V+ c$ L) Y& t* btotal 11844
+ b' }5 _' M4 I3 N+ }$ \% a-rw-r--r--. 1 root root 11889861 Feb 25 17:10 placement-api.log* |9 Z! `9 W, u; g# r( j4 l
# m  o/ U& u+ H7 D+ l* \
$ d( @& w, O) _0 s
total 11844, N% c: @" F+ `+ X. g
-rw-r--r--. 1 root root 12075765 Feb 25 17:12 placement-api.log7 z+ ]" p5 m; h

* ~4 }1 `2 T+ ?8 ^: [# Q; L权限不对,修改下权限:% j, a! g5 F: E2 w: ~$ C. o
/ _( D: n4 K& a* J) X: S4 _
[root@controller placement]# chgrp placement placement-api.log
* G' n& t9 V) h4 I; n1 x[root@controller placement]# ll9 R& w6 ?; ?. |, c. [
total 11844; ~' Z  m5 z3 Q/ E0 k
-rw-r--r--. 1 root placement 12114495 Feb 25 17:12 placement-api.log
2 G& G0 j; ]4 G. n) a! F: x. w1 X
tail: no files remaining
  q3 j/ n! \8 ]! ^! N' z3 @# [% Y" y2 P3 Z1 @8 n" F
& ?/ r6 V# e. R- G
4 C7 ~- x8 I- u
重启下httpd服务:
( h0 }3 @  ^0 F# |. E6 g" O- y   
! |; G( C+ Z: l' }' Y8 G6 @: g* r$ ?[root@controller placement]# tail -f /var/log/placement/placement-api.log- a' i5 x% R4 ~! x+ x5 c  t* [0 }

' s. _, H6 X$ x" t0 \2 c
# n+ U2 A" s/ t再次检查conductor日志。发现告警变化:
: l7 H; ]5 D. p9 h  Z5 e! X
& h) ^8 g3 V7 K0 H$ N) m0 Z
: n9 q5 i5 U4 Z' {: A) D8 C% H1 Z: K9 Q
9 m( m  I5 w4 ^: g2025-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
0 e  X! ^# n* t) [/ I7 v; ]' x2025-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
+ z- }1 O6 d6 S4 U5 Q0 L1 n( v- v$ _2025-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! O( p1 }' A7 D1 j1 f0 ]
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service Traceback (most recent call last):% P2 }7 z0 F* G; I0 R/ d& I
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
* Z# H' Q" `; ]; l$ B6 G2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.channels[channel_id]
+ ?2 {& A. d  ~* m& f4 k! A  Y2025-02-25 17:17:38.959 23976 ERROR oslo_service.service KeyError: None
! q4 a) G" w1 O' Z* V& r3 o# y2025-02-25 17:17:38.959 23976 ERROR oslo_service.service
- F- }  U. u" f2025-02-25 17:17:38.959 23976 ERROR oslo_service.service During handling of the above exception, another exception occurred:
# t. n8 d7 |( E$ T0 V+ L2025-02-25 17:17:38.959 23976 ERROR oslo_service.service
1 ~% c/ r/ Z  ?5 L. S5 D2025-02-25 17:17:38.959 23976 ERROR oslo_service.service Traceback (most recent call last):6 Q! V% {1 o1 X# L9 N+ H! K
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_service9 w" C; W7 z3 ]5 o( p  t
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     service.start()
6 g# Z* T! r0 w$ P  [6 Z: V5 y" s7 ]# f2025-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) A% L4 @. C+ q0 ^2 A
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.rpcserver.start()
! Y: a- H: x/ y; @+ U! J2025-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. V0 ~& g0 m0 P! c! t' p9 h0 X: L7 G
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     states[state].run_once(lambda: fn(self, *args, **kwargs),4 y+ d0 s' [/ s- T
2025-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_once+ V& q7 A% f- s: P! K9 H# y
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     post_fn = fn()
, n* Y1 Z! `" L0 \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>
; p' q. T0 w# l2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     states[state].run_once(lambda: fn(self, *args, **kwargs),4 v. _$ y" p! A2 w, E# Z8 A* R  b4 R1 \6 c
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
4 S: H. n# u; X! h, p  M8 z2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.listener = self._create_listener()# B2 ?7 |0 x- y8 L0 c7 r
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_listener3 s* U, C' p% n, G, z2 c- Y
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.transport._listen(self._target, 1, None)- V1 E* ]  V6 ^
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
% l9 }5 J' Z# ?/ p$ s2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self._driver.listen(target, batch_size,, p/ l1 l) M7 w
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 listen8 r% W0 w6 y; u0 \: i
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     conn = self._get_connection(rpc_common.PURPOSE_LISTEN)
8 M6 W- r2 s( }/ a$ R; D1 V) s4 e. b2025-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& E2 ?3 k4 J. d7 r/ ]/ F
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return rpc_common.ConnectionContext(self._connection_pool,/ Z" T8 j2 t# \7 f$ @' Q
2025-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__
: j& i, H8 @7 X/ M0 i7 O2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.connection = connection_pool.create(purpose)* |4 O; t8 ]  g# u% x% g  Y
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 create9 A: i0 W% {. I4 F( Q2 f& b
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.connection_cls(self.conf, self.url, purpose, retry=retry)
0 [" }5 ?4 V& ]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__
# {! o0 j( f6 `5 V6 I; A2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.ensure_connection()  C/ \# s2 d6 S- J) _* h
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
& a2 _" Q5 P. C# [2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self._set_current_channel(self.connection.channel())
' G$ Y0 A: @5 r8 O  c1 R7 P% [% {2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/kombu/connection.py", line 303, in channel) ^" a: y) ^* c- I* F! U5 O+ k
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     chan = self.transport.create_channel(self.connection)
! F: d0 z0 ^+ l; Z  W# ?2025-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
- O/ c- S5 I. H6 R2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return connection.channel()
: i1 {6 @- j9 a5 }' J9 k2025-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
0 E# N" B4 M1 I' f, X. K2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     channel.open()
- j+ H( l! B) b) C! b2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/amqp/channel.py", line 448, in open0 ?  h' U& O& X
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.send_method(
: L) f7 \, H7 D& b' P  ?' a1 u3 f2025-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
  G- x% J) s2 _: {# h2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.wait(wait, returns_tuple=returns_tuple)" t- f2 g7 s! d  h  L3 D
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 wait
+ m% _" X# ?- A8 c1 l2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.connection.drain_events(timeout=timeout)
. W" ^# l2 Z- N1 P" H1 o3 S2025-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- ?6 c" F7 g5 N# n- M6 Z
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     while not self.blocking_read(timeout):
- M% F$ y, T1 O* K6 x$ D2025-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_read
8 |! U/ t( e$ S3 U% @2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     frame = self.transport.read_frame()
, j& j/ R" c* M- W9 B/ t2025-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
0 m; n3 l. {# ?2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     frame_header = read(7, True)
* }& Z. ^! x, k* ]3 v  a2025-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& u/ s& Z! r( m/ T6 g/ n2 m
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     raise OSError('Server unexpectedly closed connection')% C; U% M  |  f
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service OSError: Server unexpectedly closed connection
# b. @8 [6 J6 j% ]  x. Z. Q2025-02-25 17:17:38.959 23976 ERROR oslo_service.service
4 ~6 W3 v. m. v) [4 f2025-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:3109 e; r9 G$ Q, e: D& l4 A
2025-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:313
/ \6 x) M( q8 r( O$ p: o, S2025-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( D+ n% ]; D2 I  ^; N# d
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
" ^  X) Y" ~! l: F/ Y) \2025-02-25 17:17:39.901 22849 INFO oslo_service.service [None req-795f57b5-2f1f-4103-a1eb-509caf8e73a4 - - - - - -] Child 23972 exited with status 1
5 r2 \  J9 d. [4 q) X' @- I2025-02-25 17:17:39.902 22849 INFO oslo_service.service [None req-795f57b5-2f1f-4103-a1eb-509caf8e73a4 - - - - - -] Forking too fast, sleeping; T4 ]5 A1 t$ N% i

6 m+ \# l) |9 \; _& ~; P  e7 |9 y9 f, k9 T7 v3 C. q- z
 楼主| 发表于 2025-2-28 10:33:44 | 显示全部楼层
重新审视下nova.conf配置文件:
, y" k) l. s, S0 G! G3 S
; H; O' F! V6 t0 O& d[DEFAULT]
* H0 ]4 G4 ~3 P7 H/ p; [. kdebug = True. T( f% g+ }0 g, O, T
log_dir = /var/log/kolla/nova: b0 j+ L+ p8 u$ m6 K& T
state_path = /var/lib/nova
' K- ?8 v0 u+ o" p* @1 _; _allow_resize_to_same_host = true" p7 N8 b9 J7 Y% u5 J. \; }( T
compute_driver = libvirt.LibvirtDriver$ C  d8 x6 g( K
my_ip = 172.27.11.38
* w) r6 z( g! e: c1 Qinstance_usage_audit = True
. r; s5 d$ j9 H; \% ^) ?8 Linstance_usage_audit_period = hour
' h7 U6 m* I/ a0 S' w" etransport_url = rabbit://openstack:yvEiq9inxvblL@172.27.11.36:5672,openstack:iq9inxvblL@172.27.11.37:5672,openstack:Eiq9inxvblL@172.27.11.38:5672//2 Q; ?  [+ c+ L* O; q
resize_confirm_window = 60
0 }1 |( t8 |0 {+ ]* j1 Y5 o& y3 r7 U9 t
[conductor]
8 _1 U! S! ^0 `+ A1 ~, q( oworkers = 5
0 l- c' A4 Q) _# F
. L! X1 e( e% o! M1 ]( p[vnc]
2 C& f  y/ y; i1 ^novncproxy_host = 172.27.11.38
0 g4 `! r' G7 N- onovncproxy_port = 6080" x3 M) t, h, _! p; V+ c
server_listen = 172.27.11.38
4 t. n8 K% P* m4 c! _" Jserver_proxyclient_address = 172.27.11.38& T& V1 w7 P, Z7 B$ b3 Z0 O

$ n& R8 j7 @1 ^  P; }[oslo_concurrency]  M+ z/ Q; z( K% l) s
lock_path = /var/lib/nova/tmp
4 l2 r) ^, j; Z1 }
1 s4 t/ F9 w8 x* o- @: G$ o% |  c5 x[glance]1 g* D3 q" h  C
debug = True' D% I( n& x2 K' {4 x
api_servers = http://172.27.11.88:9292
5 A, Z$ L$ k6 M' h4 v. ccafile =: m6 F9 x0 b6 S8 |) k& T
num_retries = 3  d# A$ H" i$ ^
1 Q2 C# A& ^- I5 s: S; _
[cinder]
2 P8 p- A1 Z) R' Z% m3 {1 v8 B/ Ycatalog_info = volumev3:cinderv3:internalURL7 T# G8 C. o% b
os_region_name = RegionOne; R/ [% \5 ^7 T3 `& p# x
auth_url = http://172.27.11.88:5000! Q( M6 W" Q* [9 A  n
auth_type = password
) I! I  f/ Z! U8 O; |- G6 ?project_domain_name = Default
. q" }  R1 L2 z# H* r2 E: b% u- w6 |user_domain_id = default
1 O5 r" k- w0 q, Y( b( sproject_name = service0 a+ c9 W9 O+ v# T3 h6 l  f1 u; h
username = cinder6 u9 l0 L' ]+ K- H5 L; K* g
password = Kc2XVRBveUwBSmr
, b5 p# K: F  Q. ecafile =2 T( J" u3 U# \* v- F8 ?
/ A" {) X& Y! ~3 Z+ I
[neutron]# N1 Q( J; M2 |- |" G, k! t- c
metadata_proxy_shared_secret = COScZnT5e7BZJU
. Q2 t) p! M2 F- |* B" @service_metadata_proxy = true/ j" L2 ~2 d7 M% i
auth_url = http://172.27.11.88:5000
1 k; B$ ?( M/ |auth_type = password- T+ n: i6 B4 H* h+ y
cafile =% @5 M; z* O/ g5 B
project_domain_name = Default! C; Q- U4 b+ Q0 Y2 [
user_domain_id = default) {. _; I) {. ]* r8 p( D" ?
project_name = service
! N) U; O( R* L6 r1 _$ ]username = neutron
9 n) U3 b. U$ F2 J4 {password = 2M4JUch6jYMJ
: U/ u4 T1 r4 ?7 @: M! d7 T4 pregion_name = RegionOne
2 g7 ~; U; M9 Bvalid_interfaces = internal1 X" I; i; O& j+ p# k9 S

" x; F9 R/ l+ v! K9 l3 Q6 U[database]
! z& x& T5 @+ v& r: U! o" S+ V4 Fconnection = mysql+pymysql://nova:UCA6ltitkU@172.27.11.88:3306/nova( c! K' P9 ~3 ^: ]  v9 Q
connection_recycle_time = 10
' w0 \) j6 Q$ V. W0 T/ v2 `max_overflow = 1000
8 h, s! g: {4 ~) |7 |  Dmax_pool_size = 13 {8 p3 z9 @1 C8 K% P+ G$ j
max_retries = -11 Q( Y* B! g- o

1 E7 ^0 w) t7 h) ^( s! H7 i[api_database]$ ^: P% H, ~3 N3 u" w
connection = mysql+pymysql://nova_api:9ATuRhyEr@172.27.11.88:3306/nova_api
% v- E1 V/ ?, s& w3 T7 L; m1 a' mconnection_recycle_time = 10
* R1 u( l% A4 Amax_pool_size = 1
4 @) ^) j2 D! b5 Q* k+ |max_retries = -15 V& @+ S; |2 B. v5 g) E
: n' Y: G" g  S$ m% w2 L
[upgrade_levels]
0 ~/ O, Z- ^9 Z1 Gcompute = auto
: z% B' c) s, b  V6 }) }
8 P0 u+ j& }  O, y4 N' v+ w- B##主要是这个地方
( s. M5 }5 h; J% ?7 m4 C/ F[oslo_messaging_notifications]' f; f4 V3 x/ U4 C/ ^
transport_url = rabbit://openstack:q9inxvblL@172.27.11.36:5672,openstack:DWM1ayvEiq9inxvblL@172.27.51.37:5672,openstack:vEiq9inxvblL@172.27.11.38:5672/// K, t6 ^7 R- M* a6 d
driver = messagingv2( v) O6 z4 ~/ \2 ~" n( f* V
topics = notifications
2 F; r7 c, m% Z( j6 ?4 `' U: l# @" x/ u* P! v1 [
[oslo_messaging_rabbit]9 H# ~  d* F( t& l9 X
heartbeat_in_pthread = false
3 J4 A! [, K  n8 Z% M1 mrabbit_quorum_queue = true
: i- H5 a7 i, [0 z9 r3 Q, M  z
[privsep_entrypoint]$ f: x3 ^$ C% F9 ?" C3 c
helper_command = sudo nova-rootwrap /etc/nova/rootwrap.conf privsep-helper --config-file /etc/nova/nova.conf
6 ~+ }  X  I! l# Z4 u0 C& p
+ J8 y* a# A8 o+ r& O[guestfs]
& D3 N- q/ D5 E3 [. m4 m2 cdebug = True+ J7 p# y3 j) M! p4 o) U
& m2 G: O0 H" `0 ]+ c
[scheduler]
$ {: O$ l8 U9 |/ Wmax_attempts = 10( h; i8 @, k7 f7 t/ Z
& V3 h! L4 ?+ F8 K  b" Q; i" D
[placement]; L5 B- U! a$ E# X$ {
auth_type = password: i# p: \* M( b/ z4 [7 d& T
auth_url = http://172.27.11.88:5000
; L0 ?' W# `/ A) Rusername = placement
: B* v" a. o" h& f& W3 x" s7 h: Ypassword = NjPdQcmImG
2 s1 U1 Z& _0 v! Cuser_domain_name = Default3 f1 v, E3 O$ J. s
project_name = service
" t( m5 L) }: C& Q0 A: Hproject_domain_name = Default
/ g" v" B. o3 m0 J8 lregion_name = RegionOne
, y' F6 V9 Z; P6 @! Jcafile =1 r3 \1 {0 ~& u- u' \( K
valid_interfaces = internal
6 k' C' W$ f% K7 t. i7 y
+ D" _7 H/ J  W[notifications]
: ?5 D' o4 s+ X* V$ C, j- t; u& Xnotify_on_state_change = vm_and_task_state; X# f/ n, N& V; d; C; \
4 e" E2 Z8 G5 b" b4 |
[service_user]
* Q& [: N( n: }5 dsend_service_user_token = true  M) x. j8 E# @7 C
auth_url = http://172.27.11.88:5000
9 y! s2 w0 t7 H9 C3 Wauth_type = password# R9 V& Q; U9 R) l3 N- T6 k/ @( F
project_domain_id = default6 s) o  k9 p: j  m) v1 C8 d5 r
user_domain_id = default
  D+ C" H/ K+ C) ^7 _project_name = service
+ [. h9 ]4 O  l, Yusername = nova
$ z3 z+ l9 v% j6 m, R. gpassword = 3kt5fJe4rRZv08 X4 p) {. k, q" J4 e
cafile =) K* N2 r9 h; l0 `
region_name = RegionOne' W+ V5 i5 T3 w3 R. U0 W# B
valid_interfaces = internal
, C  j# ~/ u9 x
- X6 g( E$ y3 x- `1 k[libvirt]& p1 `7 }! g3 P5 m, Y+ \/ j5 }
inject_password = true
7 p  p* D# {/ c+ R7 i3 E! Z" z& @
3 C7 m6 A% o4 O% T3 M  y9 o[quota]9 E8 ^" i/ [6 p& \& X$ }
instances = -1) Y# o& r% X# Z) H9 O3 Z
cores = -1- ?9 w0 o3 b3 @* W( n# t* U$ _( Y
ram = -1. b  T5 k9 Y9 P$ b- q+ W* f% d0 |
injected_files = 32+ ^5 ?! w3 m& S) G
server_groups = 128
3 G' i9 \1 D3 X: z3 Q, G/ wserver_group_members = 128
4 l" l9 i: G6 N; ]/ L: U/ ^# j2 }# m! f0 ?
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

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

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

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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