易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 25|回复: 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.3 d2 R- a- F6 E
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.1 O4 S8 T6 J0 w$ M8 T, {
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.
" X: @5 W; t! \* W/ I4 u' A2025-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.
# s/ B" g3 O2 x0 ?+ }) S2025-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.
. z8 f, g- k4 G, U0 j7 u' p2025-02-25 16:53:48.549 20787 ERROR nova Traceback (most recent call last):- {0 a( P7 W9 Y1 ~/ b3 j0 P6 X' a& S4 W9 h
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/bin/nova-conductor", line 8, in <module>
. d8 ?$ [# D6 i. C* P! F, ^. l2025-02-25 16:53:48.549 20787 ERROR nova     sys.exit(main())
: s4 V( u4 h+ O2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/cmd/conductor.py", line 45, in main
& `, u# B2 ~: P7 h9 D2025-02-25 16:53:48.549 20787 ERROR nova     server = service.Service.create(binary='nova-conductor',
% H( g; C' K) M8 W3 u2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 256, in create
% z3 P2 ]4 S# x% ~2025-02-25 16:53:48.549 20787 ERROR nova     service_obj = cls(host, binary, topic, manager,
1 v1 ?! z0 R! M& G% j( F, F! M2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 120, in __init__
, d4 V- W' R% }3 O- k0 O2025-02-25 16:53:48.549 20787 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)
+ {3 [% M- H8 {  }- \- v$ V2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 124, in __init__
# _) L; m8 w5 S+ g( ]8 I6 Q0 T7 o- N/ T2025-02-25 16:53:48.549 20787 ERROR nova     self.compute_task_mgr = ComputeTaskManager()- [, }2 G! y5 o% S* r/ K  O
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__
2 R& D# |5 A6 M, J2025-02-25 16:53:48.549 20787 ERROR nova     self.report_client% M! `; W. e" b6 f5 I! f5 |0 H' Q- _
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
# P  q* X9 v$ ^% G* V" W2025-02-25 16:53:48.549 20787 ERROR nova     return report.report_client_singleton()
' C  p& x5 [. O  V8 _- 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
5 Z) w- T. d, V: _7 I2025-02-25 16:53:48.549 20787 ERROR nova     PLACEMENTCLIENT = SchedulerReportClient()
* X  G9 n8 s5 E- |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__5 [2 J" w  m3 u
2025-02-25 16:53:48.549 20787 ERROR nova     self._client = self._create_client()
$ r# O- K; w  y  g! J8 U( j& h. r2025-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- {* p6 r6 {4 j- v' [* C# r( i9 w
2025-02-25 16:53:48.549 20787 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
; n4 W; U" ]# n9 B2025-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
7 \: `7 W" f. `( m2025-02-25 16:53:48.549 20787 ERROR nova     return getattr(conn, service_type)
- ~# q# ~% Z/ q0 E2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/openstack/service_description.py", line 89, in __get__
' p. x' O4 [1 u4 j* B2025-02-25 16:53:48.549 20787 ERROR nova     proxy = self._make_proxy(instance); a- c8 v# h1 q) i% |5 l: ]7 N9 H  o
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
8 N9 |! |, a) o2 X$ ^  o7 ?2025-02-25 16:53:48.549 20787 ERROR nova     raise exceptions.NotSupported(( K& K1 W# D: U8 u: z
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.
2 A+ W$ h! E: h+ B4 C' v1 k2025-02-25 16:53:48.549 20787 ERROR nova # e, f3 o' V' ]* R
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.2 g/ Y" _4 a( t8 e1 `
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.4 m2 `* \) D; V2 R( \5 Z
2025-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.
5 e* q7 U& Z2 Q2 J6 ], K4 j2025-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.  ^3 J) K. j; f3 y9 p
2025-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.
# ?) t! l% U8 A6 _' p2025-02-25 16:53:51.995 20790 ERROR nova Traceback (most recent call last):/ {- g2 f2 ~( R+ ]& H! p3 Z& M
2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/bin/nova-conductor", line 8, in <module>
* ]2 X3 T- e0 E2025-02-25 16:53:51.995 20790 ERROR nova     sys.exit(main())
% z/ K7 C' c! `' s. O  H2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/cmd/conductor.py", line 45, in main$ {7 i. Z/ _. Q$ t2 m
2025-02-25 16:53:51.995 20790 ERROR nova     server = service.Service.create(binary='nova-conductor',
1 g: w* ]& m8 k2 k' V2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 256, in create7 u9 \2 g) L) q5 W% k. M) P/ g" j
2025-02-25 16:53:51.995 20790 ERROR nova     service_obj = cls(host, binary, topic, manager,' i! O$ T* a  `/ o' ^! t' {; l: ~
2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 120, in __init__: v" o/ Z. k- u0 n8 h
2025-02-25 16:53:51.995 20790 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs): f- ]; G& @- m3 c+ f8 r6 [  E
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__5 L7 X, L4 B1 ^! d2 C
2025-02-25 16:53:51.995 20790 ERROR nova     self.compute_task_mgr = ComputeTaskManager()
/ T$ F+ E2 c6 H9 G/ e) T" s2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 255, in __init__
& X/ Y$ T! s9 L% c2025-02-25 16:53:51.995 20790 ERROR nova     self.report_client, {  b+ L. G. _% c, E
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_client9 C# N1 C! v/ K& {6 D. J+ o0 L
2025-02-25 16:53:51.995 20790 ERROR nova     return report.report_client_singleton()9 u$ X0 c: w, U$ 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 91, in report_client_singleton9 Z% m$ U1 s+ F/ a8 a
2025-02-25 16:53:51.995 20790 ERROR nova     PLACEMENTCLIENT = SchedulerReportClient()
8 q1 T& E/ Y/ `5 D% v2025-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__5 K! V& J3 h1 z( t
2025-02-25 16:53:51.995 20790 ERROR nova     self._client = self._create_client()5 b2 G9 N/ W" H6 ]8 e8 [+ Z
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 o0 ]/ ?2 w. [7 }2025-02-25 16:53:51.995 20790 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
" V7 k) K; l* J7 p- `+ W2025-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
; B$ Q6 v/ z/ {- j' [( g* `2025-02-25 16:53:51.995 20790 ERROR nova     return getattr(conn, service_type)
7 I+ p  k  v+ c* t; Q( P2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/openstack/service_description.py", line 89, in __get__
% v3 D! L2 W4 n( Y3 t+ T) e2025-02-25 16:53:51.995 20790 ERROR nova     proxy = self._make_proxy(instance)
9 ]) M' L/ N* h8 M2025-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- K. i: K4 W( z: @* z: j2 f/ G
2025-02-25 16:53:51.995 20790 ERROR nova     raise exceptions.NotSupported(+ W! I% I0 R* ~' ], k
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.! `+ j% F" O4 c! ~+ Y) }3 R9 I
2025-02-25 16:53:51.995 20790 ERROR nova ) m1 B' Y' Q, Y: H
4 {$ z: o0 a, {9 ]" \* c) H5 E5 s
9 b6 R) @3 O, `* j* ~

' E) ?8 [2 Z& n一看失败了;
$ |1 ?4 R! @8 T5 D* V3 t0 v1 @6 `
, F4 I, Y3 X$ n( b& z8 l5 d4 Y4 }
[root@controller ~]# curl http://controller:8778+ R  F& A" ]7 ~/ b6 X; Y8 @
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
4 V0 n) E8 G7 e1 g& E<html><head>: H% e7 F8 B" |2 {) c
<title>500 Internal Server Error</title>
6 T4 C7 n9 w6 X9 K- b</head><body>2 X' H8 p9 l, A
<h1>Internal Server Error</h1>
; a8 G! ]+ X. p! H  v' F+ J<p>The server encountered an internal error or
& x8 K* i! u% m. I1 J5 Emisconfiguration and was unable to complete
5 i' G; V$ \) ]/ k) s% Q. Hyour request.</p>2 O- u' S5 U3 }3 V# x" c0 M
<p>Please contact the server administrator at # J. l$ s/ O- k8 q( f) P1 x0 E' S
root@localhost to inform them of the time this error occurred,
4 K2 c# T" c9 `4 S' l$ O# s and the actions you performed just before this error.</p>& V+ y! _* w$ N5 Z
<p>More information about this error may be available* o" H2 A$ u1 t0 @* t
in the server error log.</p>
( [7 X  p' ?6 C- [# l4 e/ }</body></html>
" d( c: }7 ]) ?5 h6 P4 w' I8 W! U: l1 a7 i9 z* p8 }+ [; A& C

& \: |5 G" |( q3 K6 f- `( t: [! O% Z
5 h# A  H. z! t/ y0 ~端口也通1 j! g: [. S4 j* C2 ], L
( V; Y' A( |, f1 k( A% ?
[root@controller ~]# telnet controller 87784 b- l: O8 m6 {, V# ]( l4 R) U
Trying 192.168.8.196...3 \) p; o, P  F  l8 v
Connected to controller.
# b# \! D+ @( L! D( z8 }/ L+ xEscape character is '^]'.
% P0 Q+ c- N2 H4 C5 C  a9 _  r4 n
2 [+ R& L% `7 v7 O& S/ r$ ?# J% t( r, [2 }' X
* o  v% }  `( g
 楼主| 发表于 2025-2-25 17:22:17 | 显示全部楼层
发现placement 有报错,检查日志发现
3 C/ ]5 K( v( K# F
- w) p$ e# I3 o6 q[root@controller ~]# tail -f /var/log/placement/placement-api.log
0 n0 f4 m- @7 D( E, _  X8 Z    _setup_logging_from_conf(conf, product_name, version)
& N3 K: g0 H+ K% V' Z: f  `  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
) g# A5 ]3 R9 a" m- r! K    filelog = file_handler(logpath)
% t5 A1 ?( I/ d6 [& ^' C  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__4 `, ^/ V9 x) w0 a
    logging.FileHandler.__init__(self, filename, mode=mode,8 U* i8 i# d4 L) y5 |* Y
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__+ f0 r$ [0 `' {0 W* O. P
    StreamHandler.__init__(self, self._open())" g! B* G  v+ ]. H) o& k- ]6 \
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
# X& g9 c8 C* D: |/ B    return open(self.baseFilename, self.mode, encoding=self.encoding,1 ~# N/ ?, P* j* ~7 A
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'0 B& q! U  Z4 V7 @
mod_wsgi (pid=13891): Failed to exec Python script file '/usr/bin/placement-api'.2 B2 d  E4 Z1 T! H; P) p% A
mod_wsgi (pid=13891): Exception occurred processing WSGI script '/usr/bin/placement-api'.& g: b& a- S* g( h+ H" {9 a; m
Traceback (most recent call last):
) @/ k$ C. T8 j9 m0 {: o' _: N& Q  File "/usr/bin/placement-api", line 52, in <module>3 T- B8 I4 m2 ~) [
    application = init_application()
9 n- O- l3 w7 {- ^; H$ A! _  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application/ u: u) j% b" Z) e+ D9 X9 e
    setup_logging(config)
+ Q2 p+ _2 x( j  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
7 ]9 k# K! T" Z    logging.setup(config, 'placement')
  Y9 y, @9 M2 [; J, L  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup5 N1 X6 v$ k1 p, F- e
    _setup_logging_from_conf(conf, product_name, version)
5 l8 D# z4 h4 L# [. ^3 N  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf, j  Z- q  W2 |" E4 C
    filelog = file_handler(logpath)
, O5 A% G8 g4 X) j5 u  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__! r) ^2 L' Z) x+ z4 h) o/ m( b5 L
    logging.FileHandler.__init__(self, filename, mode=mode,4 |: T; p2 N0 n+ E0 I
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
% m' E" e0 [. d* O+ H) `    StreamHandler.__init__(self, self._open())+ m. j9 R" C# u( b% _
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open7 ^' G' A* k7 r2 c7 B
    return open(self.baseFilename, self.mode, encoding=self.encoding,
6 E* _# |% _- }PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'7 d8 s1 n5 L! i' _- y2 k
mod_wsgi (pid=13892): Failed to exec Python script file '/usr/bin/placement-api'.
# J- [6 N) V; U$ s  Q. e' {mod_wsgi (pid=13892): Exception occurred processing WSGI script '/usr/bin/placement-api'.5 m* T; \* i. m, w7 I
Traceback (most recent call last):
" m# i  Z8 @  E, G9 R  File "/usr/bin/placement-api", line 52, in <module>
* \2 Q5 v  f4 U$ r- Q2 ?. T    application = init_application()/ H" M; E. v% v; I- q" _
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application' x6 C, a0 D( i2 h
    setup_logging(config)
" E2 R  [7 U& `  ~  I6 u  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
' k3 F% {* _4 i! ^/ o    logging.setup(config, 'placement'): P# Z& l8 C; d
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
' I6 I* G8 G. a4 Y& m7 w# f    _setup_logging_from_conf(conf, product_name, version)5 ]. }, q9 ~; L" u* m
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
6 f. b) A. E& P' T, x$ _    filelog = file_handler(logpath)' H- I' }+ b( Y: U2 G( o# f
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__- Y. v! x) I9 n, M3 A* C
    logging.FileHandler.__init__(self, filename, mode=mode,0 ?3 p, e4 \/ V, V* E" t  h+ J
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__# d! @- @; D' L/ C0 C( t
    StreamHandler.__init__(self, self._open())- y$ l9 n- D! m- s
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
- V+ X7 V5 s" A    return open(self.baseFilename, self.mode, encoding=self.encoding,
! b1 _3 ]* |5 W# K/ z7 s# ~PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
; r' G6 c: P% H" {$ ^2 F
" F& m1 b2 ]2 e: z! ^- V
  n2 P' [% V3 y7 jmod_wsgi (pid=13893): Failed to exec Python script file '/usr/bin/placement-api'.
% p; L+ p( @2 _; B- @mod_wsgi (pid=13893): Exception occurred processing WSGI script '/usr/bin/placement-api'.& I. z9 ]$ j( s
Traceback (most recent call last):
: G: V0 d( r! i/ \0 s5 {9 Q8 y: ?  File "/usr/bin/placement-api", line 52, in <module>6 T' S9 ]5 T% x
    application = init_application()2 S: q$ q$ e: J6 c: e& L5 Z& i; |) ^
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application$ H" a4 W- l; h: D# ~1 S
    setup_logging(config)
( A$ ]# h, ?8 v4 b# F  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
( w. g, w$ |" y. t! I8 U# ~    logging.setup(config, 'placement')" M# g: d& V2 n: a0 P1 K8 D; l
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
( D0 d: v1 G/ z( E9 |8 n    _setup_logging_from_conf(conf, product_name, version)
8 ^* Y- f6 d1 ]  g4 b& ^  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
; ~7 |. n7 y: ?$ _2 _9 y    filelog = file_handler(logpath)
: i4 K5 x2 f* @+ w7 S+ j  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
: [6 k4 O0 w& {' z0 z5 a, o    logging.FileHandler.__init__(self, filename, mode=mode,6 @  e1 W3 Y) G1 i
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__/ F. X% S$ \$ ]& a7 s& |1 q
    StreamHandler.__init__(self, self._open())
/ L/ m: S  D( H8 L  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
; n; n: b1 n$ n" B    return open(self.baseFilename, self.mode, encoding=self.encoding,4 U/ ~) e: P( C( V) O; m
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'& A4 p0 Q' t! K9 U
mod_wsgi (pid=13891): Failed to exec Python script file '/usr/bin/placement-api'.! I( i0 g: C7 A; S) N) ]. E8 t% ?
mod_wsgi (pid=13891): Exception occurred processing WSGI script '/usr/bin/placement-api'.
" j) y: g( o& R) W  a8 H" F8 ITraceback (most recent call last):: t* b3 U  d# l1 z
  File "/usr/bin/placement-api", line 52, in <module>
% p; o, ?; ?" E    application = init_application(): d" V+ U0 I9 W
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
3 D( u# r. p8 A$ M    setup_logging(config). m3 l9 D# l& X5 O0 h% u
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
$ p4 i% C% K" s% W/ f    logging.setup(config, 'placement')
) `/ {0 I  I( n5 K& I4 [( C# T  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
4 k" Z. Z" ^# s  Z    _setup_logging_from_conf(conf, product_name, version)* ~8 I. S( \' O7 {* A
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
  i+ N. [! X! V( ]$ M$ g    filelog = file_handler(logpath)
# B. {4 u7 }1 h  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
0 B3 l9 e+ Y8 H7 e    logging.FileHandler.__init__(self, filename, mode=mode,& s2 G. b- \. W0 F# M0 b7 Q
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
! W8 r9 R6 ?5 f    StreamHandler.__init__(self, self._open())6 o; E  H7 A* B
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
( N- G) l% i/ q9 [8 ^    return open(self.baseFilename, self.mode, encoding=self.encoding,  r5 h) H) E3 H0 }; t( G: h
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
- q! Z6 V" b% j8 Imod_wsgi (pid=13892): Failed to exec Python script file '/usr/bin/placement-api'.: b& |" c5 `! n$ i
mod_wsgi (pid=13892): Exception occurred processing WSGI script '/usr/bin/placement-api'.! x; \( {. _! N- B" G
Traceback (most recent call last):* y* t2 E/ x6 b) l# S+ h* r$ W
  File "/usr/bin/placement-api", line 52, in <module>" V4 c5 u: x( J- \# h2 C7 {
    application = init_application()* w& t) @- L+ A0 D8 p
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
; d3 P% E* X0 e0 A& t9 I  r+ y    setup_logging(config)
* X+ o2 D5 o  E1 E0 _1 p1 z; `  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging4 B' m* ?  N6 Z( U
    logging.setup(config, 'placement')* w" D1 f. M& f1 l+ j
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
, D8 m& K$ W& v& L6 ?7 }. C    _setup_logging_from_conf(conf, product_name, version)
4 U3 ~; o  s; x5 ^, N3 _  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf7 {, G& e; a" t" R
    filelog = file_handler(logpath)8 `- [- s2 G# U6 }9 }
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__6 z0 }1 K* v: p8 ^1 I
    logging.FileHandler.__init__(self, filename, mode=mode,
  p% \' r2 {! |" n+ M  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__$ @$ N, D# |; @/ ?. M. v; r3 u9 ^4 r4 u2 H
    StreamHandler.__init__(self, self._open())
3 _& O# x- T% i9 K# x  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
: S" ?5 s. q/ E    return open(self.baseFilename, self.mode, encoding=self.encoding,
) \# D: @& W# }/ a$ NPermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
# c* h! {; K4 E. t( {1 f  Smod_wsgi (pid=13893): Failed to exec Python script file '/usr/bin/placement-api'., ^8 m% ^2 a+ X3 u$ i/ ]
mod_wsgi (pid=13893): Exception occurred processing WSGI script '/usr/bin/placement-api'.% c/ v. S) ~$ W: L6 J" t9 x
Traceback (most recent call last):
3 v1 ?2 }$ s2 t  File "/usr/bin/placement-api", line 52, in <module>- \6 R. D% n# r' O
    application = init_application()
2 _9 X- X) o6 A' _  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
6 C, N6 d% c) Q  \$ d    setup_logging(config)! d/ z8 h  T/ o; [
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
. d/ ]) b* f; f3 L    logging.setup(config, 'placement')
- \9 g( q- t  |' S) N2 h  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
  [4 Q" n& l) y9 W+ h    _setup_logging_from_conf(conf, product_name, version)& H% s% m+ F+ D. Y8 v
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
! R- m& X/ A2 i. P- f    filelog = file_handler(logpath)
/ f+ u0 F0 n+ y, D: r  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
9 n( I- {; \- W- ]) r7 j    logging.FileHandler.__init__(self, filename, mode=mode,, a- o2 @+ \5 i
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
* w/ |4 F( I& r1 d* N) n    StreamHandler.__init__(self, self._open())
+ Z# Y+ U4 R! a  N0 n* V( K  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
% o. `" d+ C* g! ~; }    return open(self.baseFilename, self.mode, encoding=self.encoding,- _) X, Z7 g* K- N9 ^+ c, ^% \8 O
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
: ~5 t8 q/ M' [9 u^C# i6 T1 m, L- H" v9 L; s
[
( _! `9 r: R5 O
% g6 @2 c* Q  J& t% S- y[root@controller ~]# cd /var/log/placement/6 ~# R3 l- x2 C
[root@controller placement]# ls
; Z& {2 l/ a& k5 A: b9 c# d0 zplacement-api.log
# V5 f8 c2 F' {[root@controller placement]# ll7 @( S$ h) a+ [- `* [  z
total 118446 N0 K% J% }+ U# N! h
-rw-r--r--. 1 root root 11889861 Feb 25 17:10 placement-api.log/ G- w2 y6 G" L* Q' l0 Z
2 u1 m* }4 r" u+ u4 p
6 T  S3 b8 r( X8 k
total 11844
1 B( a9 H2 T3 ~; @6 e-rw-r--r--. 1 root root 12075765 Feb 25 17:12 placement-api.log
* T, v8 @( K. s; `! r4 G4 l0 e
; P# q! [5 c! p) H" ?权限不对,修改下权限:5 R) g( x; `8 v# P6 ]
! b+ {+ _( C7 D
[root@controller placement]# chgrp placement placement-api.log
& W6 ?* M2 Q! ~1 z# a" p1 @1 f* U[root@controller placement]# ll3 |# x8 R/ g  p. b2 K2 e' r
total 11844. L: C. R# L  s  u( k
-rw-r--r--. 1 root placement 12114495 Feb 25 17:12 placement-api.log' o3 N6 y: c' i6 |
: B9 L& Z. [$ B  D
tail: no files remaining7 C: S  T6 [+ \% D5 a9 q
+ K; i- D, S1 r+ I+ e
% }( D. D# D7 J8 e# Y" e5 F5 P

* h- Q* `& L- F1 T& e. [重启下httpd服务:9 t) R& ?) ?7 h$ [/ g
   
& M1 C6 g6 z! `( B& D4 R) ]0 z) q, F- m[root@controller placement]# tail -f /var/log/placement/placement-api.log
0 ^# u+ j$ v4 Q9 f1 F2 O9 \2 L9 V8 H9 q( k+ m
+ w' S: [4 ~! H- \5 x* i, e
再次检查conductor日志。发现告警变化:
+ m0 V+ x  Z# `( o" c
# S! R9 y2 u5 y+ J, ?
8 l7 a" ?8 e- c$ l) Z2 j( x- v3 I6 N5 d4 u' e8 O
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  O6 ~9 b& o: h0 S5 p9 V
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:1864 O7 ~( W, w- Z- N% d+ ~( f
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  m1 Q( L! m$ U0 T+ ?# i
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service Traceback (most recent call last):
, e9 Y1 r; j$ D! C( {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
( p# y2 ?$ f' G2 P: z1 P5 d2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.channels[channel_id]
; I/ o4 O; q! z5 l( g: S- t* T2025-02-25 17:17:38.959 23976 ERROR oslo_service.service KeyError: None
- L0 z0 I1 x  M$ o* ~2025-02-25 17:17:38.959 23976 ERROR oslo_service.service
, F1 O9 [. F+ {7 y& f# w2025-02-25 17:17:38.959 23976 ERROR oslo_service.service During handling of the above exception, another exception occurred:* }7 f" F) I3 \' E2 b" C
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service
& D& B1 r) i' P2 K1 o1 B4 a2025-02-25 17:17:38.959 23976 ERROR oslo_service.service Traceback (most recent call last):
- d* U: s( z. J& N! P2025-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; k& v, ]* n4 f8 p3 X- v
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     service.start()& @3 }, p0 m) @" B$ |  O
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
4 ~8 N: W% K: o! h) I+ N( Z2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.rpcserver.start()( F: r: _7 F/ ]9 Q2 n! Z
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 wrapper
: q8 {. j! ^( J! L! E2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     states[state].run_once(lambda: fn(self, *args, **kwargs),% m* X4 t5 z! j3 b- B6 D- v/ @
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: Y. M  ]% c& f) q  G8 B6 \
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     post_fn = fn()
+ s& k9 X, J2 ]5 D2025-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>
8 q: Y9 \9 z% I. Q2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     states[state].run_once(lambda: fn(self, *args, **kwargs),2 U4 S" m4 Y- G0 A% V* ?
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: d5 j! s- H- |4 F9 F8 d
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.listener = self._create_listener()' u# U  @6 H4 ?- ^5 w6 i" }) l
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
3 Y7 h4 y0 P! c( k* M5 J/ R' _2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.transport._listen(self._target, 1, None)
4 b" r% R2 c5 O! B0 A( a2025-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 _listen6 s. i9 f# D; O7 h, S
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self._driver.listen(target, batch_size,( S: `- L! g% M+ b: o8 q, f
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
% }& _+ j% N2 X2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     conn = self._get_connection(rpc_common.PURPOSE_LISTEN)
" e! r: {' d. I3 O% N8 d2025-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# e( n  g1 u9 [. P: y$ r" c
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return rpc_common.ConnectionContext(self._connection_pool,
) q4 K2 T$ G8 D, d2025-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& F2 P) I# C% e) k$ w
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.connection = connection_pool.create(purpose)
' O9 U  ~: @# B2 T) q( m/ L- h6 S2025-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 create
* H8 R) Z+ X. F, g, R. \5 n2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.connection_cls(self.conf, self.url, purpose, retry=retry); h" `- ^1 E  V: D' 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__
- Y$ ^: j; ?9 l& v" P2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.ensure_connection()
$ q0 i* f1 i) {9 I( l4 t9 ~: ?0 v2025-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_connection0 I; \7 e0 H7 E0 |8 k: I
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self._set_current_channel(self.connection.channel())5 b) {& v! p0 Z& Q: `
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
  ?( h$ J" t6 v, i  f7 S- Q2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     chan = self.transport.create_channel(self.connection)6 S9 O4 V8 v5 H: i
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
$ ?2 X3 U$ Q0 D; S2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return connection.channel()& A( G  V0 H% O9 [3 a9 u
2025-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
9 g( G/ |# t+ D& j. Y2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     channel.open()4 R# e4 |1 }6 `- |7 n9 p7 K0 z
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+ o7 o6 L1 d: b* i! C0 X. y8 q
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.send_method(
  j* u; w2 N* y6 |/ z! S/ {' 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 79, in send_method
- r' p6 f0 x8 r2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.wait(wait, returns_tuple=returns_tuple)1 `$ T4 C" w  x4 u
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" Q2 G3 Z/ A/ U) @) R" y; l. [
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.connection.drain_events(timeout=timeout)' O% Y& A$ K( M: s& }+ K
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
* n% J9 l0 u9 ~) S. Y2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     while not self.blocking_read(timeout):
. R: V+ c$ g) p# n5 ^. k0 s* F2025-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
; w) [: {) S2 Q: M, e2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     frame = self.transport.read_frame()
( b/ ~+ I; U' u1 Y4 ]+ o0 p# @2025-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' g4 F, U, x2 f2 z5 K
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     frame_header = read(7, True); f: c" t) J" W. ~! c
2025-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
1 J* [; S! O) a0 g2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     raise OSError('Server unexpectedly closed connection')' u5 b1 |' h8 g9 y: Q* i
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service OSError: Server unexpectedly closed connection0 `' f# f0 B% k5 w5 _
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service
# I$ G! y' K' v2025-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
: p6 P- }* O2 J, Z* [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
% t+ s# }2 D3 D2025-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
/ o8 u$ T1 u! h) b  \0 y# M2025-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:5798 m, R: g* Q( G! w" z0 V! @6 [
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% C- q8 H( q; R, r4 ?$ q
2025-02-25 17:17:39.902 22849 INFO oslo_service.service [None req-795f57b5-2f1f-4103-a1eb-509caf8e73a4 - - - - - -] Forking too fast, sleeping
! {  i+ z2 t) L' R0 a7 T& t7 K" U
) g4 q/ U3 ]) ~6 j( h
8 j" ~/ R6 F$ k) n' n
 楼主| 发表于 2025-2-28 10:33:44 | 显示全部楼层
重新审视下nova.conf配置文件:
! r2 K8 f2 C0 N+ p- P
3 @3 `/ ~! J  ]2 v1 i! F* \# P[DEFAULT]
/ @6 p. }8 C* O: t6 E0 T* [debug = True4 j) y) \7 c9 j) z
log_dir = /var/log/kolla/nova
3 B' u/ }) E' bstate_path = /var/lib/nova
& C- `7 ^0 H* g: C! E3 Z! U  Uallow_resize_to_same_host = true/ {7 h! o5 n2 K" N4 m: K5 J
compute_driver = libvirt.LibvirtDriver9 g( H/ S- v' k7 f- ]
my_ip = 172.27.11.389 q. h/ O; \* j4 t% I% A
instance_usage_audit = True- x/ i9 o7 ?( B* [& ?; h
instance_usage_audit_period = hour
7 A  K) `1 N4 O8 O2 P! Q; W9 stransport_url = rabbit://openstack:yvEiq9inxvblL@172.27.11.36:5672,openstack:iq9inxvblL@172.27.11.37:5672,openstack:Eiq9inxvblL@172.27.11.38:5672//6 S4 y/ T/ h4 \  O0 L
resize_confirm_window = 60
$ \3 A! C9 o% E# t/ z# G: b! h/ P5 ?0 z" v# p5 N# l; a
[conductor]
; I0 W$ }% ?9 e% C4 G* i* C. Uworkers = 57 \0 Y1 Z. n/ Z; Z, j( \" T

  t: H  G# u/ @. C7 C' P$ o[vnc]
; d5 b3 n/ {9 f* onovncproxy_host = 172.27.11.38, s" w1 `( L4 {/ L( }* q, Z1 o
novncproxy_port = 60801 |  w3 h0 S/ ~5 L' _( N! V' J
server_listen = 172.27.11.38
' Z* M- |9 e4 M: fserver_proxyclient_address = 172.27.11.385 Q& E+ T# C8 K: ~3 p( k

: n$ i. C7 G* @5 o[oslo_concurrency]
6 S* G2 Z5 G- [3 N) slock_path = /var/lib/nova/tmp( W$ u. L: r7 n9 V# {% r1 n

5 ?1 T/ m7 Q3 N( T# I2 D# F; n[glance]
" y: }% B) Z# K/ O( N* Kdebug = True% P8 i5 l  k' P/ Z
api_servers = http://172.27.11.88:92922 w, L  I) X1 T( ^' M( w0 G. w
cafile =
+ F% M4 P9 s' Qnum_retries = 3: k' `7 K4 l+ \2 d
% X+ |6 Y6 F: L: N; H# k! S+ z; S
[cinder]
9 C' m& n; K1 h" f+ C+ g3 ycatalog_info = volumev3:cinderv3:internalURL) e  l: p$ y6 h6 [, H: R: c9 C" }9 i
os_region_name = RegionOne  o8 F$ P+ H) X% s% I7 H. Z
auth_url = http://172.27.11.88:50006 j% V. @5 Y# T3 S) Z1 H7 n
auth_type = password
+ Z' X" M! ]$ S. t  Gproject_domain_name = Default
% g+ s& \+ a3 F/ b# huser_domain_id = default, a. T2 f+ r9 z6 W, K0 T* F' Y
project_name = service
* y3 Z% q+ e; ~! @username = cinder
* `. s! h; H/ G# A2 P8 |password = Kc2XVRBveUwBSmr* y5 g8 s( K- U) P* b
cafile =
; m+ G: H8 P. Z( A- ^# W7 Z1 o& `* N6 X& L, F7 V4 p+ ^
[neutron]7 C4 b0 s4 {& k8 f: N- R) g8 ^
metadata_proxy_shared_secret = COScZnT5e7BZJU
- V; ~+ `4 |9 @" Uservice_metadata_proxy = true
/ Y; A" I! W  A0 Z$ h; b3 D+ Aauth_url = http://172.27.11.88:5000
1 j/ _0 k/ |: w, V! N6 C  E. N' X. {+ nauth_type = password
9 u! B! @8 d9 G3 s- F2 Gcafile =
" Q! J0 z& @/ p% f+ z- gproject_domain_name = Default
8 w: F4 o4 r) H3 f9 C5 {+ fuser_domain_id = default% P- J5 `8 \  G9 A* ^7 S/ x' |
project_name = service' }7 l; T. V/ e4 y" ^, H2 ]
username = neutron! I# O. S$ F- y( x' ~; _! ?
password = 2M4JUch6jYMJ5 v2 w. {+ r* T2 ~/ L, i& l
region_name = RegionOne
# m) D, P9 k. p8 Yvalid_interfaces = internal
3 F6 @4 [3 E( T* z& o
- Z2 c7 F" S8 U[database]- G: l3 H% R  O% e
connection = mysql+pymysql://nova:UCA6ltitkU@172.27.11.88:3306/nova
3 I5 u8 S4 N6 N6 L7 e- g6 Vconnection_recycle_time = 10. O' j6 V; ], ?* ^6 y* K: O
max_overflow = 1000; F0 s: F. A: S9 b/ v! ~
max_pool_size = 1
. T# ?0 n+ \/ Umax_retries = -1
, C3 {3 C1 g9 q0 e  z" f% k! u# h0 v3 [9 i- W5 Q9 O  q
[api_database]" X4 H9 V) S; Q' `, Y/ G) T& x/ F
connection = mysql+pymysql://nova_api:9ATuRhyEr@172.27.11.88:3306/nova_api
  t5 z8 i3 p$ Z0 cconnection_recycle_time = 10
% j) l. X& w& k- }max_pool_size = 1
" G# u8 t! O$ y9 i* r' ~6 e/ S& X5 h2 b+ Amax_retries = -1
" \. ]5 d$ i! f* a$ P, [( Z( p( Q) i9 A: n; d# G
[upgrade_levels]
- _4 E! {6 L; L5 l9 T, w6 K3 ]8 J, Scompute = auto1 V8 f1 y: \& j; U; n
1 s- u. O2 l% B% V1 M
##主要是这个地方
) p- M* ?$ x2 }' M) n1 f: R[oslo_messaging_notifications]0 G6 N+ X5 P  ^- Y+ D. x  p
transport_url = rabbit://openstack:q9inxvblL@172.27.11.36:5672,openstack:DWM1ayvEiq9inxvblL@172.27.51.37:5672,openstack:vEiq9inxvblL@172.27.11.38:5672//
8 x6 v* Y1 @) I; q/ P. ndriver = messagingv2: Z: _) t" O6 m3 _3 B
topics = notifications
. q; {! t8 e3 _
3 R) v+ G9 I0 f[oslo_messaging_rabbit]' L! Y) u/ W! K) ]  O- x, j+ g
heartbeat_in_pthread = false% ?6 D  D" l; |$ d2 v& F/ ^4 k
rabbit_quorum_queue = true
4 ~0 |4 ]2 F0 c( u5 l, f
2 A0 @" m0 s" U; |  l[privsep_entrypoint]
# ~! r5 w' n" _) U" I& @# Chelper_command = sudo nova-rootwrap /etc/nova/rootwrap.conf privsep-helper --config-file /etc/nova/nova.conf* l' m- i, M, P  c0 F# G

7 Q4 Q/ u. _& M6 P[guestfs]
  t1 B6 Y. F8 R8 s: A" W' adebug = True
* H  J* m% N' j) j
4 `) g( O% D! `7 [- \[scheduler]
& ~+ a# J/ K+ m# ^max_attempts = 10: h  ?0 |6 C9 T, c

1 }* ]/ M% Q  j' d% z[placement]9 P, f- F# T0 {9 W( _5 J
auth_type = password
9 h+ n( G' @- ~2 H( a, V# ]1 N. Xauth_url = http://172.27.11.88:5000) l/ U0 p. a4 c( N8 x/ h
username = placement
2 D: D9 g  U& \- \4 O. qpassword = NjPdQcmImG2 s2 ^+ O8 s* a( r
user_domain_name = Default
8 w2 z5 t2 y$ L8 Q# oproject_name = service, A  H4 G" x7 D! v( g$ y4 @, t" _
project_domain_name = Default
: w9 ^7 O1 o) ?" [) Z0 Nregion_name = RegionOne* J5 U6 d% Z% S) W
cafile =
& `# y' g( s! pvalid_interfaces = internal
" p% o7 ~3 m0 C; h( y! m9 Z1 X/ C( d# K; s+ h  v
[notifications]
7 p' P4 U2 Q5 q/ l1 E0 i5 ^notify_on_state_change = vm_and_task_state
4 I( m  B* i' ?' p. d5 y) x  _8 f! R( C0 i( R; U1 _# V
[service_user]
4 \$ I* T& z# [; k! C+ Osend_service_user_token = true
: H1 W+ v3 v0 c2 V, W. y+ }auth_url = http://172.27.11.88:5000
( s& H, w& n8 }% k$ g" ?! gauth_type = password9 e# X' @0 P3 _/ J2 }
project_domain_id = default
. q& F% w' Z- |. c& o2 }user_domain_id = default
" n2 c- H' p/ i/ e/ P# `0 tproject_name = service5 N1 X7 Q9 J$ m5 Z  `7 \4 `+ [' R+ _( O
username = nova: ^" h1 _' W2 E) ~* \/ ?6 Y& F% g
password = 3kt5fJe4rRZv0
% c4 }/ c4 r4 d: J$ r$ v; B; b, Acafile =9 Y3 c$ |4 L! z! m
region_name = RegionOne
1 Y9 x) S7 P2 j/ X  bvalid_interfaces = internal* w1 B4 e# m  H  v  ]) ^3 H; X

( p1 ^5 i; c* N+ @+ s* K[libvirt]
; F4 s8 `* L% `- t, c, ^inject_password = true# a1 F' o% D9 [7 R7 K  _
' O" c) b: r: L# B4 W' g* V5 h
[quota]
! Y5 `0 V1 H6 {instances = -1
( O; d4 R# e2 V1 Pcores = -1" N3 U; Q- D: T, B. V6 v
ram = -1+ |0 S8 {% x" c% k
injected_files = 322 q; c0 Y$ D6 y
server_groups = 128
5 ~3 ^. `& Q6 g5 Oserver_group_members = 128$ P9 |2 z& t9 \9 P& ~" f

5 r- X0 f! W0 i) i, ~: i
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

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

GMT+8, 2026-4-10 16:25 , Processed in 0.045429 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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