找回密码
 注册
查看: 24|回复: 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.+ a1 x0 Q! z- a' P, C: Q) y
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.# T5 e9 \9 G( w8 R; ?
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.
% v5 X6 y3 c/ ^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.+ U( s4 m+ @7 g4 f& Y/ `) ~; t% I, v
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.+ r; j1 m/ \" P
2025-02-25 16:53:48.549 20787 ERROR nova Traceback (most recent call last):9 E' ^$ l- E! y: O# R/ M; q7 m- A
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/bin/nova-conductor", line 8, in <module>
# [7 J5 p" f6 c, b2025-02-25 16:53:48.549 20787 ERROR nova     sys.exit(main())- n8 z0 z2 H) f1 }: ^
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
( _5 q! a# L2 O8 T1 X9 s8 S) ~0 ^$ x1 q2025-02-25 16:53:48.549 20787 ERROR nova     server = service.Service.create(binary='nova-conductor',
! P. z# P3 ~/ m+ z" |  Q2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 256, in create; f+ y# x+ v$ e5 h, p
2025-02-25 16:53:48.549 20787 ERROR nova     service_obj = cls(host, binary, topic, manager,& T1 m' n/ t0 R9 |& ?  i/ _. t
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 120, in __init__+ z* T, r' b) L8 }% y5 Y- `( P
2025-02-25 16:53:48.549 20787 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)) w- j9 U/ M( [8 O
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__
& j4 _) m$ i) {5 K6 m2025-02-25 16:53:48.549 20787 ERROR nova     self.compute_task_mgr = ComputeTaskManager()! H& l6 D# E5 H
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__
& c. g/ G& U5 O5 X1 G2025-02-25 16:53:48.549 20787 ERROR nova     self.report_client4 b* m2 O# P" @6 \
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# D  X2 U9 ]' T; g7 p* s
2025-02-25 16:53:48.549 20787 ERROR nova     return report.report_client_singleton()
7 P, d% D1 x8 K+ d2 V! ~/ o2025-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
4 Q, g! j5 U! }3 H% [& l2025-02-25 16:53:48.549 20787 ERROR nova     PLACEMENTCLIENT = SchedulerReportClient()* Z& J( e0 E7 D0 {% o- Y7 N  z
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__! H3 Q) Q: V4 X# P- x
2025-02-25 16:53:48.549 20787 ERROR nova     self._client = self._create_client()
  o' G; f# L2 S$ }& Z: g- ?' P; }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_client
4 S+ S+ P0 U. W/ E2025-02-25 16:53:48.549 20787 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
$ }3 u  p& t! X( s4 }% c2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/utils.py", line 995, in get_sdk_adapter4 U9 U& t6 m! K5 W' N$ F: k
2025-02-25 16:53:48.549 20787 ERROR nova     return getattr(conn, service_type)
9 `, ^" G2 o- f2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/openstack/service_description.py", line 89, in __get__, R4 t- F' j8 A/ _3 D' Z
2025-02-25 16:53:48.549 20787 ERROR nova     proxy = self._make_proxy(instance)
$ U0 s0 r- E4 P$ g9 H2025-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
2 j( v! f3 H+ S/ ~0 n. K- K2025-02-25 16:53:48.549 20787 ERROR nova     raise exceptions.NotSupported(2 Q% A# D- Q1 x; I  N
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.
* ?! [" n  `6 m4 p2025-02-25 16:53:48.549 20787 ERROR nova
! W7 Y! t8 O4 X% a# m2025-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.0 ^3 V: ]* g( A2 a1 R9 d8 z
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.- q) s3 B, w! J9 S
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.7 q1 T8 k0 u1 j9 f: x+ R0 h( C: k
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.) \0 \0 U( i1 v! B- G- s: l5 ~+ h" b  J/ n
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.+ I8 R+ B: ~0 D! ?# {6 U
2025-02-25 16:53:51.995 20790 ERROR nova Traceback (most recent call last):5 U* }. [9 f3 V& L. ~& `" t
2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/bin/nova-conductor", line 8, in <module>
8 O( b" ?9 Z: j0 j! D6 o, P2025-02-25 16:53:51.995 20790 ERROR nova     sys.exit(main())
+ T) @* L' G0 I6 v2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/cmd/conductor.py", line 45, in main% M, w! C$ O2 P! b3 s8 ?
2025-02-25 16:53:51.995 20790 ERROR nova     server = service.Service.create(binary='nova-conductor',
) |& X. g1 h& P% `; \( K* C* n, r6 R2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 256, in create8 l: O- b, i0 o- v/ X, D
2025-02-25 16:53:51.995 20790 ERROR nova     service_obj = cls(host, binary, topic, manager,. ]" o6 {2 r8 n  e6 \" p/ |( |
2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 120, in __init__
6 q- z7 \4 U9 M2025-02-25 16:53:51.995 20790 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)& c% s5 K$ M! W- |$ o1 o6 n% [
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__
! ^' [1 q: O1 `2025-02-25 16:53:51.995 20790 ERROR nova     self.compute_task_mgr = ComputeTaskManager()
6 j( J" M6 Y& C! ^2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 255, in __init__
4 I4 v$ g3 u: T* @2025-02-25 16:53:51.995 20790 ERROR nova     self.report_client
# B# ^+ n' S/ c+ Q% _- I: |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( n" r& O. e! ]; J
2025-02-25 16:53:51.995 20790 ERROR nova     return report.report_client_singleton()
& E" @2 ?" y: }' V! f* Z2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/scheduler/client/report.py", line 91, in report_client_singleton# G7 u! z/ y4 x& U4 Z& j
2025-02-25 16:53:51.995 20790 ERROR nova     PLACEMENTCLIENT = SchedulerReportClient()
" Y. s5 h. M/ ~' h# L  M% l& P2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/scheduler/client/report.py", line 234, in __init__
4 P$ E; i( E9 p% r* c, z7 L2025-02-25 16:53:51.995 20790 ERROR nova     self._client = self._create_client()" m7 h9 |0 J& i0 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_client8 T; {8 [3 ^. B9 p3 q/ ^/ e
2025-02-25 16:53:51.995 20790 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
, w$ L0 N0 ^5 P5 c0 u% B: b6 o2025-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
/ c# U* r& P  R+ K, ^2 r0 F2025-02-25 16:53:51.995 20790 ERROR nova     return getattr(conn, service_type)" ]/ N* @1 n, d5 p
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__
+ X, R0 ~( i& D( x2 }1 A4 Q2025-02-25 16:53:51.995 20790 ERROR nova     proxy = self._make_proxy(instance)
! {3 M; C/ p) s# J6 q  ]/ e, H2025-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+ L4 o7 N7 E1 D
2025-02-25 16:53:51.995 20790 ERROR nova     raise exceptions.NotSupported(% m; A$ v% G, @) W1 k4 m
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.$ x5 d/ S# w4 l/ _, }4 h& T
2025-02-25 16:53:51.995 20790 ERROR nova ) }. J( m1 o8 F; F9 n# k: C7 w: U* s. _

& O& \% v% j+ k. }5 A. c) p" d6 h9 y" P, S6 p8 v1 D% H9 o

, ?3 E8 ?7 h$ l" P% ~, }+ ~+ b% Y一看失败了;2 m7 _2 z9 P2 I# u
8 A8 R, `* _! X  E4 w

: t! p: M. e1 x( U# v0 d+ G' s[root@controller ~]# curl http://controller:8778
- D  U; p  ?# g& k( ]<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
; P2 L1 I$ W1 C<html><head>
! J9 V; T$ s* `- O  U, {# X<title>500 Internal Server Error</title>* |* J* d( u. O$ z$ |/ p
</head><body>) i* P' m5 {6 t
<h1>Internal Server Error</h1>
8 F3 v! i. h  _<p>The server encountered an internal error or
* P6 s, g' H4 M, ^misconfiguration and was unable to complete5 O8 Y- d1 F5 Z6 X: L0 g" {
your request.</p>
# k6 u' g' ~+ {- W<p>Please contact the server administrator at 3 j: Z& N4 X; W4 R' T1 D, @
root@localhost to inform them of the time this error occurred,! _5 {* ~# a2 d& x
and the actions you performed just before this error.</p>5 Q) o3 e  {9 p; V0 |+ `3 k  h' z5 F
<p>More information about this error may be available
2 G7 q: u# B# S2 U4 v3 G( Yin the server error log.</p>% u1 ^$ c- _% Z. Z0 d% M; O9 k( C
</body></html>
; t2 l2 h' L8 j8 k0 e# z: e' i6 s5 s  J/ z; U4 Q

8 u, H* e, e1 T- u% K
/ ^- ~' {  e2 C) N8 K端口也通
1 o1 U5 G+ |# T! A/ |9 @# W9 }+ E& Z) n; `- I* l
[root@controller ~]# telnet controller 8778
# m$ C5 B! ^  uTrying 192.168.8.196...
8 g3 y" }, c) C: r# i0 C7 }+ t8 `Connected to controller.' t5 D1 M3 Y8 E
Escape character is '^]'.* ]" f  W; E. g, a; }( e9 P4 g' i, ~

) e6 p# x0 U0 m( w: G; |% {3 F7 `3 t& j) O% A3 [+ ^% {
6 y! @4 g: G1 V4 j8 X4 g; V

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-2-25 17:22:17 | 显示全部楼层
发现placement 有报错,检查日志发现  E  y& |3 @- C1 K  K  r
9 j0 j0 `3 t* Q9 F, ~/ ]
[root@controller ~]# tail -f /var/log/placement/placement-api.log
' a0 O; O2 F; l0 T/ L2 @' _    _setup_logging_from_conf(conf, product_name, version)( i0 ~+ ^3 ~8 K: h, _/ ?5 C
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf9 l5 f1 A: \9 W. Q1 T  G. s6 q* s
    filelog = file_handler(logpath)1 `" }1 V# T8 j* L( A/ N
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__: P* w, V  s: N  z7 y0 x" I
    logging.FileHandler.__init__(self, filename, mode=mode,
$ s  i' S7 Q0 C" [  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__) t5 {" y7 G/ }7 y. O4 |' Q, V+ B: r
    StreamHandler.__init__(self, self._open())
. V; s- f1 O; G# `% k4 M2 s9 f  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open  r' P% \) Y0 {# ]6 ^, T
    return open(self.baseFilename, self.mode, encoding=self.encoding,
& ]. e: r; y' |. HPermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'. l' U, [0 d5 L. E- n- S0 Q' \+ N
mod_wsgi (pid=13891): Failed to exec Python script file '/usr/bin/placement-api'.
" ?6 H3 @& m8 d% T' umod_wsgi (pid=13891): Exception occurred processing WSGI script '/usr/bin/placement-api'.
) `; ^' }4 m) U3 u% L0 ~Traceback (most recent call last):. e7 I- g, [: ^1 i
  File "/usr/bin/placement-api", line 52, in <module>1 c# L/ B: r3 d! `2 O+ E5 b
    application = init_application()6 W5 K. Y" D0 L4 p. ^9 D7 ]8 Q, i' E
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
, Z% F" F. \- J7 @5 u    setup_logging(config)
& e5 W+ N$ B3 Z6 V0 n  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
  H4 r6 }, _# I0 d4 D* V9 T    logging.setup(config, 'placement')) Q/ d* C0 a9 L* [- Q
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup% O$ p& D. H: m7 M6 u, X/ i4 n9 ]
    _setup_logging_from_conf(conf, product_name, version)1 O) o# E$ u' U5 g4 x! n
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf, P3 W( }! s1 m: D' j/ B8 I. T
    filelog = file_handler(logpath)
