找回密码
 注册
查看: 23|回复: 2

nova的conductor启动失败 问题处理

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2025-2-25 17:00:50 | 显示全部楼层 |阅读模式
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.0 _9 D: c4 i& e  s% O9 c6 X- Z) l* n
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.
4 Q- w" c8 M) Q; A2025-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.
* ~# P, n! {. r, H' t! e2025-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.$ B% B. I, T- f& A" s
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.
* I$ H* d' j0 V: G; G( m2025-02-25 16:53:48.549 20787 ERROR nova Traceback (most recent call last):
0 `" S- J# S- `* U+ \2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/bin/nova-conductor", line 8, in <module>
5 p8 M: l; Q) U2025-02-25 16:53:48.549 20787 ERROR nova     sys.exit(main())5 {  p( B+ o# j
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
) Y' L* m4 o: f) `2025-02-25 16:53:48.549 20787 ERROR nova     server = service.Service.create(binary='nova-conductor',
1 y" |% u6 i9 k/ ]# L1 {4 Q, h2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 256, in create# u3 m2 h$ x2 J& m/ S
2025-02-25 16:53:48.549 20787 ERROR nova     service_obj = cls(host, binary, topic, manager,) t2 ^+ R, {" |! z0 e! W: z
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 120, in __init__/ x# O4 _4 S% D, o+ W
2025-02-25 16:53:48.549 20787 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)4 W1 Y/ o; {. A9 @% D
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__" w. j7 d1 v# J( F- L
2025-02-25 16:53:48.549 20787 ERROR nova     self.compute_task_mgr = ComputeTaskManager()2 v& T, C/ T7 _; [. p, `
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__3 s! k# }" H0 g
2025-02-25 16:53:48.549 20787 ERROR nova     self.report_client- e3 L2 y' S& e2 ]' [
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% `, h8 v( @$ a4 T: d# i& P  d
2025-02-25 16:53:48.549 20787 ERROR nova     return report.report_client_singleton()
9 R9 `. M$ l7 P: t! q2025-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! z6 z! C/ m+ S/ E: K4 ~" e
2025-02-25 16:53:48.549 20787 ERROR nova     PLACEMENTCLIENT = SchedulerReportClient()4 x  K, l. Q: I, p9 j5 A
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__1 {- Y& {* k, K% O- B
2025-02-25 16:53:48.549 20787 ERROR nova     self._client = self._create_client()
+ u$ c/ Z9 A3 w" ~, J' o2025-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. O4 }9 F$ Z; I3 e: L' D
2025-02-25 16:53:48.549 20787 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')6 E. m% I3 v/ J1 V
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 j" f  d/ Z* U2025-02-25 16:53:48.549 20787 ERROR nova     return getattr(conn, service_type)
/ g7 D' M6 ^# j6 C( s( `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 l% }0 Q3 }5 V2 c' P& @- a2025-02-25 16:53:48.549 20787 ERROR nova     proxy = self._make_proxy(instance)
0 m) _8 a, M$ T) S$ t2025-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( t) `8 O' o; z9 H
2025-02-25 16:53:48.549 20787 ERROR nova     raise exceptions.NotSupported(: d( f6 h9 W+ R5 `* s
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.! r+ X! D7 L# {+ h. u
2025-02-25 16:53:48.549 20787 ERROR nova
  h' P5 ^+ \) v6 J! p% m$ ?' w2025-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.
