找回密码
 注册
查看: 26|回复: 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.% A) f( B9 v1 p3 ^3 c
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.
5 P+ Z4 T( ], f$ z1 b1 t2025-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.! ~8 y8 K7 |5 L( D$ b$ r9 C2 L, ^
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.  j* A  l2 Y  }3 z  ^, Y
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.: z/ p: U& p; ^7 K
2025-02-25 16:53:48.549 20787 ERROR nova Traceback (most recent call last):# F1 l+ a$ K/ E9 D  O* T
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/bin/nova-conductor", line 8, in <module>
: l1 _; F( l' O1 u! T2025-02-25 16:53:48.549 20787 ERROR nova     sys.exit(main())& D" y8 @# E1 r$ S- V* N
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/cmd/conductor.py", line 45, in main
3 g8 t9 m: Q- J$ A2 g: ~2025-02-25 16:53:48.549 20787 ERROR nova     server = service.Service.create(binary='nova-conductor',& w$ d% a: d" E1 n) z
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 256, in create* _! E6 {8 d/ W: ^( Z
2025-02-25 16:53:48.549 20787 ERROR nova     service_obj = cls(host, binary, topic, manager,% t: j, \0 k! L( Y% B  C3 s
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 120, in __init__1 e; q  H# p* \
2025-02-25 16:53:48.549 20787 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)
# ?9 j* W5 |6 Z2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 124, in __init__
4 \# a9 [1 p+ |/ ^, a; O, d# q2025-02-25 16:53:48.549 20787 ERROR nova     self.compute_task_mgr = ComputeTaskManager()0 ~) Z- q% c9 _9 y9 U+ ?  g: J( d
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__* x4 W1 s  S; k! t6 e' Z; o
2025-02-25 16:53:48.549 20787 ERROR nova     self.report_client- [; |9 d2 X/ Y
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
% ~) Z2 e1 M8 I# @4 o9 X9 E/ t: X$ O2025-02-25 16:53:48.549 20787 ERROR nova     return report.report_client_singleton()" e4 l7 I( s7 k" Y) j3 _* R( L( v
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
% Z5 C% r: R+ O$ W! h$ A2025-02-25 16:53:48.549 20787 ERROR nova     PLACEMENTCLIENT = SchedulerReportClient()3 @( @' v3 z# _1 u1 ^6 ?+ H  }
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__
% m: }! r1 B  K0 D+ O) u4 U6 @2025-02-25 16:53:48.549 20787 ERROR nova     self._client = self._create_client()
- S+ Y7 k4 D# Z# W6 G2025-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
1 ?' s4 e6 X( W/ Z2025-02-25 16:53:48.549 20787 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
1 C6 i4 W- ?$ _# H2025-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
6 q' c9 i1 c* \* H9 u2025-02-25 16:53:48.549 20787 ERROR nova     return getattr(conn, service_type)
' H8 ~% a- ~: l) e8 {" I: {2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/openstack/service_description.py", line 89, in __get__; @& ], U. S1 L+ x6 E3 _
2025-02-25 16:53:48.549 20787 ERROR nova     proxy = self._make_proxy(instance)
2 Y/ \( M4 ?3 U2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/openstack/service_description.py", line 293, in _make_proxy9 L$ v. k3 a' M
2025-02-25 16:53:48.549 20787 ERROR nova     raise exceptions.NotSupported(! [0 J; \" }0 a2 n6 m$ H
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.# B. J5 F9 R: ^
2025-02-25 16:53:48.549 20787 ERROR nova % m! R$ K! y4 ?
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.1 u) H# k. i$ b: Q% k
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.8 l  |! X: x& F: a. L
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.; C, v# ]( `0 \# n
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.
! S+ V/ V9 y8 M1 B3 k& |8 f2025-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.+ P" R3 m5 e( k6 e5 V/ F1 Q
2025-02-25 16:53:51.995 20790 ERROR nova Traceback (most recent call last):( v9 s' j- S# W" d& z6 ^7 |* q
2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/bin/nova-conductor", line 8, in <module>
8 [, Q, ~; f+ Y! y2025-02-25 16:53:51.995 20790 ERROR nova     sys.exit(main())
" S0 {7 O% ?0 g/ J+ \7 ~* ?2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/cmd/conductor.py", line 45, in main6 w% V* Y# D& w
2025-02-25 16:53:51.995 20790 ERROR nova     server = service.Service.create(binary='nova-conductor',
' w6 A) Y: ?( I- w# N8 Q/ x2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 256, in create
7 I: n. ~' Y1 h/ Q6 H1 U( F2025-02-25 16:53:51.995 20790 ERROR nova     service_obj = cls(host, binary, topic, manager,* ?( r) R( W. S4 ~# O4 M4 ~' |6 _& }
2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 120, in __init__
! q4 K9 l8 j; `' o, K; M$ ]2025-02-25 16:53:51.995 20790 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)* `* z& S: ^% p8 H4 j' P0 @7 v0 {/ I
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__
& W: o- w6 y! z4 j4 k! _+ n2025-02-25 16:53:51.995 20790 ERROR nova     self.compute_task_mgr = ComputeTaskManager(); p) K4 ]& V1 M! E1 P
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 k" ?' E' ~* o6 g3 e6 I2025-02-25 16:53:51.995 20790 ERROR nova     self.report_client' j6 P9 ~7 O, X) t" w4 C* Z
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
" T3 I$ g8 [; ~% n4 f* O3 K2 h2025-02-25 16:53:51.995 20790 ERROR nova     return report.report_client_singleton()9 T$ t) e# ]  z0 N
2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/scheduler/client/report.py", line 91, in report_client_singleton
. Z- }1 A. ?0 ~' @2025-02-25 16:53:51.995 20790 ERROR nova     PLACEMENTCLIENT = SchedulerReportClient()1 y# y+ h9 p+ K
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__- H: s9 I1 W5 ?4 ]5 o# y& @1 ]
2025-02-25 16:53:51.995 20790 ERROR nova     self._client = self._create_client()$ B. v" X/ f! ?, Z# m: _  ^
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_client9 l2 X* H4 c1 v) s9 j
2025-02-25 16:53:51.995 20790 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
, ]+ |3 R( e. R! \7 i2025-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
1 Z1 `( z8 U; H2025-02-25 16:53:51.995 20790 ERROR nova     return getattr(conn, service_type)5 \% I4 ]$ Z' W3 |# w, I" 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__
0 @4 w% L7 K' r. R1 R2025-02-25 16:53:51.995 20790 ERROR nova     proxy = self._make_proxy(instance)
# K2 E" R) D3 t* d3 d, c- W% u2 Q2025-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& n# M4 C, H. \  W+ b$ l
2025-02-25 16:53:51.995 20790 ERROR nova     raise exceptions.NotSupported(, U/ D8 k5 a" _8 c
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.
) f, M7 t# x4 `6 Q( v+ z- ?2 s2025-02-25 16:53:51.995 20790 ERROR nova + I5 N$ i/ J2 I6 g

# |7 S6 `# ^; d) x6 ?, j" F0 Y( j3 ~& ~  I* _5 Z
/ E( l$ q$ R  v4 o0 V0 F# Y
一看失败了;
; p5 b- S9 u; J( ]
# a0 f. U* t. v  L% [' n. C  W! s/ j' `0 t( \+ H  [: g
[root@controller ~]# curl http://controller:8778
5 |1 f% [! l0 S0 Z$ B8 \0 m<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
/ ]4 W! i$ W# y0 i" [; p9 U" H<html><head>
1 ^' e; E2 `- A; ?6 M<title>500 Internal Server Error</title>* \" ^' k3 A$ k7 n; L+ a
</head><body>6 P- ]& @- X' l5 ?8 Z
<h1>Internal Server Error</h1>
) \! G: m. u2 g$ ?<p>The server encountered an internal error or
: \4 G$ x& h+ @& @misconfiguration and was unable to complete5 M6 g) U% |5 y4 M8 J
your request.</p>
# N3 X2 ~* e8 p) E<p>Please contact the server administrator at
4 l7 h0 i4 V1 u' C) y: x% y root@localhost to inform them of the time this error occurred,. U; y# F8 K  [" Q2 B
and the actions you performed just before this error.</p>0 M& `7 J4 k% O+ E* G
<p>More information about this error may be available: B% E4 a$ U" z. K
in the server error log.</p>
$ p) V; R4 Y2 h( g, x</body></html>
; P7 q; N' {) C& h& |8 F* z( X" Z: o" q0 B( L' a
/ p  j$ Q$ [6 y/ J; _, }+ {$ a

; t! r& u9 a% Q3 L3 _6 G4 _端口也通
) n  G5 s' o9 J; w  j0 A. ?3 e
8 n7 D. z" _. O[root@controller ~]# telnet controller 8778
& T* [; B' \. p: V! N; j1 GTrying 192.168.8.196...+ K2 r: O, I6 g( e
Connected to controller.
& s( m% S# V/ d2 m8 z2 JEscape character is '^]'.
' u, X6 N6 W. y' B9 d( f* c8 d; n8 q. M/ t1 G' P0 b; c7 q

1 A( w8 H9 [8 ~$ P* \6 F: r+ W' |! s' t4 A

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-2-25 17:22:17 | 显示全部楼层
发现placement 有报错,检查日志发现
" U  f, }7 v  C; n" `. x
' u9 u3 x/ S8 r. x( ?0 k3 f[root@controller ~]# tail -f /var/log/placement/placement-api.log
7 g. d  v. f7 K" N/ D    _setup_logging_from_conf(conf, product_name, version)  Z/ b' c# U2 i, B4 |
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
2 E1 x- u) ~) t+ h4 l" L    filelog = file_handler(logpath)+ A9 Y6 w" s8 t& t/ |3 o
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__; R* @+ ]4 ]3 K5 p+ v6 s' S8 ]
    logging.FileHandler.__init__(self, filename, mode=mode,
! {8 B6 K2 b1 \) E  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
* ?" I: X/ x: a: r& f5 s    StreamHandler.__init__(self, self._open())& i% _0 D2 S: b' Y
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
4 H7 @. ^& y1 z    return open(self.baseFilename, self.mode, encoding=self.encoding,' q* e9 Z" G, M% _- X' T
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
, D, T4 d+ B3 {1 Gmod_wsgi (pid=13891): Failed to exec Python script file '/usr/bin/placement-api'.
3 h) ]& ^2 I; ~/ ]8 Qmod_wsgi (pid=13891): Exception occurred processing WSGI script '/usr/bin/placement-api'.
0 i  ~0 \5 \2 R, s' @5 KTraceback (most recent call last):
6 m* g8 s+ a$ u" c7 }4 h  File "/usr/bin/placement-api", line 52, in <module>+ E. R# S; {2 s7 _% b7 {( Y
    application = init_application()9 T% n4 b& j) s$ T$ _7 d% K; h
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application4 V. [2 w/ @' q& W  P$ y. w. F
    setup_logging(config)
) n' A" p( X* o9 Q1 D- R  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging9 U& j1 ]( v7 A$ x) G6 A9 }
    logging.setup(config, 'placement')