" Q8 \# t1 k$ }: ~* b  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__8 B( y) P! G5 J! O# s) N9 x# _
    logging.FileHandler.__init__(self, filename, mode=mode,
/ p2 K' K  a: Q* C+ _- N0 U+ v  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
: E8 B, t/ M: M+ A6 ^    StreamHandler.__init__(self, self._open())
3 H& Y2 Z" |* E! N0 o  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open' f! m1 c9 q! u; {0 T3 H: D
    return open(self.baseFilename, self.mode, encoding=self.encoding,7 d7 a# z# E4 ~2 s! l% ~
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log': m6 y$ T6 j* t
mod_wsgi (pid=13892): Failed to exec Python script file '/usr/bin/placement-api'.' t; z4 |. D  W/ v8 p& P
mod_wsgi (pid=13892): Exception occurred processing WSGI script '/usr/bin/placement-api'.
) c6 p5 d% ~+ \; i% g2 KTraceback (most recent call last):0 k- b, _$ k. }
  File "/usr/bin/placement-api", line 52, in <module>; Z. ]. e# b$ \
    application = init_application()
3 v( m- x; h) y" V2 V; N  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application& b7 u7 g$ t8 s, K4 l
    setup_logging(config)5 C8 b* W% f( Y/ \
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging6 ]) O. ^  v' e2 T, K$ A6 J
    logging.setup(config, 'placement')
) T  {6 f. m( l, b6 e  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
6 `& {8 w* l  O( j: b+ w$ w. W( q. F    _setup_logging_from_conf(conf, product_name, version)
/ c4 i4 i6 F3 s1 r  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
3 n- x8 j" Y! R    filelog = file_handler(logpath)# I1 B& h# i3 }' c9 O) Q- q6 v
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__) U/ r/ P2 q! A
    logging.FileHandler.__init__(self, filename, mode=mode,) M  R% L" @6 y( w9 n7 W
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
9 Y3 S' P% ]. O+ P- ]    StreamHandler.__init__(self, self._open())4 s! [  d/ A7 {1 ~# o3 m, ?
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open8 s* u* H$ @: b0 a# f% \$ f
    return open(self.baseFilename, self.mode, encoding=self.encoding,# L, q+ [9 _! I: U* N2 A
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
% y( S/ V. ]: Z. E: [
. {% P' E0 t- K9 e* N1 x! J! x' V  U% T, Y5 h: J
mod_wsgi (pid=13893): Failed to exec Python script file '/usr/bin/placement-api'.
6 J; g$ |3 n  N9 v7 |- zmod_wsgi (pid=13893): Exception occurred processing WSGI script '/usr/bin/placement-api'.
' K8 w4 @$ q' x' N. jTraceback (most recent call last):
# d8 T  J0 l" b. }, L6 O( z  File "/usr/bin/placement-api", line 52, in <module>
1 {* W( p8 M4 q" E& q6 A1 N/ N! v. H' v    application = init_application()! }& P- N! X9 a# o  h  f! @* U
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
7 c. C# x4 @; |0 @5 j2 m3 n+ g    setup_logging(config)
1 K5 ~+ W, A) U  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging: I, o3 q8 u: e3 p
    logging.setup(config, 'placement')
3 R( v! [+ G& d1 P  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
) |, u* @- B+ u* r. U8 ~7 Q    _setup_logging_from_conf(conf, product_name, version)6 b9 U, `/ g; X) b4 ?, Y2 ~
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf7 z* z! a* X  H% ^  q
    filelog = file_handler(logpath)& K  j3 ?2 J% u) G
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__' U9 {' r% I. O2 \8 G! m$ ?5 }
    logging.FileHandler.__init__(self, filename, mode=mode,
' |3 y9 }) C" k' ?6 }3 v$ k  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__  i6 o. p4 A+ A$ \
    StreamHandler.__init__(self, self._open())* u/ o: Y. @1 I, `2 c0 H4 F
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open4 O- `  ^* ~) H5 d7 G
    return open(self.baseFilename, self.mode, encoding=self.encoding,
9 D; Q% D" {; z* Y# T( D3 }  z, `PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
4 |" l6 n, \  y& s5 b% Cmod_wsgi (pid=13891): Failed to exec Python script file '/usr/bin/placement-api'.
( H0 O1 K$ Q5 j+ X9 ]mod_wsgi (pid=13891): Exception occurred processing WSGI script '/usr/bin/placement-api'." I" d  H) l& ?5 A: s1 O' d
Traceback (most recent call last):; r7 A9 ]3 r. N9 D/ K2 p) z
  File "/usr/bin/placement-api", line 52, in <module>