% a' @! a$ d1 p; \. H2025-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.) C' l7 Z7 P1 M
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.! F9 J: d& X! S7 P% u, l
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.
; w) L5 a/ q! {2 V" d; d7 _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.9 D8 X3 N  b' [3 H  L
2025-02-25 16:53:51.995 20790 ERROR nova Traceback (most recent call last):
# _, R/ I* W# v2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/bin/nova-conductor", line 8, in <module>
6 }- u: ?7 o2 u- B6 B! t2025-02-25 16:53:51.995 20790 ERROR nova     sys.exit(main()). Y! ?/ L7 v; B+ Q4 X
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- V7 d$ e9 A7 t5 ^. `8 A
2025-02-25 16:53:51.995 20790 ERROR nova     server = service.Service.create(binary='nova-conductor',
+ k2 @/ y% d5 x, W# U* t  d+ F$ n2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 256, in create
) n6 C% e; R' x2025-02-25 16:53:51.995 20790 ERROR nova     service_obj = cls(host, binary, topic, manager,. M2 Z% P6 k' y2 E* N+ ^" H
2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 120, in __init__' C2 b9 i6 \$ G, |
2025-02-25 16:53:51.995 20790 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)* O7 @- D$ v& b, `, e  B' C3 l2 f
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__
- L# r. ~+ G( h2 A, d& t3 y1 a2025-02-25 16:53:51.995 20790 ERROR nova     self.compute_task_mgr = ComputeTaskManager()# z- s9 r' ~5 J3 _7 u" |$ }3 Y
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__, Q' T, b- R' E" J
2025-02-25 16:53:51.995 20790 ERROR nova     self.report_client
3 z0 K& {! `9 ?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
" C9 E8 e5 U2 Q6 K' ^8 j2025-02-25 16:53:51.995 20790 ERROR nova     return report.report_client_singleton()3 P: t! d8 [( `$ f4 r3 D( c# f1 s
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_singleton6 _! X1 U) X; d4 {3 ~
2025-02-25 16:53:51.995 20790 ERROR nova     PLACEMENTCLIENT = SchedulerReportClient()* X3 H# D) E3 a8 c
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__, i: D/ p9 z. P8 p% O3 Q3 u
2025-02-25 16:53:51.995 20790 ERROR nova     self._client = self._create_client()- ^3 a! G9 Y5 C
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
: w$ i5 b. e3 l$ J7 @' c9 \& i2025-02-25 16:53:51.995 20790 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
6 ]5 e0 M2 {. B! c3 u' _: |' s2025-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
2 a  K% W( U% {2025-02-25 16:53:51.995 20790 ERROR nova     return getattr(conn, service_type)% X/ M$ R$ o" J- t
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__2 l) X/ }( [4 a+ q- b" @& [( U
2025-02-25 16:53:51.995 20790 ERROR nova     proxy = self._make_proxy(instance)9 r, X* G: U3 T4 M+ @
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_proxy6 R- l! p' g* [" @) [0 W( b' P7 F
2025-02-25 16:53:51.995 20790 ERROR nova     raise exceptions.NotSupported(
6 {" ]/ h- U  @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.3 }8 q; w6 K! M. F4 y* G+ O6 A* ~
2025-02-25 16:53:51.995 20790 ERROR nova
3 `/ J$ [) i* o  N% C
) m# b, M5 Z& s
6 v9 \2 q/ w- p$ c8 `8 v! R" c
! w3 s4 J4 c8 H( S一看失败了;( O. m* _' X5 c/ r1 |- e

6 \4 N3 Q/ t1 }5 X( `6 R* ]' u3 T( x5 l. q1 w6 d7 O
[root@controller ~]# curl http://controller:8778( c5 h& h* Q8 f8 u& Q
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">( Y# Q/ \* o$ W4 Y$ H
<html><head>
+ l  C1 f, M7 d5 m/ N<title>500 Internal Server Error</title>0 z6 v* c: u9 M" E, o
</head><body>; J0 [# Z7 n- X& S) A, B
<h1>Internal Server Error</h1>" _3 W1 t, @$ e  t8 B- B, {2 H
<p>The server encountered an internal error or
+ x- Z+ g! D, H; l$ F* ~misconfiguration and was unable to complete; n+ e: h- ]! _$ r( v; B2 p8 p
your request.</p>% C, f- t" w* p
<p>Please contact the server administrator at
' w2 l% U7 o/ c. X/ J$ V- e root@localhost to inform them of the time this error occurred,
- B  j; v# L# Q9 `; j and the actions you performed just before this error.</p>
  }6 l( Z9 W% }4 s<p>More information about this error may be available
6 h0 ~1 A* J- a5 p' W0 n& Bin the server error log.</p>' e" L$ ?$ E2 X4 l, K1 q
</body></html>
# B+ F5 v$ l% s3 g' T; T; }% w  O5 X/ |, v! ], n$ M
5 Y  S/ i7 E# r, U/ d0 B0 R& n
- k. n' t; n8 P0 W4 ~2 S3 M. j
端口也通7 S9 i6 z: m7 Q- k2 ?4 e
+ _/ N; A$ @6 e8 p$ E7 M. J: I
[root@controller ~]# telnet controller 8778
0 c5 Q1 ]* t! ?# i. H$ q) q8 jTrying 192.168.8.196...0 `, F2 L: k# ~; ]( m
Connected to controller.& M3 B% |3 ]! p  F
Escape character is '^]'.; w/ q' i% Q0 x3 W! V" q

" m/ G6 F5 P2 d0 D6 }" {) y
! ~6 W0 Y& t0 @4 m7 E0 T: f4 E% R9 f4 o

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-2-25 17:22:17 | 显示全部楼层
发现placement 有报错,检查日志发现
' N$ K6 I( N" u$ Z
2 n2 G, O2 ^: U+ ]8 S[root@controller ~]# tail -f /var/log/placement/placement-api.log
* R* h, u+ e! k  _( w# {    _setup_logging_from_conf(conf, product_name, version)1 ?& e! ^, A: ]# ^+ T
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf: I. x) w- H+ h/ \
    filelog = file_handler(logpath)# O& C6 w  q* e& _
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__- y& f6 f' v; v" W* |; M
    logging.FileHandler.__init__(self, filename, mode=mode,9 A& a- i; W" H4 i. L  \
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__) n8 e  \- M* l/ O+ a
    StreamHandler.__init__(self, self._open())5 w, o, ?# ?' R% Q- `3 |" z8 T
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
  G& t) M9 z+ c    return open(self.baseFilename, self.mode, encoding=self.encoding,- r! w! U. d: s8 i: K: Y2 g
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
2 t) {1 u3 N3 X8 _2 G6 g1 \mod_wsgi (pid=13891): Failed to exec Python script file '/usr/bin/placement-api'.
/ Q3 ?  F, W7 c8 `mod_wsgi (pid=13891): Exception occurred processing WSGI script '/usr/bin/placement-api'.& O9 `% S, d+ `0 H
Traceback (most recent call last):
' k# w  @. s% z3 p3 j7 u# }  File "/usr/bin/placement-api", line 52, in <module>
) L2 y% L& r* z+ O) N$ z' j    application = init_application()$ V% i$ C9 B- U* u
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application5 P* x; `! P8 o3 o, Z8 W/ n/ o
    setup_logging(config); @3 P5 o# `( W% m1 ?
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
! C1 [  e2 E; [7 F; Y8 k( u/ ^# _    logging.setup(config, 'placement')
6 e. `" G6 o) N9 d7 H0 Y  q6 @  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
- R2 R; X- c( s) B3 y7 X    _setup_logging_from_conf(conf, product_name, version)
, t" L5 u( E: R" g& U  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
) H+ F4 _& [' [5 V$ N9 z    filelog = file_handler(logpath)
  Q! ?. E: z4 N9 o" Q. i0 v  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
$ E  G: o" {! G1 G1 x    logging.FileHandler.__init__(self, filename, mode=mode,
% X+ h% G  \9 ]* L! O( V- F  O% _  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
" s! p' g- z8 s  m    StreamHandler.__init__(self, self._open())5 [+ G1 G1 p9 J+ |8 _4 U6 l5 \
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open' ~8 X' x6 }  q/ o% E
    return open(self.baseFilename, self.mode, encoding=self.encoding,
  I1 q/ N' \+ D+ @( T/ JPermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'4 M4 @: @" W) A: y/ k- A
mod_wsgi (pid=13892): Failed to exec Python script file '/usr/bin/placement-api'.
0 \5 C. A0 R1 ?  I' E5 Emod_wsgi (pid=13892): Exception occurred processing WSGI script '/usr/bin/placement-api'.
4 S1 T# i6 g6 ^Traceback (most recent call last):; A. ]$ S6 m9 H
  File "/usr/bin/placement-api", line 52, in <module>
0 L5 ^( S$ [1 [* e    application = init_application()
" a* V7 o. Y$ V7 {$ L  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
  ?6 i: K! L; j' x. N6 G( D9 _2 D    setup_logging(config)
" @' @3 S! W6 {  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
) e6 o6 G, G! b% a9 J6 W    logging.setup(config, 'placement')
" J9 g& b  H9 O( h6 f  H  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup9 g$ q9 K; }- W) `/ X4 h9 ]1 b& G9 Q% [4 Y
    _setup_logging_from_conf(conf, product_name, version)
$ A: t. H1 v8 }6 e  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
0 N) E: J  w* u3 U7 l    filelog = file_handler(logpath)
7 c. Q5 x2 a5 w" q2 h% Z  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
. P7 c& }' b8 _+ R& _    logging.FileHandler.__init__(self, filename, mode=mode,
5 W% a3 G4 ]; n  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__5 _3 k* X8 l4 r+ Z  p" h
    StreamHandler.__init__(self, self._open())
" J7 s& |! _4 m/ g, p' m# _  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
8 r) l0 x- N/ G- t/ b4 J    return open(self.baseFilename, self.mode, encoding=self.encoding,7 [+ t! a. H2 ~4 A7 x
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'  {- j4 X% ?( n
4 q0 m! \4 Y- k4 I  _* A  n4 K5 A
1 S# @2 {+ [4 Q0 {8 [2 x+ ~
mod_wsgi (pid=13893): Failed to exec Python script file '/usr/bin/placement-api'.
4 z* m( V8 K% K! _2 ]mod_wsgi (pid=13893): Exception occurred processing WSGI script '/usr/bin/placement-api'.
. W) `" S- d3 h* `/ V" B/ a" D" YTraceback (most recent call last):
" |2 Z0 s2 H2 z" }) ~  File "/usr/bin/placement-api", line 52, in <module>
0 [# I% q1 i5 _    application = init_application()
5 Q1 I1 G7 l5 E4 F7 P* W# d- z  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
7 _* ]2 E! m0 ^" a! M% ], S. `9 J    setup_logging(config)
4 a0 u7 x) m) M4 `" {( K! j! R  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
/ w" i, Q" I- l5 L% s' u1 p4 C    logging.setup(config, 'placement')
2 d1 s- R$ {: Y& R4 d% A7 g3 r  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup7 M, c. Q7 h8 g+ q
    _setup_logging_from_conf(conf, product_name, version)& G- P2 [0 N  O/ X6 s
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
; L1 c4 G  K1 t8 X  i& [    filelog = file_handler(logpath)5 h3 h) J+ v0 x' ?
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__; {' J3 h& G% f7 l/ Q9 b
    logging.FileHandler.__init__(self, filename, mode=mode,! |9 p' h; l+ ^6 W5 {
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__8 x- B8 E1 L; b% n3 w& f2 u
    StreamHandler.__init__(self, self._open())
8 ?7 c0 t5 h/ p% Q+ S2 l& ?  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
6 r3 x+ ]0 Y0 o0 X# O7 ]    return open(self.baseFilename, self.mode, encoding=self.encoding,  A. t+ [' i8 n3 R
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
% s' m5 z+ ^7 J4 `3 dmod_wsgi (pid=13891): Failed to exec Python script file '/usr/bin/placement-api'.% R3 I& \/ D- h' q
mod_wsgi (pid=13891): Exception occurred processing WSGI script '/usr/bin/placement-api'.
, K9 U% H0 U5 a0 r5 JTraceback (most recent call last):1 s; T$ z. i% }! ?) j
  File "/usr/bin/placement-api", line 52, in <module>