; K: W/ V& t" Y: M- S! y9 a  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
8 H6 e' g% a9 l( u; R    _setup_logging_from_conf(conf, product_name, version)
1 V# c! f" B7 r0 W+ j( z) K  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf/ H( y3 U* V2 J& i
    filelog = file_handler(logpath)
3 c" \9 }' ~5 U: f" r  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
" J" h. v# t& y3 U    logging.FileHandler.__init__(self, filename, mode=mode,4 A8 c- r2 }, K( K) ~2 t
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
! A$ S0 ~. K. B# u* m    StreamHandler.__init__(self, self._open())8 ]' Y- e: n3 `
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open* s( P( Q4 x$ h4 B
    return open(self.baseFilename, self.mode, encoding=self.encoding,9 z0 o+ m9 o% t7 N3 k# ~+ Z; K& E
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
  Z1 A( L1 X# z/ z( \1 C$ W4 K! dmod_wsgi (pid=13892): Failed to exec Python script file '/usr/bin/placement-api'.
' S5 J+ h$ c0 h0 omod_wsgi (pid=13892): Exception occurred processing WSGI script '/usr/bin/placement-api'.
7 [5 A5 D0 ^$ k& o) _Traceback (most recent call last):
$ v+ m; O3 P7 d: N  File "/usr/bin/placement-api", line 52, in <module>: P3 X7 f4 z, M% j3 Q- f6 ^
    application = init_application()
) ~$ A, w( \( e+ f1 m  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
* \0 J; A: g( E- {    setup_logging(config)
( D+ x/ Y0 ~. D( A  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
" Y8 D! m; e& H% M    logging.setup(config, 'placement')2 r6 |1 c( R+ ~% m7 R4 Y" E
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
7 C* Y$ _3 a0 U4 N# w5 f9 g4 z    _setup_logging_from_conf(conf, product_name, version)
4 U+ p% R. \5 F- P1 q/ k. I  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf9 f, J. [( j6 ^
    filelog = file_handler(logpath)
7 Y! n: G' A: B% Y/ z& L  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
1 m2 h$ P4 b% v3 L0 b    logging.FileHandler.__init__(self, filename, mode=mode,$ y1 O8 E& @: c3 v' B3 `9 \$ K
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__, f+ n" t  s2 q4 b) g
    StreamHandler.__init__(self, self._open())$ P0 G- U3 A  Y& a% W' @
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open4 f! h7 I& Y: X" W6 l; P
    return open(self.baseFilename, self.mode, encoding=self.encoding," e  G) s( T+ |! D; B' F& g
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
/ x8 l8 o8 B6 S9 U# q! D7 E. ^1 i7 c% z/ a7 V. w- G
6 `! T/ e# h. m8 K5 j6 H
mod_wsgi (pid=13893): Failed to exec Python script file '/usr/bin/placement-api'.4 Z# L0 t; U& `" _6 t6 n
mod_wsgi (pid=13893): Exception occurred processing WSGI script '/usr/bin/placement-api'.
+ y. I1 V) F. T- Z7 ?Traceback (most recent call last):# V- a9 S% c2 ~+ R8 B- Z" n1 [
  File "/usr/bin/placement-api", line 52, in <module># C! ?* f* }% p- Q  l0 N8 {
    application = init_application()
/ [  s6 g, w; i: u  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
8 b5 m4 C9 a0 q- n  N    setup_logging(config)- U& M2 q9 n$ G4 k- x! G4 W+ B
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging7 {$ v) C/ ?" j% |
    logging.setup(config, 'placement')! P8 V& ~- I$ i  k
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
) h/ K' r9 \& U8 ]# G) o) D    _setup_logging_from_conf(conf, product_name, version), d) z9 }- r0 M* y+ v
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf6 j4 P; i! A, |: }4 U
    filelog = file_handler(logpath)2 C; T1 G1 a, T2 P3 }3 T" T
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
7 @$ G! \5 a! X, a( e    logging.FileHandler.__init__(self, filename, mode=mode,& E! A5 j6 e! y4 t. ^
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
3 k- n% Z# g8 ]    StreamHandler.__init__(self, self._open())
- F# M  a9 \1 I& N0 J& H+ E5 ~  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
2 Y+ S+ G- ?6 X2 h4 I2 i( a) Q' |    return open(self.baseFilename, self.mode, encoding=self.encoding,; C2 c( J  [5 k( u4 _, t5 y2 C- O
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
. T/ q  g3 }7 R" @3 W4 i" f( gmod_wsgi (pid=13891): Failed to exec Python script file '/usr/bin/placement-api'.* N+ y: R/ ^7 I; K: h2 _/ j* H/ c
mod_wsgi (pid=13891): Exception occurred processing WSGI script '/usr/bin/placement-api'.+ }& k9 S& `1 q" R; `8 [
Traceback (most recent call last):
4 `0 u, O% v4 \) A% d/ ~# d1 j  File "/usr/bin/placement-api", line 52, in <module>
* d* F; G8 Z: \3 p; Y    application = init_application()5 s' Z9 P9 [( u- ?$ J
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
) j9 G: S, Q! B1 N    setup_logging(config)) V) l7 s( N' A  V" y
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging( d% \. X& K3 t4 v* L
    logging.setup(config, 'placement')
/ l+ ^! l# ]# l* ^) K! J0 V  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup" G0 G6 B- m8 I" V+ I# F1 _/ G3 ]
    _setup_logging_from_conf(conf, product_name, version)
8 F7 a) P2 E* A) x" {/ g  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf# D9 g* r" q( c0 X
    filelog = file_handler(logpath)2 s- L8 _- ?" t8 b8 q9 r
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
4 J% X( h" R: c1 _2 A    logging.FileHandler.__init__(self, filename, mode=mode,/ q& D: H& }3 C. ]( P8 n' Q" m+ K
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
; k  x& x, Q( w0 t    StreamHandler.__init__(self, self._open())& e/ ?4 ?0 }& B6 @! v
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
2 q5 M( U7 J& {0 K9 n    return open(self.baseFilename, self.mode, encoding=self.encoding,( ~1 o  B9 c4 |" |' V6 `
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'% ]: ^% `/ W+ V; O5 i8 P, p
mod_wsgi (pid=13892): Failed to exec Python script file '/usr/bin/placement-api'.
6 c8 O1 v3 P7 F3 i% Tmod_wsgi (pid=13892): Exception occurred processing WSGI script '/usr/bin/placement-api'.
+ c5 ~6 C* m& h: bTraceback (most recent call last):
( {( S( T2 K. X; Y5 q  File "/usr/bin/placement-api", line 52, in <module>9 G: U( @" J* V
    application = init_application()1 W" z# j1 V- Z6 r" z1 S; I
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
) H  @5 v4 q- x    setup_logging(config): T3 v. V  `2 t0 L3 h" r; p* ]+ L) r
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
" z8 r( e$ L* J5 D  m5 R    logging.setup(config, 'placement')* w8 h( X, [( ^( ^4 \
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
- X: G; D6 X. H4 m! ]    _setup_logging_from_conf(conf, product_name, version)% V# n% O* U% n; c# ~: m- C1 b9 F
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf$ x7 j  _/ }8 H/ m
    filelog = file_handler(logpath)5 b4 a8 |6 d) B1 K3 E( H
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__3 _2 b7 [  t' y6 d) ^
    logging.FileHandler.__init__(self, filename, mode=mode,3 F! g, \5 c& @& p& f! W- I
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__/ C0 |/ J  g  M- z- W/ A
    StreamHandler.__init__(self, self._open())9 D, B! y. R7 m" f( h! }7 {( b
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open0 I7 {4 h& d0 ?- e1 t
    return open(self.baseFilename, self.mode, encoding=self.encoding,
' ]% x: M: @) A( p- f$ a3 G" iPermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'; r  }- L& {5 x0 E2 ~5 b. B3 b
mod_wsgi (pid=13893): Failed to exec Python script file '/usr/bin/placement-api'.& s' u! C( V5 q2 V  k0 }
mod_wsgi (pid=13893): Exception occurred processing WSGI script '/usr/bin/placement-api'./ E: r" C) U7 \& f  x' @
Traceback (most recent call last):
  u" ^, D) i2 m" R4 W  File "/usr/bin/placement-api", line 52, in <module>
  G- B( m5 B, j1 Y    application = init_application()
7 b6 F6 l8 e4 t) J4 e9 D  g  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
8 D/ i/ a! P, V+ J1 j7 B    setup_logging(config)
/ ]% {6 H. M8 \! s  M" l  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging* d- B1 d" o: J
    logging.setup(config, 'placement')& x& ]  C7 f$ e3 A; T
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup" P9 l& ^, O& H% q9 L4 z" B; p( J' }/ T
    _setup_logging_from_conf(conf, product_name, version)
+ j) }- h1 q# ]: v+ G. h  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf7 k. K8 I9 _0 e8 a+ m% i6 ]
    filelog = file_handler(logpath)
3 v4 @) f* k" W/ g9 p  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__9 d/ Z) N' s" \0 d! q3 J
    logging.FileHandler.__init__(self, filename, mode=mode,
" s) z# i! M, l9 O  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__! l; ]' d- d8 j
    StreamHandler.__init__(self, self._open())2 ~( ?% ?' S: S6 Z
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
, ]  n4 U9 T# r' h    return open(self.baseFilename, self.mode, encoding=self.encoding,( J2 P; o5 I+ {3 C7 T
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'. f( ]3 [- F7 i. [
^C
. A0 _' @) P  o2 c& w8 _[
! _+ L3 R9 V* P$ n
+ C$ F9 X7 l: O8 C% X[root@controller ~]# cd /var/log/placement/
# @$ |# F; M- A2 v8 v& Z; m[root@controller placement]# ls2 ^; a2 Z* _/ S- j) O
placement-api.log6 ]# }5 z. k, A
[root@controller placement]# ll
/ k+ [0 G7 {' }total 11844
0 r7 [, P& [( E-rw-r--r--. 1 root root 11889861 Feb 25 17:10 placement-api.log
& ]; M; e0 j3 m- ^7 z2 T3 z& Q2 P& T. c  o5 F4 n! w! Z( |- o
: \7 D; e; @: w- S  d# R) Q' V: t
total 11844
' z" r- Y; }( p- ]1 \-rw-r--r--. 1 root root 12075765 Feb 25 17:12 placement-api.log# b1 }, ~" q7 V- i; i  v
8 Z! G+ Q. L$ x" f
权限不对,修改下权限:& k( O( _( B! ^* h) X$ R

1 M% K2 f$ _. X9 l/ D[root@controller placement]# chgrp placement placement-api.log
, C* K% W1 I) N. I9 l3 ]* z0 m; R[root@controller placement]# ll
8 c% p( y, S# T6 x0 p2 b7 Ftotal 11844
' h, p( x0 s( o6 o6 L6 ~-rw-r--r--. 1 root placement 12114495 Feb 25 17:12 placement-api.log6 P" q. I- |$ L2 w, D

& n- t6 i! @6 N% T* l) g- Ttail: no files remaining% ?/ Q" [3 ^5 Q0 F3 j' ], o$ n- N

2 x2 ^2 a5 r  r7 x! h- h7 v
3 \( w; J8 w/ P3 X
0 ~6 o0 l/ t( Q. `6 N重启下httpd服务:
1 }1 \( w9 Y% r      X! k' i, K) S
[root@controller placement]# tail -f /var/log/placement/placement-api.log
; F9 g$ c' n& H3 A3 K5 K
! a/ ~# T, Z" S! w7 d0 K
( m) o2 v* U" T再次检查conductor日志。发现告警变化:
. y  S( N8 h3 J# g1 x
0 R- y) _3 v9 _: j$ X- U; ]2 W. i2 d0 n2 R: T

* H- b' }" p: v" B0 S2025-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' }; a# h/ r  }, t  i3 y7 }
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- z) H& p& F7 `
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" a! m- j2 q* m+ D
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service Traceback (most recent call last):
' N& U. g$ l2 d4 c# f  E2025-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
- W/ o$ F, y( i. }  {3 T3 A" V8 F2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.channels[channel_id]1 G7 u% l7 {: Q
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service KeyError: None6 J2 F* D' {5 x3 e% C( r
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service
* Y0 z0 X- P+ ?# L1 j% @; I2 _2025-02-25 17:17:38.959 23976 ERROR oslo_service.service During handling of the above exception, another exception occurred:
/ A; P. D& C1 n- C/ \* x* I2025-02-25 17:17:38.959 23976 ERROR oslo_service.service 2 S; d- x  o, j3 s
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service Traceback (most recent call last):
4 Q. Y) j: P7 j  e" J: d2025-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
- J) H& q# K% c) `2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     service.start()9 E; N% q, }9 M
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/nova/service.py", line 199, in start
3 q' t4 b) C# Y7 G2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.rpcserver.start()
4 R1 F% x0 ?: T/ B8 `8 H2025-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' }% d* h; e8 i- \* d! L5 m0 O( J
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     states[state].run_once(lambda: fn(self, *args, **kwargs),: C! ?4 x* O- j  c0 P6 h
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_once1 E" a+ V( q+ Q
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     post_fn = fn()
* Q/ e2 R+ n8 ?$ e2025-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>7 a. N$ c5 i& i6 q: t
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     states[state].run_once(lambda: fn(self, *args, **kwargs),
' Z* D1 ~3 F0 o- D3 P, e2025-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
/ m" _% \, q8 ]/ M6 c2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.listener = self._create_listener()
; [' [0 i. V, }, e9 f2025-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
2 J  S5 B; H6 _$ ^5 \. R& O5 }3 ~2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.transport._listen(self._target, 1, None)
" `: H- ?' K& F' {: g- m4 N3 q2025-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
/ H3 G4 [0 w$ e% g: D0 I+ k( e2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self._driver.listen(target, batch_size,
* E) M1 ]: i+ 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 808, in listen
2 S- N- [3 S0 p! m: \; o2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     conn = self._get_connection(rpc_common.PURPOSE_LISTEN)
1 E* n' o, t9 k: C6 P2 k5 V2025-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
2 H  L7 N  e6 i" a: L7 y$ C2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return rpc_common.ConnectionContext(self._connection_pool,
- O6 {, D0 U1 U, O$ r% g2025-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__
4 @. d8 \- u4 i2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.connection = connection_pool.create(purpose)7 T# \! c+ Z0 R2 {
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
- \. a0 Y* }9 Q( V2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.connection_cls(self.conf, self.url, purpose, retry=retry)5 {; c1 i  w- i# F7 U8 x' s
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__
: {- z9 s( T' X+ F3 m# ], j2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.ensure_connection()
5 M, f" X+ {/ s# P" ]9 H2 x4 C5 d2025-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  A' f8 x% b+ r! _4 i+ v# R0 Z" s9 ~
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self._set_current_channel(self.connection.channel())
: B; O' e! R' G& w$ Y, \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 channel2 o& v# n% q9 G( }# m0 l" `* U
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     chan = self.transport.create_channel(self.connection)% `! s# `) u+ }7 Q% w$ d( D- m: \
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
- A1 D# W+ K; h8 e9 v2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return connection.channel()( A. h8 w7 x7 Z% V  d
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/ v8 G1 Y3 V7 u. d* H
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     channel.open()
: o1 ^: Z/ b- y  u- w' N. B2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/amqp/channel.py", line 448, in open  V0 @2 Y, I) |" S; e, r9 S! }
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.send_method(
  Q+ P- ?! I: c2025-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" V& p- O' k! s, L. O$ o2 X
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.wait(wait, returns_tuple=returns_tuple)/ h5 @9 q. R8 b( `3 C
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
2 [/ D1 {. ^& N2 ?* l2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.connection.drain_events(timeout=timeout)
5 p1 k  l" t/ @% [( y6 C* a0 L5 ]$ n' M2025-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_events7 a8 C6 x  [3 q0 d) G* O
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     while not self.blocking_read(timeout):
/ l. W/ y' J: K8 H; k3 E2025-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
5 S$ O# G, }0 ]0 N5 {2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     frame = self.transport.read_frame()8 y0 t3 _* q% O/ h; v! k
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_frame2 p7 e$ @" |6 ^! z. u1 q* `$ r; y
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     frame_header = read(7, True)
6 K5 A' K, G: G( h0 o2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/amqp/transport.py", line 637, in _read8 L2 X6 s. D: F# [' H
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     raise OSError('Server unexpectedly closed connection')  W' g' s8 `" o: q* |
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service OSError: Server unexpectedly closed connection
( ?3 ~' k3 t" f0 w2025-02-25 17:17:38.959 23976 ERROR oslo_service.service
  C% [7 Z, m8 w, A) @: x, j, x+ e! N2025-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: E8 E' y6 t% ^3 Y% e
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
9 ]- h2 m  a3 l: `$ c! J* k+ J; ^4 q2025-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
2 Z" X& m+ ?8 u8 ]& y- p3 ?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
0 B: S: X, [( ~, H" U) V4 C- R2025-02-25 17:17:39.901 22849 INFO oslo_service.service [None req-795f57b5-2f1f-4103-a1eb-509caf8e73a4 - - - - - -] Child 23972 exited with status 16 q3 x% |% t% O# u; R3 q6 u
2025-02-25 17:17:39.902 22849 INFO oslo_service.service [None req-795f57b5-2f1f-4103-a1eb-509caf8e73a4 - - - - - -] Forking too fast, sleeping
# q7 A) l4 n) @9 j1 i$ ]# `1 M5 q) J2 o/ X) c1 q1 _
# x7 S) Z% R  V1 e& X

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-2-28 10:33:44 | 显示全部楼层
重新审视下nova.conf配置文件:7 N9 v9 R% z  r! f! E' b9 H

4 C& w5 r+ z1 r; B0 j[DEFAULT]
# v+ F9 ], d* ~% p7 S7 jdebug = True) s/ Y/ t* _" f4 F& ~, a9 w
log_dir = /var/log/kolla/nova, ?1 U8 I# R6 N) }$ u  o$ @
state_path = /var/lib/nova+ H: f1 H: `/ w
allow_resize_to_same_host = true
6 Y1 U( G! k6 Z& w* g& |; N8 vcompute_driver = libvirt.LibvirtDriver
& N2 c; H/ A  l1 T' tmy_ip = 172.27.11.38( g/ b4 Y* Z; Y7 m7 l( U5 Q
instance_usage_audit = True
0 a& J) k5 t! d+ P7 i; h# B- E# oinstance_usage_audit_period = hour& x7 i/ I" ]" w+ [0 V0 |& K
transport_url = rabbit://openstack:yvEiq9inxvblL@172.27.11.36:5672,openstack:iq9inxvblL@172.27.11.37:5672,openstack:Eiq9inxvblL@172.27.11.38:5672//
; u! s, ~0 q5 e3 X+ Uresize_confirm_window = 60: \; h% J* m4 c, h" a/ I/ ]

+ P1 w- T/ V6 F7 d% Y; I7 p[conductor]
2 j2 n# M1 c  N/ d- bworkers = 5
/ L, w) k+ A: l2 Q. D; F& t
5 O, _% P/ A4 d  q[vnc]( Z' i% v1 O. W* |7 H
novncproxy_host = 172.27.11.38: A' e& y" D% w  {; B8 ]
novncproxy_port = 6080
* [$ n2 W" G* b3 Y7 vserver_listen = 172.27.11.38
3 t; ]5 r( r: rserver_proxyclient_address = 172.27.11.38
; b% E. {( Q8 O' Y; @, k, S7 Q# K4 q+ F- }" G# z0 W4 t
[oslo_concurrency]2 ~0 a/ ~- M" o0 E3 q  a) F0 N: D
lock_path = /var/lib/nova/tmp6 H* `  M4 P! \: t
5 H* D3 `4 Q3 U
[glance]
- O3 t- x$ z; Z8 Y. Vdebug = True
, c. o( F3 q) q( o# |: ^! g8 _api_servers = http://172.27.11.88:92920 X, z+ s8 y+ a
cafile =8 o$ p* i" C3 y  y& [: Y/ |% P7 z& G
num_retries = 37 E5 j; j2 m5 g9 V3 e
0 g6 K' `/ h( b6 [8 {1 b
[cinder]
( n2 H, @, Z( X. V3 ncatalog_info = volumev3:cinderv3:internalURL0 [6 P% ~1 j7 W( J
os_region_name = RegionOne6 o- |0 _& E! ]4 S# M
auth_url = http://172.27.11.88:5000
( y3 L5 L! {( ?' A; F- ?- z; U  zauth_type = password6 O' n: d, a" F4 H2 a5 q( I
project_domain_name = Default2 H- U7 c+ P$ P1 z' ~1 N6 o
user_domain_id = default  k, s& @& N/ \& U  W- B, P+ M  t
project_name = service) d* T! [$ T1 i
username = cinder
( ~* E7 [. L% H* z- d  u- D* Vpassword = Kc2XVRBveUwBSmr- ]: i, X) M5 p
cafile =' K! |% G- q1 V# h8 ]# T' @& d
( F" {2 D2 D3 A, u: L; \4 ^
[neutron]
# o3 B8 i" p) ^" Y2 \metadata_proxy_shared_secret = COScZnT5e7BZJU! H+ F7 q, ?: Y. ~* a/ x
service_metadata_proxy = true" R: p2 D; h4 [, Q5 ?# l
auth_url = http://172.27.11.88:5000
! R, T& T+ y0 B9 O; ]- k9 L9 z9 wauth_type = password% X( k, R( ^3 z3 G
cafile =! Y, A0 d. l0 ]' o' P6 K! i
project_domain_name = Default
: Y. K2 Y! Y; quser_domain_id = default
5 K9 S& A4 u" {3 Y& ^9 n) l) O0 N; Fproject_name = service
- [. C1 q5 `/ nusername = neutron/ K) b; G6 b* R; @" x, G% \5 a
password = 2M4JUch6jYMJ
% I6 v% f8 g5 L3 [  j1 vregion_name = RegionOne7 K1 R2 `% G& t6 k& l2 ^4 D1 ^
valid_interfaces = internal
7 |0 N7 \( R) n: m3 B$ Q3 o6 p
) ~: e. d$ X  p2 A[database]
* y  f/ ?9 x' {connection = mysql+pymysql://nova:UCA6ltitkU@172.27.11.88:3306/nova1 [$ t- i" x% ?6 L
connection_recycle_time = 108 o7 f$ K3 C: q7 S' l( K
max_overflow = 1000
" @$ z* k5 a8 ~: l+ jmax_pool_size = 1
- _8 |" ^1 i9 P9 ]! W/ Rmax_retries = -15 t1 \5 ?8 e5 r. Z

4 u) x! A& L9 {0 h; g6 O9 f& }: E* F[api_database]
" h; K& K: }  B  |connection = mysql+pymysql://nova_api:9ATuRhyEr@172.27.11.88:3306/nova_api- K+ t% g" q( y1 X; b
connection_recycle_time = 103 G. N  r( ?& D$ V6 _) w
max_pool_size = 1
' g6 g5 E& G" \8 Q" p; D2 M0 _$ A5 Tmax_retries = -1
, i; ~! n4 j: n/ H& |8 X8 x; K- c3 P$ ~" L
[upgrade_levels]! |/ c3 f) z+ L& h1 S9 H% }7 q) ?
compute = auto7 g3 D! ]8 N, h$ a% O4 F' y
8 k3 `# J4 T2 L9 Z! p) r' e/ C
##主要是这个地方
, _$ e8 A& W6 K[oslo_messaging_notifications]# y. q" A$ ^* e' U1 _
transport_url = rabbit://openstack:q9inxvblL@172.27.11.36:5672,openstack:DWM1ayvEiq9inxvblL@172.27.51.37:5672,openstack:vEiq9inxvblL@172.27.11.38:5672//
+ \* m. M3 N) L, B9 idriver = messagingv2* n6 e2 x' h+ I! k, c  V
topics = notifications
8 O& P4 D4 s' k# e0 h' K; C; m5 P) L. F$ E; J) v3 ], N
[oslo_messaging_rabbit]
  W& Y9 H1 E& p7 \2 ?  Jheartbeat_in_pthread = false
" c4 @/ V+ D# {0 wrabbit_quorum_queue = true# s  Z. O+ T6 A3 F4 p

% t) G: {& ^) z0 M; n[privsep_entrypoint]. v) o" _% @) Y& m* m' H
helper_command = sudo nova-rootwrap /etc/nova/rootwrap.conf privsep-helper --config-file /etc/nova/nova.conf. C% }' w5 V7 y; Z& s$ W

* O0 g# Q9 _& O& h: {( l[guestfs]
2 |9 A5 b7 ~# g% K# I: Z* q! pdebug = True& I! S. D5 ~# F# O' H& k) y

% @  E' u4 L$ E# t5 j# A$ ]. A[scheduler]! \+ p3 G+ V, j5 B
max_attempts = 106 I, g' }! }' P* {0 G

7 w  @$ m: j" B1 S" J[placement]6 ^, {7 o( r  t; ?) _
auth_type = password
, Z2 G* f3 }2 t7 @auth_url = http://172.27.11.88:5000/ k5 ?8 M/ f  [' O
username = placement- @! j+ S% C9 C5 B, B& ?
password = NjPdQcmImG
  ]+ Q& Q7 z9 t0 `user_domain_name = Default
: b9 T; s+ y! \3 b' gproject_name = service4 y% x, n2 U$ r- M7 Q
project_domain_name = Default
# F8 i3 |/ j3 J1 X, S( Dregion_name = RegionOne
! ^7 q8 {* a: a; ~( J* r+ q) dcafile =
/ B; c7 i: l2 k* Rvalid_interfaces = internal
' }# ?/ M3 m& I- f& q, k
9 @# `  R3 o% O! L0 h: S[notifications]4 G& R4 k4 W9 u, R
notify_on_state_change = vm_and_task_state# |7 E, O1 U4 u) {9 b; M9 A
5 J4 d# g6 F0 O, d/ v0 K
[service_user]- C- k% ]7 ~9 f0 p$ c4 Q
send_service_user_token = true: ^! z$ J1 j. o* ^/ f. s( `
auth_url = http://172.27.11.88:5000
7 d# i- V7 H, p- I7 ], iauth_type = password, E! V3 Y1 r3 M6 `- [3 u! z+ t
project_domain_id = default$ ]% {2 {7 D, P1 A5 b# m
user_domain_id = default
9 w. v! _/ R1 h' g! G* L  ^" X  a) Mproject_name = service
, n% [2 U/ ~- }. Musername = nova
/ P* i' o1 Z) mpassword = 3kt5fJe4rRZv0
0 |4 s9 @9 N% ]. u9 i1 ncafile =6 o7 \; l8 d) i% M! W9 p! U
region_name = RegionOne7 `, z! N: ~$ h6 Z' t
valid_interfaces = internal  n* X- O+ Z. J5 J9 |7 E! d2 x. z

6 b; l4 J) I6 Q$ }3 @[libvirt]' n' V" U2 ~/ B, q
inject_password = true* E2 |7 ]2 E; }8 Y7 R0 X: U8 g

- k+ L# _) J! y( S/ m" v% z7 M( O[quota]
2 i/ ], n' N8 S; uinstances = -1: v* P4 Z# q. k8 z4 s
cores = -1
8 P* Q  R5 |2 H" t2 rram = -1
, J( g) C1 S: |injected_files = 32# r3 R% s" c' c; @4 a
server_groups = 128
, `1 ]8 @7 E" x' ]' Oserver_group_members = 128
- D8 `0 b1 s+ k& F/ l* z0 g0 N, C/ F- h3 W3 X2 D
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 03:26 , Processed in 0.020079 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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