9 b/ u  |9 z/ N( u1 d  l0 s) i% H    application = init_application()
( w, i6 E; b, M$ I( o3 u/ e  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application; i# N% c- f+ L5 R2 r! ]" l7 s
    setup_logging(config)
' U3 {! B  O0 l- {5 r( s  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
9 f, h) E5 _  Y4 {    logging.setup(config, 'placement')
% r& _5 O3 S" m% m, J* s! U+ g! B  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
3 B& B6 o1 ]9 X; `1 r* s2 a; T4 M    _setup_logging_from_conf(conf, product_name, version)
9 R* u6 `, D4 P5 \7 E  {  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf2 ~: F/ G6 J: X9 I
    filelog = file_handler(logpath)
4 d1 i* Y# R5 o- P  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__$ W5 Y3 q- w2 d; P( |
    logging.FileHandler.__init__(self, filename, mode=mode,- @! L0 d9 e% v" C% f
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__  l* @8 Z1 u6 k4 N1 J5 |
    StreamHandler.__init__(self, self._open())
- b  w- A' K8 T+ }  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open/ ^. P. U9 b6 l# U+ N2 ]5 I
    return open(self.baseFilename, self.mode, encoding=self.encoding,! J5 p* C9 C. p* a& l! S
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'5 y, n( C! n; e$ \
mod_wsgi (pid=13892): Failed to exec Python script file '/usr/bin/placement-api'.% O' u  ]1 @/ Y* o
mod_wsgi (pid=13892): Exception occurred processing WSGI script '/usr/bin/placement-api'.7 e2 E$ O) ?& Y* V8 q3 h
Traceback (most recent call last):
: Q. q1 r1 A' |# V2 @  l  File "/usr/bin/placement-api", line 52, in <module>
# h6 I& b' _) G! |    application = init_application()
$ h# k2 O. S  q- |4 b- Q5 J  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
# p: J1 A& l5 ~    setup_logging(config)
; Y$ K  Q' m) v2 `1 U: R  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging9 a: ^; m, B4 A; l/ T
    logging.setup(config, 'placement')# P7 @" @; f5 b5 r; q# S3 B
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
' Q3 [: \. Z% p    _setup_logging_from_conf(conf, product_name, version)8 h$ J, J" c9 o
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
  W2 |/ t- q0 {  G    filelog = file_handler(logpath), _) c7 j& U3 A. E
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
8 I7 l2 Z1 s6 W  @9 J& @/ |    logging.FileHandler.__init__(self, filename, mode=mode,
# A* D  |; S2 |+ @: [# Y9 T- P  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__; b* w$ K8 z& n6 E' Q$ s1 a
    StreamHandler.__init__(self, self._open()), O3 n. @& k6 \, j! a; T+ W; z
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open. A) U5 j) `0 y' n
    return open(self.baseFilename, self.mode, encoding=self.encoding,
4 e4 @% ~' L" N. X- DPermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log': P/ S4 w: ]* V4 ?3 a) R, Q
mod_wsgi (pid=13893): Failed to exec Python script file '/usr/bin/placement-api'.: h/ c0 y) q4 W$ D( y& N4 e. I3 @0 Z
mod_wsgi (pid=13893): Exception occurred processing WSGI script '/usr/bin/placement-api'.
* ^- _. n4 S" WTraceback (most recent call last):# C& f" J# a* q8 D
  File "/usr/bin/placement-api", line 52, in <module>
& h6 v4 T, m  G8 V8 _    application = init_application()
8 u6 s+ z5 r7 X$ V3 ~6 Y# s  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application. q" b  y& G. @6 d
    setup_logging(config)( _+ G. L4 J! m
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
1 b3 G6 w2 ]8 _9 }, v, D- l8 k' w    logging.setup(config, 'placement')
- C2 u1 Z: N  Z; ~, Y  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup$ w3 r& c$ t: q9 L. s" x
    _setup_logging_from_conf(conf, product_name, version)0 W6 O; }1 v; Z; P
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf6 L9 J4 C. E6 G( r4 \
    filelog = file_handler(logpath)
/ B8 J5 Z* E0 x  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__; b6 Z- H" F9 P! Y6 b
    logging.FileHandler.__init__(self, filename, mode=mode,7 A- x2 N7 x) P7 q$ p: G" `
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__, y9 P$ \* o$ U; G  z0 _* ]
    StreamHandler.__init__(self, self._open())+ R: {5 b' k2 l# X5 l) \7 i
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
( L* Q4 ]9 G) {' f0 j* r3 m+ Q    return open(self.baseFilename, self.mode, encoding=self.encoding,
: P5 q/ v1 U6 sPermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
8 d: k2 D7 M* Q' m^C
) y4 {$ [& @7 _1 n6 L4 O* N[  p" H, |; Q! I: B

/ L8 O. k0 x. K( T7 {' a# X[root@controller ~]# cd /var/log/placement/
- _$ u, @# s, O2 A# X+ [[root@controller placement]# ls/ J& |* V0 M% u' L; p: N! E6 @
placement-api.log
3 C4 ?$ x& l. t; ?$ H[root@controller placement]# ll
# G5 l. G8 [7 _- ^total 11844* e# l% R3 o7 T) ~; z( Y% E: J  e
-rw-r--r--. 1 root root 11889861 Feb 25 17:10 placement-api.log
/ _; W  D( ^3 R) A9 J  g/ ^. t' q. s; o2 _! k5 D

3 R: W. d1 \8 U1 Ytotal 11844; p2 c7 `3 Q1 q) ?1 I! G1 W. y5 c
-rw-r--r--. 1 root root 12075765 Feb 25 17:12 placement-api.log
2 ^3 r  B! I2 i* z8 ~# d
. O+ ]7 n& C  f0 P, H( H权限不对,修改下权限:. G$ z& e; o- }$ P9 L& n; j# u

; ]/ A5 J  O5 f. D; K% X[root@controller placement]# chgrp placement placement-api.log 2 R) ~; ~3 u3 ^4 u4 S9 F6 K
[root@controller placement]# ll+ V; k" P# `, M. ?6 V+ C
total 11844
# q# @; y, m, l6 C-rw-r--r--. 1 root placement 12114495 Feb 25 17:12 placement-api.log1 k- g) m# X, {& x
6 l" G) k& d7 O+ S9 i
tail: no files remaining4 P' m8 a3 m- b

# J- D5 q& @$ F1 }
8 M: ~8 [. p+ w2 L; Q; i
: R/ D( [! Z4 |& A3 {7 a1 m9 T( e重启下httpd服务:
7 \. I* p9 q' j% C5 C! J/ e  h   
$ }$ d8 l& ?5 O) R$ {7 C& }. v[root@controller placement]# tail -f /var/log/placement/placement-api.log8 b7 `+ s2 y6 P. K6 M  a% f8 `

" |# U/ f5 f3 l5 {3 G7 V
% n5 r' v# Q; H) L) {% m再次检查conductor日志。发现告警变化:5 ]5 |) X' u5 Q7 H- c% x( [3 a

# ?; X2 P" L. u0 a4 R, n8 h+ [  c7 \1 X; @! e# o9 r$ J* g

% x2 F3 K* h7 Z- W! d2025-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 m' K. v) w( P8 f
2025-02-25 17:17:38.935 23976 DEBUG nova.service [None req-a621fd03-2377-4828-a0e3-dc187214d788 - - - - - -] Creating RPC server for service conductor start /usr/lib/python3.9/site-packages/nova/service.py:186
5 ?0 @/ S% j6 Q) O3 c% B2025-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 connection5 Z) X# _" a3 l) r7 c' D, |
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service Traceback (most recent call last):5 S/ b$ a& D% W& e9 s) i' u# |/ {4 N4 @0 J
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 channel0 p3 g3 R7 G9 ^8 O: I
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.channels[channel_id]0 X& P2 g* x$ A8 p5 T3 S5 z' U
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service KeyError: None' f* u) h2 Q; v
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   H  ]3 S+ M& O' o- a/ G& f+ l
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service During handling of the above exception, another exception occurred:1 V- w* c; H$ H6 U+ r
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service + [- R6 T& y: h' M
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service Traceback (most recent call last):
% [" O& c" r7 |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
( {3 V: h; o6 f2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     service.start()
# {0 v' g4 x8 ?' O( S2025-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
3 B2 l8 \3 v! _# j- H3 _2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.rpcserver.start()2 ]- k8 u$ t* b4 F8 g
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
9 t2 `! S( D, U6 J4 P* l" _2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     states[state].run_once(lambda: fn(self, *args, **kwargs),
1 W1 d% k9 x# b+ @* J0 L2025-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
5 U$ p% }* J( V2 ~0 L, a" r/ b4 A2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     post_fn = fn()) ]$ P1 C# ^2 E" 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 267, in <lambda>; K) k5 p! v( {+ k
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     states[state].run_once(lambda: fn(self, *args, **kwargs),% G" u0 M+ P3 y0 G
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$ {) J. V4 _; T5 f9 C. Z3 J
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.listener = self._create_listener()9 ~' l. I7 f9 ~6 t- D
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_listener0 q0 p! d- q- B! a; t& E" l- o
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.transport._listen(self._target, 1, None)+ }! @5 P9 h3 j4 N) i; U- c" M/ V
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+ U1 `. E3 |- V. j: l5 ~2 T7 v2 A
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self._driver.listen(target, batch_size,4 x( R1 S, y/ K" h3 X- |
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+ c* t7 `$ I; l; B8 A  x
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     conn = self._get_connection(rpc_common.PURPOSE_LISTEN)9 g) o7 P; l/ O; j2 ?/ r4 K) h
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 700, in _get_connection1 q% ]1 U9 ]! ~! y/ t9 e. E
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return rpc_common.ConnectionContext(self._connection_pool,; J$ j5 R  P3 V+ J* t- U" u
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__
5 y3 q8 r' @" d5 V' i& u  ]0 q2 \* d2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.connection = connection_pool.create(purpose): u/ H5 B' T6 e7 N" w  m% S
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 create
& ]% q  X0 W2 I2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.connection_cls(self.conf, self.url, purpose, retry=retry)
2 E2 u- Y# A0 V" d* G2025-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__
3 N) f3 W1 G  o2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.ensure_connection()
4 b) W, e! I) K4 K2025-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_connection5 N$ w; u3 z$ r$ O2 U  V+ }1 A. q
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self._set_current_channel(self.connection.channel())' _" o: D9 H. }: @) w
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
% F* M- u% R/ `1 w7 b2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     chan = self.transport.create_channel(self.connection)! X0 C$ _; M! Z% P! c6 k
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
/ i4 J8 a3 U7 K2 s% F* v4 m2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return connection.channel()
- |+ Y/ M; U+ R$ X) z3 z2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/amqp/connection.py", line 518, in channel6 o; f1 B8 Y& b& F
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     channel.open()" x- ?  Z* D; w! G# b2 v8 s$ K
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
7 [5 i- j7 D, B* U  Z" I& Q- I" b3 ~2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.send_method(
( O, F! j6 S5 M# W+ K2 ^7 g1 }4 d" e2025-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
, Y8 D+ H- I2 \- z+ I2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.wait(wait, returns_tuple=returns_tuple)
- _5 u) H! v6 x2 {9 O$ I4 c2025-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& W; C3 K- I! D# u
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.connection.drain_events(timeout=timeout)2 X8 G2 c8 f' X/ h5 B5 e# K5 Z/ {7 s
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
0 s" W' R5 l5 q% v. z* S  L2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     while not self.blocking_read(timeout):( N: F, @) K- E9 {4 t
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_read1 j: r/ ?! ~7 E6 r6 ~( e
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     frame = self.transport.read_frame()
$ g; F: D9 Z1 u5 S2025-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% V0 h. c# s( ^, r6 P% M4 X! \
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     frame_header = read(7, True)
9 M0 h! X0 y: _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
9 b3 r8 a5 y$ Y4 X( I0 V: a. u2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     raise OSError('Server unexpectedly closed connection')% n1 ]& F* I: i
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service OSError: Server unexpectedly closed connection
6 U  J9 C8 x+ f; ]/ f* ^8 O2025-02-25 17:17:38.959 23976 ERROR oslo_service.service / N2 O' B$ i  P
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
: p4 N$ s6 ]# n9 R! a2025-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
# F& \. H# y9 ?2025-02-25 17:17:38.966 23976 DEBUG oslo_concurrency.lockutils [None req-795f57b5-2f1f-4103-a1eb-509caf8e73a4 - - - - - -] Releasing lock "singleton_lock" lock /usr/lib/python3.9/site-packages/oslo_concurrency/lockutils.py:3312 _' F5 a, E2 Q. Z
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:5796 A0 H$ c; n$ Z
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  ?' A1 F5 w/ x) V% u& `- _" P  o
2025-02-25 17:17:39.902 22849 INFO oslo_service.service [None req-795f57b5-2f1f-4103-a1eb-509caf8e73a4 - - - - - -] Forking too fast, sleeping5 J- ^# P& F4 _; U7 J" z; }

0 B! |! I4 o3 J: G/ Q6 a! q
8 [5 [, N- q0 v5 \3 R

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-2-28 10:33:44 | 显示全部楼层
重新审视下nova.conf配置文件:
$ ?( `6 t  h$ X! v. n. o: E; f
/ W% g" L3 K  R. Y% |  W: N[DEFAULT]
# M. }8 r- K) i/ l: Xdebug = True
. ?  x  I- J3 flog_dir = /var/log/kolla/nova
$ G$ _6 S, P# [1 ?state_path = /var/lib/nova$ d* z  p( H9 R4 N1 q
allow_resize_to_same_host = true0 c  K! b1 r( g5 _' R0 O; c) z; }
compute_driver = libvirt.LibvirtDriver
# g% V4 ?$ c7 n4 u+ M: _+ u# i4 j. Omy_ip = 172.27.11.384 L/ Z: U& \; P
instance_usage_audit = True
9 o& V; G; _' K* l8 Iinstance_usage_audit_period = hour" b3 U6 }/ `& ^. Z  h
transport_url = rabbit://openstack:yvEiq9inxvblL@172.27.11.36:5672,openstack:iq9inxvblL@172.27.11.37:5672,openstack:Eiq9inxvblL@172.27.11.38:5672//
2 o5 z: p7 e& W9 n) _9 Aresize_confirm_window = 606 s# e$ Q8 W% v

3 C& U6 v" i4 `* M8 L7 }[conductor]
% n: r# E5 m( k, J0 Vworkers = 5; w4 m  S# n+ {2 G0 V! n/ U' G
8 M; @, e1 [8 T$ P9 S# o' {! G3 J
[vnc]- f/ x2 A2 l' W! c6 w+ @# o9 J
novncproxy_host = 172.27.11.38- d( A+ Y4 e2 `" G
novncproxy_port = 6080
1 {. n2 Y3 _8 w. {( userver_listen = 172.27.11.38$ A/ g7 C; K2 Z5 X- }- [
server_proxyclient_address = 172.27.11.38
3 X" |' z" c( G7 u  g: p0 ^! H" v& P5 K' x' ]4 c: a1 Q
[oslo_concurrency]( }( Y5 J! Q6 W
lock_path = /var/lib/nova/tmp
# e% ]0 \; D* Z- z* D7 \0 N- Y7 ]- f. [/ `" ~" [$ L) u* H
[glance]; s) ]( R2 @6 B5 g. y
debug = True+ C( x( r" P. V% r
api_servers = http://172.27.11.88:9292; f0 w1 l7 x5 A/ n
cafile =
8 ~- e$ G. G8 h4 r0 x, nnum_retries = 33 T1 g, G! x2 q9 Q8 [. s2 T

% P; N! C5 r- {8 x. S[cinder]
. ?) r& @' f, M& zcatalog_info = volumev3:cinderv3:internalURL, `! l& q3 k, ]9 t/ T$ |3 u) P
os_region_name = RegionOne5 L7 [! [+ O5 h) e
auth_url = http://172.27.11.88:5000. _7 I8 B' V/ x% g) G
auth_type = password* r2 G9 L' X5 S  |2 D
project_domain_name = Default
! E/ l$ B8 t$ l7 {3 d) m, Yuser_domain_id = default1 B5 B, K& v  e- X
project_name = service
/ m4 _' n# w* c" g( Eusername = cinder
( N3 {. z6 `% e8 }password = Kc2XVRBveUwBSmr
) Y* f% l9 X- `cafile =
. _, p& h# N$ P+ |/ e
9 B* H1 b+ K0 B' I) w% Q[neutron]
: V" E: e( |; e7 ?; Gmetadata_proxy_shared_secret = COScZnT5e7BZJU
- h4 J. }; b, F8 [7 fservice_metadata_proxy = true6 c& e2 a4 t5 ^( g) C9 d
auth_url = http://172.27.11.88:5000
# Y8 q! d& ^0 O  e5 v" d' q( wauth_type = password" w* F+ r- g" D* r2 x1 X- i' N3 @
cafile =
' ?* h0 n# F# `* }% I" Aproject_domain_name = Default8 a+ L5 f5 [2 `$ a+ r% v
user_domain_id = default
! i/ _" h5 E. eproject_name = service' e. f( r& l2 Q& y& n
username = neutron+ j5 {4 R3 C; r) z( }9 U
password = 2M4JUch6jYMJ
! v& S% P" |6 N$ Kregion_name = RegionOne% [& {) B& G6 r2 q: _
valid_interfaces = internal
4 L; L0 u/ a( H2 U8 k# C" p1 R5 m' T6 [' D: {
[database]$ m$ |  X4 {4 C
connection = mysql+pymysql://nova:UCA6ltitkU@172.27.11.88:3306/nova
" u3 z" Y% ^- w. G) B5 @/ o* i8 q9 N7 Aconnection_recycle_time = 10, i+ I& Q5 ~8 Q- v+ n
max_overflow = 1000
7 U# M- ^  P2 g& Umax_pool_size = 1
3 e; S5 w  q& I6 omax_retries = -10 y) y$ y! F. n! E$ O

2 L, G5 r% Q3 ?) @' T' v[api_database]
9 ?" |! G0 v  V7 F, Wconnection = mysql+pymysql://nova_api:9ATuRhyEr@172.27.11.88:3306/nova_api5 P! E2 F& M/ ]
connection_recycle_time = 105 }  F1 {  ?& F! c9 e# l( V
max_pool_size = 1, }: Z' q/ N, H  }5 g* M; Y
max_retries = -1. r- ^/ _1 h& Y2 K1 ?+ |0 f

  ~: |6 C8 T' N; @$ p7 \[upgrade_levels]
" Q9 [" M- [0 V: M, Icompute = auto% Z* v3 Y9 r) M: o& c

- _' H; K9 q% M5 g8 ]##主要是这个地方
4 ?7 p! m  F" D" }  X[oslo_messaging_notifications]
% q5 o. g, ~3 m3 ktransport_url = rabbit://openstack:q9inxvblL@172.27.11.36:5672,openstack:DWM1ayvEiq9inxvblL@172.27.51.37:5672,openstack:vEiq9inxvblL@172.27.11.38:5672//
" \' }2 L$ n+ m& B* {; i3 gdriver = messagingv2
8 y$ W3 ?/ K8 m: l" O$ g4 xtopics = notifications
  Z' ]2 h  G* l; r3 V6 r4 g% _4 B3 O6 F4 \4 J, P1 d
[oslo_messaging_rabbit]4 ]$ d$ f, m! X" d5 A! E
heartbeat_in_pthread = false
( P6 N" S9 X; x8 y! frabbit_quorum_queue = true
! e6 \& j: z3 r5 K# b6 x7 t& a+ }$ O* j) X4 {
[privsep_entrypoint]" N6 E9 C% N4 A5 @1 _1 x1 \
helper_command = sudo nova-rootwrap /etc/nova/rootwrap.conf privsep-helper --config-file /etc/nova/nova.conf; p) }8 a# m/ Q6 H
" p: e  g; G+ v+ A
[guestfs]
1 \2 I3 G7 a% {* n7 Kdebug = True" K/ A* Z2 C. b. W, s$ O

4 d) O6 X0 R" B9 z[scheduler]8 b, [4 @8 A0 B
max_attempts = 10
* g7 }- L$ _' {2 U( _7 d" v
" U1 k7 F4 l% j4 R+ g' n/ ]4 w0 I[placement]/ q  M/ l: C! v; W$ ^: }5 |
auth_type = password
; F7 O9 I9 a' i- L/ Hauth_url = http://172.27.11.88:5000
  c( \9 u- _1 zusername = placement- r! i# {# m9 {
password = NjPdQcmImG/ j/ w8 w% t2 M5 J
user_domain_name = Default
* F2 s5 n" e* |# M# ^1 a3 }project_name = service
4 R  H$ r$ s, c( \, vproject_domain_name = Default- C; J+ o, Q) h5 Q- \, ^
region_name = RegionOne. \) y3 m3 p- d- W+ S# I9 z' C. u
cafile =% A* l# B5 m/ @2 b6 w
valid_interfaces = internal$ Z! o( e) \! d2 e( m& K

6 A/ Y; g: j6 b6 A5 M$ G[notifications]- D# l! x- o$ {& r* L# C
notify_on_state_change = vm_and_task_state
3 K) y" n$ }( R' W/ w: _% ~5 n
0 p, }. ]5 r% E  f0 n[service_user]
* T! q8 @: A+ d$ s" }send_service_user_token = true
+ E; t- i) E) `/ L5 L4 zauth_url = http://172.27.11.88:50001 W$ Q, a$ f9 w* n; P6 N& A9 O
auth_type = password
% ~1 `) m; ~6 ?1 V, M9 e  _project_domain_id = default
  z+ k; L! r) v" M" ]0 iuser_domain_id = default- n4 _6 J* ~) \! G* H$ T
project_name = service
+ d5 G0 E. P$ |% }username = nova" L( [/ l1 Z+ T4 M
password = 3kt5fJe4rRZv0
, s2 T% ]& E' d5 U5 f, c% |0 }cafile =
. }# ^/ B: W0 N9 j  h) H1 P% F% Gregion_name = RegionOne
7 d1 ?% M" {& k* Evalid_interfaces = internal. e6 K4 q- K& C7 a) O2 i
' B* T7 ], ]$ I! C2 Q: r! b5 {
[libvirt]
- W) v3 _. G1 Pinject_password = true
$ V. @6 b/ N$ u0 A0 \; C, c( b5 s1 Y$ C  ^  v
[quota]
0 q1 l! u" F6 ^8 y3 w9 ]instances = -1
. h$ G! ]0 B$ q5 ~cores = -1
9 ]6 y+ N" X9 Lram = -15 x9 H1 J. b+ R( q( P9 F& i
injected_files = 32
. a3 y0 i( E, D& D' d, ^server_groups = 128, Z& B, l' i0 Z
server_group_members = 128
2 k& t0 t- L( j! U5 ]$ s, Z/ @3 c7 ^5 ^: d8 X
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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