, l% m4 h- C( C/ R" c% M* p: h    application = init_application()
+ z& h3 q/ t, E  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
9 R  z8 O2 A8 H    setup_logging(config)8 x& `  C& b+ p+ k: Z; g* H; {
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging( ]# ]: b' k9 U7 |4 Y$ M, K
    logging.setup(config, 'placement')
# x. }3 }9 c4 t/ U5 O1 V8 y& a  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
! f* F, L. O  n1 u5 c; x    _setup_logging_from_conf(conf, product_name, version)' B$ T3 U; `: Y' c
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
9 @2 N3 I2 Y2 V9 i2 L0 Q+ ^    filelog = file_handler(logpath)* K" v/ b" @$ d# Q
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
$ R# b6 h% }) c+ B    logging.FileHandler.__init__(self, filename, mode=mode,6 R* i/ l  k. j& E3 p* D4 w
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__" O' Q( W9 @# R; g, t
    StreamHandler.__init__(self, self._open())2 D6 G5 A. ?  n; J" F' X& I8 h
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open$ H/ r4 a3 [( O4 n1 o! i, U, P- l
    return open(self.baseFilename, self.mode, encoding=self.encoding,
' h2 c  r- |3 M) j- LPermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
! t; a9 D7 g$ e: Qmod_wsgi (pid=13892): Failed to exec Python script file '/usr/bin/placement-api'.* d% w# v% b# f/ Q
mod_wsgi (pid=13892): Exception occurred processing WSGI script '/usr/bin/placement-api'.6 }  @4 @8 \1 C4 k0 q5 ~
Traceback (most recent call last):
" K  J4 X: _4 @- A5 f: \  File "/usr/bin/placement-api", line 52, in <module>
2 `: P- Q9 M" E3 l. k! j    application = init_application()7 D5 w  i0 `3 D
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
/ A" w/ z8 x% L& I+ H, y. f    setup_logging(config)4 ~* ]) `! {9 B+ W  x( o( V
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
" i  X3 G8 E( B) q0 o" ~    logging.setup(config, 'placement')
0 ?6 N3 c4 u/ l- }  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup$ ?4 b* r; v! {* O6 A, j! r/ g
    _setup_logging_from_conf(conf, product_name, version)
; O& l" \% A4 C% Z+ |( n3 s* ~  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
; V# G: x7 Y' W* z- H/ [7 d    filelog = file_handler(logpath)
) |7 Q; p" \# l  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
8 g; Y) N0 T/ L0 U9 Z# T6 ?  d    logging.FileHandler.__init__(self, filename, mode=mode,
% S- F6 ~5 C- z- I7 Q  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
7 z2 K: Y( b1 ?, @' d- {    StreamHandler.__init__(self, self._open()), U9 r6 C+ J! M0 C
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
& V4 b0 l, e: P    return open(self.baseFilename, self.mode, encoding=self.encoding,, Y" J' r! ]% z" R9 E. Q
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'! N7 c* u+ F) k5 m; T
mod_wsgi (pid=13893): Failed to exec Python script file '/usr/bin/placement-api'.
7 B4 \0 o# T* K$ V$ p  c  Mmod_wsgi (pid=13893): Exception occurred processing WSGI script '/usr/bin/placement-api'.
% a6 |+ |: {, ~4 z- }# r* gTraceback (most recent call last):
: S/ \9 h2 ?, S, e  File "/usr/bin/placement-api", line 52, in <module>
+ H( g8 R+ ^1 {. X" T( z$ W    application = init_application()6 L. P6 p2 }8 [% Q! D
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
/ S8 I% ^* t' D  @    setup_logging(config)2 X/ Z4 l- _, y6 q$ \
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging$ i4 I3 Y: _- ~: L! e* G
    logging.setup(config, 'placement')
& {0 T$ K( E4 E+ \; `! E3 ~  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
) W. ^6 l% ^; u" X. s; V5 V    _setup_logging_from_conf(conf, product_name, version)
0 W& r1 R  d$ z2 ~  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
6 u! w( s( i: R( h0 a" Z  i    filelog = file_handler(logpath)
% A3 r1 O0 H+ g# s3 @( }  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__6 F( V. o) {7 M# s0 g
    logging.FileHandler.__init__(self, filename, mode=mode,  e) M4 r3 D! `- Y8 _
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__3 {% }2 @$ W& M8 i% c% J
    StreamHandler.__init__(self, self._open())1 ^+ F9 X) H5 E% k& l6 m5 J" ?
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open2 M1 S- A! U8 u: T* V) m3 _
    return open(self.baseFilename, self.mode, encoding=self.encoding,/ ?4 v* ?" p: H" h1 u3 i5 K% b
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'; P5 I: x, S; Q8 N" g  ~
^C2 q& U: A6 M+ f  m/ X
[: b8 }8 b/ C3 h4 G4 d
$ K+ E/ r" @+ X. |
[root@controller ~]# cd /var/log/placement/7 f  D3 Z. j% }1 o
[root@controller placement]# ls9 b, P) I" G# `9 k4 V4 @
placement-api.log
6 S2 ]1 K' o! ~  p2 ^[root@controller placement]# ll
1 j& N0 k# n; |' s( `) r; Wtotal 118441 D; z& O5 \4 S1 J! T
-rw-r--r--. 1 root root 11889861 Feb 25 17:10 placement-api.log* o  d& f6 `0 U' Y1 G
+ ^9 Q  I2 R' A
' k& F4 p% P; H6 A8 O" u
total 11844
% A) |  C3 k' F  B( C-rw-r--r--. 1 root root 12075765 Feb 25 17:12 placement-api.log
6 `1 \( O. j* o% p; j& K$ Q0 f1 X
& T& g: m2 q4 c" Z权限不对,修改下权限:& C4 k3 W: i8 j7 x2 O/ f. z, h

' k  P, Z  E, n1 z[root@controller placement]# chgrp placement placement-api.log 1 V& B8 C: g& E+ r
[root@controller placement]# ll) Q) {9 N6 p+ j: U) X
total 118445 r0 G$ `9 Z% U& ~6 }5 V
-rw-r--r--. 1 root placement 12114495 Feb 25 17:12 placement-api.log
1 q7 B- i6 Z" K& ^) ^2 j: ~. r; N8 L& `( x& m1 s
tail: no files remaining
, u& N0 F, b; s0 ^1 K/ W0 S) B
1 s/ n5 A2 I% i. p: R$ x
0 d/ _4 x8 H3 V5 C% m) {$ q: }" G3 D1 u
重启下httpd服务:
4 S5 M" P' J8 [   
: n' i/ J1 M5 w/ h[root@controller placement]# tail -f /var/log/placement/placement-api.log
: p4 I5 ]9 c9 R1 U+ F
( l: ?3 n( K- ~3 [" F* Y: u6 v* P8 ^: e% V, N$ b0 X
再次检查conductor日志。发现告警变化:3 e, E- [! N+ K
. a/ a: m" ]# Q( j3 n2 g
* F" Q! u$ Z* k4 a, W
& T8 }5 p  ]" y
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
6 X$ m0 j7 b# u) n; W4 Z5 p2025-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. K4 X% j9 O: T$ M! E
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
& P5 O. \( U: s: r- W' A" S2025-02-25 17:17:38.959 23976 ERROR oslo_service.service Traceback (most recent call last):
& ?$ g  F! ^5 d2 X2025-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
. o- Y5 f4 I- s& _" N( X( d/ ?2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.channels[channel_id]
+ A4 Y! ?( w0 g0 Z$ `* e2025-02-25 17:17:38.959 23976 ERROR oslo_service.service KeyError: None" f* Q- P8 [  [% @8 n+ Q
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service & i7 L! W) t: q/ e0 O& T
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service During handling of the above exception, another exception occurred:
6 T: a8 X6 J0 [; \) P: Y! L2025-02-25 17:17:38.959 23976 ERROR oslo_service.service 1 m9 ]- N1 ]" d  o
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service Traceback (most recent call last):8 I! m. O2 S$ W
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
2 x# e% n) y7 U2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     service.start()* p5 N% s# ?/ X& H# M# I2 Z
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
: S) x; l& U7 y! h8 t) H2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.rpcserver.start()
8 y# R$ ^2 M: T/ [5 w+ p' 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& N9 z: x6 N- u0 }$ W5 Z/ D
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     states[state].run_once(lambda: fn(self, *args, **kwargs),: d* Y( I/ F& 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 188, in run_once4 `/ O8 ~" d; R0 r
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     post_fn = fn()
. U! @- c$ s( Y, R, `4 n, x2025-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>- L. H0 l% }( T( N5 H1 r6 W, [( m, [" {
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     states[state].run_once(lambda: fn(self, *args, **kwargs),: J% x: }! R# M
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
8 G+ g) _1 ~' \2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.listener = self._create_listener()
8 S5 [$ }& [1 }" o2025-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_listener4 i# E! R4 L6 @/ o
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.transport._listen(self._target, 1, None)( u* e+ e7 q; Z0 ~0 |  X
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
/ \8 L) I1 J' D: U$ p# U2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self._driver.listen(target, batch_size,
+ x, [$ @$ B: V; P4 g* I) t2025-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# [; t+ U5 Y% |( h* B" \$ @
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     conn = self._get_connection(rpc_common.PURPOSE_LISTEN)
1 F4 L6 D  B/ \6 Z2025-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
: _5 Z! @7 R# n% v4 O  k2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return rpc_common.ConnectionContext(self._connection_pool,
4 C+ A( q6 \* p/ ]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__9 k9 q& x* L  s7 `$ P* n) w
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.connection = connection_pool.create(purpose)
8 A( u) f/ v+ ]# L8 K- `- o( |+ J2025-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/ s+ [7 J+ j+ O7 |
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.connection_cls(self.conf, self.url, purpose, retry=retry)) x& S" w( m- R* p3 u
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__' {: e  S8 F/ I$ c: @9 H
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.ensure_connection()7 j4 y4 C. [! `4 F, v" X5 E" W
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" j, Q& }$ x7 x8 P: W9 E
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self._set_current_channel(self.connection.channel())
) u% k7 M- a6 J4 p2025-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( L# n0 N. T0 a8 {. {1 ~
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     chan = self.transport.create_channel(self.connection)# v6 {+ ?5 j: X7 {0 d: 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, C0 \! ]& W* M. z( P! j4 E
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return connection.channel()& h! G5 L# M% g, 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
# A' \  c- D  }- |2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     channel.open()2 {1 |( t/ `) w: E% G! _
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  X! o2 Y6 l, w- {
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.send_method(, b/ M; ~3 l. v3 q: j
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
4 b, T( w& c- g; e! m2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.wait(wait, returns_tuple=returns_tuple)( l* X& D; {7 q) E. F
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
0 ^2 I: X: X! J5 t% @, E2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.connection.drain_events(timeout=timeout)
' a0 F; c$ S+ z0 a% Y2 I2025-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
- @% H8 u3 w7 o$ }) D% C2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     while not self.blocking_read(timeout):
1 s. ]- p3 t4 F$ \- ?2025-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! v  Y' R) K$ C# |5 `+ _
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     frame = self.transport.read_frame()' @: u/ p7 k7 B1 H- \5 ?. E
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( m# F, x7 z5 {
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     frame_header = read(7, True)
9 e2 d  @* p% e2025-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
' I* i0 t) v* w2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     raise OSError('Server unexpectedly closed connection')0 p5 O, F& {5 k/ F- Y0 ^0 g5 }/ R, E& P
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service OSError: Server unexpectedly closed connection
6 u- {% s4 c- @5 f( X2025-02-25 17:17:38.959 23976 ERROR oslo_service.service ( u3 `6 _+ ~2 i, n$ _, B% Q! Q5 f7 V
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
) e, u9 n+ A: ^" ]: s; k5 U2025-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
+ r* q4 T0 \" D% F2025-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; }: ~- @0 I. G& u. \
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. o% }6 s$ ~  i- ]' t
2025-02-25 17:17:39.901 22849 INFO oslo_service.service [None req-795f57b5-2f1f-4103-a1eb-509caf8e73a4 - - - - - -] Child 23972 exited with status 11 e: k7 z: M# o* R2 Z% i8 E
2025-02-25 17:17:39.902 22849 INFO oslo_service.service [None req-795f57b5-2f1f-4103-a1eb-509caf8e73a4 - - - - - -] Forking too fast, sleeping
+ a2 T7 r" {8 R4 I) ]' P+ Z- A; ]4 m& Y
( M2 f! w1 U+ u

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-2-28 10:33:44 | 显示全部楼层
重新审视下nova.conf配置文件:
0 t" e" P( X, V+ q7 D7 L5 S/ E5 U% q
[DEFAULT]
! Z0 o7 i- ?+ w1 C7 W7 C+ L8 o2 _debug = True
8 k' K! c1 Y' A) D9 plog_dir = /var/log/kolla/nova  Q' V9 J4 a" q+ Z
state_path = /var/lib/nova' o! K/ U# r0 }% T
allow_resize_to_same_host = true+ i5 _; i. C- {. A2 }9 g" W: B0 h
compute_driver = libvirt.LibvirtDriver
% I$ N. Z7 T9 T$ hmy_ip = 172.27.11.386 W" t" |8 A: L  @( v" Q* C# N* D
instance_usage_audit = True
7 X7 b' T; }2 F  O: z& R; ]instance_usage_audit_period = hour& _8 n" {8 ?4 I. d3 U
transport_url = rabbit://openstack:yvEiq9inxvblL@172.27.11.36:5672,openstack:iq9inxvblL@172.27.11.37:5672,openstack:Eiq9inxvblL@172.27.11.38:5672//4 c% x2 J# o, W" U& @7 ]- e! m
resize_confirm_window = 60( z. {" D1 y$ S7 B
  t5 X/ i  w) ~
[conductor]
# `: K5 ]& L0 C! s+ v& r$ A9 A3 ^& `workers = 5
7 w" h6 F% l& C4 \. J! V5 [0 R/ I$ X1 g/ ?! p
[vnc]
# L7 V8 w4 G' znovncproxy_host = 172.27.11.380 ^1 m6 H/ ?' m; x
novncproxy_port = 6080
; W% l2 p0 R" H* E# }, T. pserver_listen = 172.27.11.38
- B) H8 v4 ^' `server_proxyclient_address = 172.27.11.38
. }3 I. n. l) ?6 [. N% @0 c5 e
/ ]% l! S% \* \[oslo_concurrency]7 @7 o# V7 n0 {, t. L+ \& M2 E2 s
lock_path = /var/lib/nova/tmp
' w( M( D# K$ z$ U% X0 R' |
  [: ?' I. c3 }9 g[glance]
" v8 K1 q( G" P& Y# Z/ B. w' _0 Edebug = True7 e. P  y1 S9 S
api_servers = http://172.27.11.88:9292% \% F+ K" }. D1 A! T; R
cafile =
+ h8 _3 N* ], W' t* @num_retries = 3& \; D( v3 z% k: N2 i

. \5 k$ s8 W: [& I+ Q[cinder]9 v& l7 F. @! u6 n3 \
catalog_info = volumev3:cinderv3:internalURL
. ?4 @: }5 K& W" E0 gos_region_name = RegionOne& X* @$ y1 X/ G/ z2 E
auth_url = http://172.27.11.88:5000
$ f! \8 H0 D1 y- x/ Tauth_type = password
# t( m6 S6 B" X( L* hproject_domain_name = Default2 H* \/ h$ A; D$ T: a
user_domain_id = default" o: Z5 x9 m; T9 G, h2 v5 F: \" X+ Z
project_name = service
7 A) d' N) B/ ]: A; ?* Yusername = cinder
1 I% A( r) v# H( Opassword = Kc2XVRBveUwBSmr
1 o) z6 ~" @1 N. ~" z6 Y. ?cafile =* X. ?: f# \( T. O" x* Z+ H
3 O7 a* v3 x9 u. }- x% `8 r4 y
[neutron]
8 @  u. J" U2 p# N; W% ametadata_proxy_shared_secret = COScZnT5e7BZJU( a4 M- a+ c1 m  P
service_metadata_proxy = true! K& u* Q3 s3 J! k4 a
auth_url = http://172.27.11.88:50009 M0 k: a8 {9 B. r$ Y' B) ?
auth_type = password
( U$ _1 B' c" V, c6 k3 A. jcafile =
% }4 W! n* E0 [" e% Zproject_domain_name = Default/ f- w8 t+ f1 z
user_domain_id = default1 g( ~  X( g0 K( ~0 ]
project_name = service8 y9 ~9 X4 ~6 H+ c4 J, C) z/ C
username = neutron
& B9 A' @0 E' P9 rpassword = 2M4JUch6jYMJ
" K" [7 V$ _  d2 cregion_name = RegionOne
; R+ N7 y; K4 Tvalid_interfaces = internal
; Q5 r. v% t; L3 ?8 }7 J. |0 v. K* D
[database]3 d  q) |  T2 m6 [4 X. d
connection = mysql+pymysql://nova:UCA6ltitkU@172.27.11.88:3306/nova9 J: V1 S. O6 N- L3 \
connection_recycle_time = 10) ]; M. n. [9 F9 [
max_overflow = 1000
- y2 u" |( j" j+ Amax_pool_size = 1
1 \7 ^' ~  |! U- E4 x8 y9 M" Dmax_retries = -1
' g# Z- ?- W/ b* I9 \" n( b" {! O8 i& g  n( N
[api_database]
, P8 @( E- }* ^0 Qconnection = mysql+pymysql://nova_api:9ATuRhyEr@172.27.11.88:3306/nova_api
# a' K+ s5 z; n- B) |, ~% u$ P/ Sconnection_recycle_time = 10
/ ^$ l0 W6 h4 x# ~5 u+ X1 ^: tmax_pool_size = 1
8 ?" T' {6 X. o- t! Bmax_retries = -1
" f" K( d( ]1 z# ^' m$ e! }' m- E7 e7 g1 Q0 F0 e) g) c( ^: g) K
[upgrade_levels]
/ Z5 M7 |+ o6 K% j. h: Mcompute = auto% _9 f* @6 c" }  ?% G$ v/ _6 X

+ D* ~- l7 I! f5 z. Q##主要是这个地方6 r  Q2 I" o$ [, h/ I5 m
[oslo_messaging_notifications]
% i- t8 J# J$ V9 C7 v% R1 P: Xtransport_url = rabbit://openstack:q9inxvblL@172.27.11.36:5672,openstack:DWM1ayvEiq9inxvblL@172.27.51.37:5672,openstack:vEiq9inxvblL@172.27.11.38:5672//& q( S9 ?7 [$ J
driver = messagingv2: \' C: _1 b4 ?2 X2 W' F
topics = notifications# W! N: F: [, `/ N

7 W+ N  f* P0 Y1 S[oslo_messaging_rabbit]+ \# ^5 m9 L% G
heartbeat_in_pthread = false
2 Z% F) x) P9 Y* v" A8 L; J' {% Crabbit_quorum_queue = true
- N" h! s! M" w' p
; K2 \2 ?* O+ w6 }+ A0 m# A[privsep_entrypoint]2 K8 B: T* C9 ]6 l- I+ Y
helper_command = sudo nova-rootwrap /etc/nova/rootwrap.conf privsep-helper --config-file /etc/nova/nova.conf
( u6 U: z; v( G+ y* s5 w: @3 g
' p/ A8 i' I" `6 Y# ]8 U[guestfs]
; y! x. |/ s8 S7 i" ?1 Hdebug = True
2 @: `: H5 J+ k% {, k# M% A& V5 {9 j
[scheduler]
; \' m. O: F0 y! S2 Hmax_attempts = 10  u( E5 e, O8 p0 `: h- Q
, g. n' H4 M7 o6 s
[placement]
8 t, b' ~' K5 [5 d! ~auth_type = password  l/ d$ T  x% g( f; u
auth_url = http://172.27.11.88:5000
# p  ]& L0 H) Cusername = placement
) j' }( V$ H  P7 A7 Ppassword = NjPdQcmImG( i* n( t8 V: @4 k& e6 B$ F
user_domain_name = Default
* `1 j4 b7 v% m. Rproject_name = service3 O3 s/ l, E/ @" b. p
project_domain_name = Default
4 i% P. o9 w5 @! |! bregion_name = RegionOne
6 O) z1 r+ h6 f7 O% ~% ?. n* z4 R0 Jcafile =
9 }$ k0 x* v- K. P  ]4 O) h+ ?valid_interfaces = internal
: `! _) S9 i/ A5 e. U* P
, A# \6 M! [6 r4 ?/ J[notifications]
5 o/ b$ P: C$ y" v, onotify_on_state_change = vm_and_task_state
' G' v6 ~; R4 l& }0 C: s8 L& p2 U& {$ q  V9 A
[service_user]
* l: A, M) O. s& \+ K7 Lsend_service_user_token = true
7 V6 m. y4 N5 sauth_url = http://172.27.11.88:50001 ]3 d) J9 v: ]. r
auth_type = password5 f" \% A  S/ q/ t
project_domain_id = default7 l4 y1 N/ x" P  P; b
user_domain_id = default$ y4 F" \1 E; d0 E
project_name = service
7 n# D+ B/ d: F$ z- [3 r: U9 I6 ]username = nova, P4 b: z9 |" h/ B
password = 3kt5fJe4rRZv0$ |/ i. Q. F+ E1 G0 l2 N
cafile =
! S8 _% P7 I" _9 q$ w% q: v, Pregion_name = RegionOne$ L* |* r7 y9 O- ~" k6 V
valid_interfaces = internal
4 c4 @  y2 X1 [* \0 M, w) _6 g2 D) G7 |& I
[libvirt], J7 ?% X& R" q
inject_password = true* p$ S& Y' z8 ^  `) Y- @
+ R: k, n4 m' l, z5 ^
[quota]
8 \, b1 U" q8 L8 S  O( a' j" Cinstances = -1! `' z1 z6 F0 C7 r' `* E2 l$ p
cores = -15 s1 N+ I) N) q9 {0 `
ram = -1/ X5 F( m0 y* ?& p% F+ i
injected_files = 32# h" W7 V& m- j% f, G. y
server_groups = 128# H7 m" K# x# J# K! m! r. L
server_group_members = 128
% }$ ]6 }: i$ |- s: @
. l( E$ N9 f/ ^
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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