易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 18|回复: 2
收起左侧

nova的conductor启动失败 问题处理

[复制链接]
发表于 2025-2-25 17:00:50 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
2025-02-25 16:53:48.538 20787 WARNING keystoneauth.discover [-] Failed to contact the endpoint at http://controller:8778 for discovery. Fallback to using that endpoint as the base url.4 p! X2 K  @- n/ E5 c" d
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 V0 d" X0 O1 l  L" {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.; a2 d+ l+ Q6 Q; G$ k6 ]! ?
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.8 D) s: h0 S; W& f( N2 i* R( [
2025-02-25 16:53:48.549 20787 CRITICAL nova [-] Unhandled error: openstack.exceptions.NotSupported: The placement service for controller:RegionOne exists but does not have any supported versions.
2 `4 X+ Q( a7 [- ]2025-02-25 16:53:48.549 20787 ERROR nova Traceback (most recent call last):0 i. }# W. _. O
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/bin/nova-conductor", line 8, in <module>8 ^/ x, g# ]; R7 h( ?
2025-02-25 16:53:48.549 20787 ERROR nova     sys.exit(main()): ~- |2 e/ c$ M/ z4 _* h6 K
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
$ K' i6 D8 I" m5 D) c- R2025-02-25 16:53:48.549 20787 ERROR nova     server = service.Service.create(binary='nova-conductor',
8 S, n, N( z  O& D1 _5 R2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 256, in create) x/ W* B' g2 g+ x# x$ C* M: E/ V
2025-02-25 16:53:48.549 20787 ERROR nova     service_obj = cls(host, binary, topic, manager,; w7 ?1 P$ K+ t; e; n1 ~1 y# |$ 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__/ w- L& T4 X" O  x/ w
2025-02-25 16:53:48.549 20787 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)
: g$ o5 R* V/ G4 t6 n+ _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__
4 V: A3 i8 l# x; e. e2025-02-25 16:53:48.549 20787 ERROR nova     self.compute_task_mgr = ComputeTaskManager()0 v& m  x- P& R3 _
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__: P- l- W  q4 N9 a
2025-02-25 16:53:48.549 20787 ERROR nova     self.report_client
# j( l5 b1 K- U9 g6 c4 b4 H% j& `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
8 E8 v9 {( D7 H- a9 I8 p$ h2025-02-25 16:53:48.549 20787 ERROR nova     return report.report_client_singleton()
6 M' P6 B5 p/ M1 k5 k  d8 J! c2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/scheduler/client/report.py", line 91, in report_client_singleton
5 `( B1 a3 L% J9 x3 H: A4 u2025-02-25 16:53:48.549 20787 ERROR nova     PLACEMENTCLIENT = SchedulerReportClient()9 t  s! C, q3 [6 H7 c1 a( U
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__  X6 Y7 d: A  Z$ x" [
2025-02-25 16:53:48.549 20787 ERROR nova     self._client = self._create_client()
, r0 [* @/ s& v) U2025-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
* O# v0 P% e) P/ A; {# n1 R1 \$ r2025-02-25 16:53:48.549 20787 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
2 ~3 C/ C6 r$ K: W( h: _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_adapter6 {7 e4 J" R9 p7 t* V$ c/ v5 d
2025-02-25 16:53:48.549 20787 ERROR nova     return getattr(conn, service_type)$ Z; I& g5 p+ T
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__* Z8 r- d, F8 p# r/ L- ~$ w! t
2025-02-25 16:53:48.549 20787 ERROR nova     proxy = self._make_proxy(instance)
  t3 w1 @& b& b( J1 P: [) N2025-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
/ k' A" m/ R* N1 {0 d, V, Z6 i2025-02-25 16:53:48.549 20787 ERROR nova     raise exceptions.NotSupported(8 F; t$ z) J. D/ o' o: Q5 V
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.3 \( a2 b8 w2 f4 Q5 e8 f0 x
2025-02-25 16:53:48.549 20787 ERROR nova
1 J6 P% n2 j, s6 U' m0 U2025-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.
6 `6 M5 h. v7 b0 `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.
) u9 s: C4 B2 i2 V3 M7 C2025-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.: r) s8 N8 s( z- Y9 a
2025-02-25 16:53:51.994 20790 ERROR nova.conductor.manager [-] Fatal error initializing placement client: The placement service for controller:RegionOne exists but does not have any supported versions.: openstack.exceptions.NotSupported: The placement service for controller:RegionOne exists but does not have any supported versions.
7 d6 d. q! c9 a9 b7 \3 e+ N# P2025-02-25 16:53:51.995 20790 CRITICAL nova [-] Unhandled error: openstack.exceptions.NotSupported: The placement service for controller:RegionOne exists but does not have any supported versions./ S/ z# g; \" d7 g) |3 d
2025-02-25 16:53:51.995 20790 ERROR nova Traceback (most recent call last):
4 ?+ [' A) h" W7 @9 {: I- V, D0 v2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/bin/nova-conductor", line 8, in <module>  q% n2 D+ H; U, D& `9 V9 j
2025-02-25 16:53:51.995 20790 ERROR nova     sys.exit(main())! J% n3 O6 G7 h5 S$ z
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
% @, K+ a- R- g% ]2025-02-25 16:53:51.995 20790 ERROR nova     server = service.Service.create(binary='nova-conductor',
1 a- W' S, ^4 x, B4 s# x* p1 h/ O3 D* V2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 256, in create
( I+ Z0 W6 N; b) V6 p+ o) d2025-02-25 16:53:51.995 20790 ERROR nova     service_obj = cls(host, binary, topic, manager,
. p+ A* K' d% x2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 120, in __init__1 k# t& ~  u$ r5 r( A6 V, j
2025-02-25 16:53:51.995 20790 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)
  Q* o8 E% x2 E( x: v2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 124, in __init__$ K/ ]' H8 @3 k" q3 m4 a& T( {
2025-02-25 16:53:51.995 20790 ERROR nova     self.compute_task_mgr = ComputeTaskManager()/ U6 j# e/ h1 Z! d$ o
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__
. d9 L9 p1 N: B. I2025-02-25 16:53:51.995 20790 ERROR nova     self.report_client
8 A9 k9 p5 |) f' U1 e! q2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 283, in report_client3 I: h( h& T" [( Q3 u% v
2025-02-25 16:53:51.995 20790 ERROR nova     return report.report_client_singleton()
& M) r2 w9 v. k& _. X2025-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_singleton4 b9 a2 X9 t/ l! c9 T
2025-02-25 16:53:51.995 20790 ERROR nova     PLACEMENTCLIENT = SchedulerReportClient()2 q6 c4 a6 H; M0 h* s4 S# G
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__
; E; f3 K8 _* J: E+ P2025-02-25 16:53:51.995 20790 ERROR nova     self._client = self._create_client()& d4 Z  c1 E, p
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_client6 b* K+ ?0 w/ x- H& _
2025-02-25 16:53:51.995 20790 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement'), {; B2 \! b" f
2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/utils.py", line 995, in get_sdk_adapter  v) y; T' |: T  O
2025-02-25 16:53:51.995 20790 ERROR nova     return getattr(conn, service_type)7 l" S0 r0 G% \  `6 X9 M
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__8 R/ S$ c4 D- g8 k7 J
2025-02-25 16:53:51.995 20790 ERROR nova     proxy = self._make_proxy(instance)( a. n8 E! s. t5 F
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_proxy! I' k% b" A1 ]
2025-02-25 16:53:51.995 20790 ERROR nova     raise exceptions.NotSupported(
, z- L7 w8 e5 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.$ G2 I0 C* y9 u
2025-02-25 16:53:51.995 20790 ERROR nova
0 c6 N3 c& o! M
0 f7 B! \4 ~$ G
; U7 E& q7 o$ `7 T4 j7 |# j6 T* _0 K
一看失败了;
. |  J7 D' Z& I+ p& j4 G5 U1 c" o1 @1 N4 ~
2 f$ M1 T5 ?: s4 V7 t$ r) |4 ?
[root@controller ~]# curl http://controller:87781 }. ]8 D- s3 e! ^; T+ _. u
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">: s; [1 C. Z0 `
<html><head>
' u/ I* i* h+ i: h$ T: i/ {<title>500 Internal Server Error</title>
8 J7 ~$ T$ s7 x( ^) N6 q</head><body>/ O. u3 I" N9 e4 R- P
<h1>Internal Server Error</h1>
* D9 n6 p! a9 `: L8 [' M<p>The server encountered an internal error or! ?5 z9 y5 U: d7 v) i2 h
misconfiguration and was unable to complete
/ j2 E5 X1 k9 lyour request.</p>9 v+ f/ F, W+ s: |# }
<p>Please contact the server administrator at
9 f5 V- j, |; Z; v( d# a9 B8 F root@localhost to inform them of the time this error occurred,2 ^- F1 J( N$ }1 D4 m
and the actions you performed just before this error.</p>) h$ @7 u( z  c5 }- J" }# r
<p>More information about this error may be available5 U' c$ ~1 M* W9 ^. C' O2 W( A
in the server error log.</p>
( Z0 r7 p( \& v- k, V  D</body></html>/ H5 U4 V7 O1 L) I& A7 h; J  W7 E! T
. u1 o, y- t. d

9 y, J$ m) j, M8 Y
4 f- c0 m+ ?4 D" @! [% j/ k4 D5 c端口也通
: k& P( S3 k+ V8 Z/ P* g  A; P1 |' t% F
* q2 C0 Q3 @5 x1 v[root@controller ~]# telnet controller 8778( l+ L! \9 {' @/ i) z
Trying 192.168.8.196...
: H# g! v% p2 i, A* |- @+ f. i. F3 T" KConnected to controller.# \; x/ T/ X: _8 m) e
Escape character is '^]'.
. {) W$ ~; p2 m1 U: d! }
" V+ _; y+ [. {. W5 p( M1 G# q8 S2 F
  F% X, r3 D; A
 楼主| 发表于 2025-2-25 17:22:17 | 显示全部楼层
发现placement 有报错,检查日志发现$ O( |' f" m5 P

6 V: h- r* B8 d2 f# ]+ H$ P[root@controller ~]# tail -f /var/log/placement/placement-api.log
, {' a6 f# [2 k: O    _setup_logging_from_conf(conf, product_name, version)3 G0 y+ r7 ^; D1 b6 j
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf( m* r% i" i& x( o* I% c7 R
    filelog = file_handler(logpath)
. L4 E. k) o$ r  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
/ n4 M1 z1 \# c: i3 G    logging.FileHandler.__init__(self, filename, mode=mode," f; _& W6 o( |) ~! X. U
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__! U5 B! F( }* x, c
    StreamHandler.__init__(self, self._open())
9 A5 E7 w- r+ I1 L  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open" L" [+ G; W8 H" H6 ?1 n
    return open(self.baseFilename, self.mode, encoding=self.encoding,9 t# n1 ^% C/ L: w2 i
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log': }2 e6 z% q, `8 e
mod_wsgi (pid=13891): Failed to exec Python script file '/usr/bin/placement-api'.4 H+ [/ B) _  N9 M  ~5 ]
mod_wsgi (pid=13891): Exception occurred processing WSGI script '/usr/bin/placement-api'.
3 b' F. A" |3 b0 s) \2 HTraceback (most recent call last):
4 ^) D/ ^/ `( K  File "/usr/bin/placement-api", line 52, in <module>) p  _0 R9 N4 t( I2 K0 K
    application = init_application(); q; v% a3 B" h4 b' y& c
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application  m* {: `7 G9 A9 D1 u6 }  v* @+ I
    setup_logging(config)
1 T" v6 Z( h7 ~' r% r6 A% G  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging. G% b8 W. d. C/ g% P( V
    logging.setup(config, 'placement')5 h, v/ i1 N: e) R+ M# r
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
' b9 \: w# Y2 Q; {+ z$ m6 C! U( m6 p    _setup_logging_from_conf(conf, product_name, version)
- o' Z3 y! f; A1 l  N& i; I8 U  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
% f7 l/ k5 }# x' S3 o    filelog = file_handler(logpath), d3 c" Z9 o& k, u
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
) J' u+ ], i, v/ N/ S" k    logging.FileHandler.__init__(self, filename, mode=mode,
  S$ v6 Z6 ~( U$ C: E  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__. O- H' S- t; M' b" ]
    StreamHandler.__init__(self, self._open())
2 O% b( O& c; l. e; [$ O* l  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
( e- _$ x) z! R$ M2 u# K/ ^    return open(self.baseFilename, self.mode, encoding=self.encoding,3 B- p1 ]+ N# M7 z) m6 g
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'/ }4 S3 ?" T& q  I2 k( G4 T
mod_wsgi (pid=13892): Failed to exec Python script file '/usr/bin/placement-api'.% D5 [( V/ [6 P, T' ?
mod_wsgi (pid=13892): Exception occurred processing WSGI script '/usr/bin/placement-api'.
: J0 Z* M3 n. o% W* ], O( l$ OTraceback (most recent call last):8 A) e9 s7 M* r
  File "/usr/bin/placement-api", line 52, in <module>7 K9 s  J- ^/ h. ^  H$ b- `
    application = init_application()
+ p1 A2 y6 K4 O2 d) R* N5 G  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
! G: N$ W4 b: o' C    setup_logging(config)5 a7 H, Z# N9 A' Y3 E9 k" Q; s' K
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging% Z- w3 }) w7 y, p: _5 p, S$ P
    logging.setup(config, 'placement')) U" a$ N" w; O- _  J
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup( Z' k. }$ t& U  r! Y
    _setup_logging_from_conf(conf, product_name, version)
* B! j& m) v" T0 L# _; s& i  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf8 r4 @, f# \5 q
    filelog = file_handler(logpath), p" i* b$ W2 g1 g; W% F/ P
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
4 J9 f  G4 G& E' z7 l7 G    logging.FileHandler.__init__(self, filename, mode=mode,2 }' u7 {, o- j0 F
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__% E! r2 ~' P: }6 ]* o* m' Q4 V0 ~
    StreamHandler.__init__(self, self._open())
1 L* Q& [  b2 q6 S0 ~  {, K8 C  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open  c7 X" b% S* @/ K; ^5 B  j
    return open(self.baseFilename, self.mode, encoding=self.encoding,  }9 \  a9 N1 o" v- K
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
% _2 G7 U( x8 d  |' A
+ o8 O. }4 M2 K# l! m) U4 B3 q- X7 ~* L7 J1 Q4 T& f# @
mod_wsgi (pid=13893): Failed to exec Python script file '/usr/bin/placement-api'.
/ Z2 b2 m) F8 e- A. T6 ^mod_wsgi (pid=13893): Exception occurred processing WSGI script '/usr/bin/placement-api'.( |: m3 M3 S+ y: _( a
Traceback (most recent call last):) ~1 ?/ f6 ]0 y8 A5 i/ _5 k/ G
  File "/usr/bin/placement-api", line 52, in <module>
' G# y& v# |( I1 T    application = init_application()
/ C2 P2 O5 Q% _9 u: o# B  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application# K' k6 K5 Q! t7 F
    setup_logging(config)" T9 `% X/ c: O7 ?
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging2 u2 M& P9 m- J
    logging.setup(config, 'placement')6 T* d1 E( s0 h( P0 N* n
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup* I5 e1 B. q6 P& L7 y  {+ |
    _setup_logging_from_conf(conf, product_name, version)% j. p* R6 V% G% n4 ]0 `* k
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
+ U( R$ u7 {1 J; Z" |! Y; Y. W/ d    filelog = file_handler(logpath)
. g" b9 X" Y" W( S  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__; p0 A6 }* Q+ O+ {, a9 @
    logging.FileHandler.__init__(self, filename, mode=mode,0 u+ ^; A% |3 h
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
) f2 F  N: A9 @. {    StreamHandler.__init__(self, self._open())
* j' e% H# S# h% b! K  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open8 S& H" ?8 Q" l  _4 c
    return open(self.baseFilename, self.mode, encoding=self.encoding,
: e  Q. b) N# X0 SPermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
+ ^6 A6 L* y& `$ J8 wmod_wsgi (pid=13891): Failed to exec Python script file '/usr/bin/placement-api'.! b/ ^; v& k9 g9 m4 j6 h. B
mod_wsgi (pid=13891): Exception occurred processing WSGI script '/usr/bin/placement-api'.! f6 T  `$ P8 {* X) U& v8 s
Traceback (most recent call last):
2 T% }' Q  A* P+ j& u) \# n( i  File "/usr/bin/placement-api", line 52, in <module>6 l9 `: q1 w. t. F' ]- _
    application = init_application()
. j8 s. m1 G# i4 B9 W  F  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application, `( r. N6 q1 q& N5 n7 D# R
    setup_logging(config)4 T$ t" r" I: ]* o  w7 R1 {' l; C
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging! n4 f! R" ^5 K" K2 ^( o" g
    logging.setup(config, 'placement')
. h3 Q7 w& z; g  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup4 n1 X- B) p- O; u6 r& R
    _setup_logging_from_conf(conf, product_name, version)
/ w# ~- K& p8 \. }3 i  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
" w, j- y* a% L* x2 D    filelog = file_handler(logpath): b8 R( Q/ c7 {: T5 E
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
9 @) Y  @) c3 t! ]$ |5 Q( A    logging.FileHandler.__init__(self, filename, mode=mode,4 k- s6 n9 P) B  I. W  F
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__2 V: D4 o* n: \# |- h! i
    StreamHandler.__init__(self, self._open())
( `7 ]: X2 q) A6 J+ B' j( s, I  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open& r% O8 H6 B" B* t+ O
    return open(self.baseFilename, self.mode, encoding=self.encoding,, n1 D9 O/ _' u7 |  s
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'" `  Z$ V/ Z5 s2 M/ c( `+ q
mod_wsgi (pid=13892): Failed to exec Python script file '/usr/bin/placement-api'.$ h& O5 L7 y/ G' J
mod_wsgi (pid=13892): Exception occurred processing WSGI script '/usr/bin/placement-api'.
7 C: D0 Z1 n9 y+ |9 L1 h3 kTraceback (most recent call last):' I$ c$ u/ q# T3 L
  File "/usr/bin/placement-api", line 52, in <module>
  [" a2 G5 Q$ B    application = init_application()
5 e* Z6 s8 K' b9 R  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application+ K! S0 K5 h' F; \9 M' D
    setup_logging(config)- [5 a  n& N2 r3 u( o0 h2 o4 A
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging4 M' ]8 r, K1 b: F; g( k- k
    logging.setup(config, 'placement')
8 l7 \+ Q7 B. U  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup) k+ l5 j% U+ A6 F
    _setup_logging_from_conf(conf, product_name, version)* q# A( U% ~: q) {" X" E1 H  i
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
/ ^4 d( b" g' U8 L1 G4 e* F. C    filelog = file_handler(logpath)
! n% m/ K9 @7 N7 {1 _. M! R  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__% z7 g. t8 B& Z' A0 a
    logging.FileHandler.__init__(self, filename, mode=mode,
6 k5 `* L9 E1 ~; X, \4 R  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
0 i1 i% K$ Y6 O1 k" M    StreamHandler.__init__(self, self._open())
8 H* f, U2 {6 T+ y6 T9 Q6 k  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open# \, c, x, u% n% e) _: ?- N1 @
    return open(self.baseFilename, self.mode, encoding=self.encoding,. W' s* T, W- O9 w& x
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
4 v- h! q- e, H" _# Jmod_wsgi (pid=13893): Failed to exec Python script file '/usr/bin/placement-api'.6 p% T5 n( a% p! B
mod_wsgi (pid=13893): Exception occurred processing WSGI script '/usr/bin/placement-api'.0 }: S( G+ T8 d% ^
Traceback (most recent call last):
$ h5 \6 n; h' @* P' R  File "/usr/bin/placement-api", line 52, in <module>: ]& q- O' J7 b4 O7 _; d9 _
    application = init_application()
( Z0 d7 x* H5 n* `0 W% s* f  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application- X7 O9 V( @+ L
    setup_logging(config)
& A8 M' `4 M' s- a) X0 c  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
' F1 C# ], E' X/ ]8 @+ U, @    logging.setup(config, 'placement')
! Y* {& p0 P/ u! E, o  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup. m8 q( z5 b2 y+ A
    _setup_logging_from_conf(conf, product_name, version)  Z6 [* x9 l; b( X' S7 m
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf: h$ g" o5 B3 H' O8 \
    filelog = file_handler(logpath), N( D- p: N% m/ a  G5 ^/ Y# J
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__- ]  ^/ a9 t1 O+ A. A
    logging.FileHandler.__init__(self, filename, mode=mode,) l( [* M( |: B' \- T( H% w
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
$ d% A/ x. q3 N6 {. m    StreamHandler.__init__(self, self._open())
" k- f: z/ N" A) T. P/ g  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
, Y9 m% j2 v1 U4 c2 A    return open(self.baseFilename, self.mode, encoding=self.encoding,. l% T; h6 O/ |7 A. `. h9 g& @
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
4 A2 {7 x1 C) V: k^C0 f9 H- C* I! v4 B
[
' Z. I! M  l! e( [
  @# s- W" l4 h- M/ D! S+ _[root@controller ~]# cd /var/log/placement/
% q9 o! K/ R* S: L+ I3 K4 @( a& X[root@controller placement]# ls8 R$ h" T, X# r2 |9 ]; m* j; I
placement-api.log9 ?2 {8 e0 b  y- b: Y' }+ d
[root@controller placement]# ll# m+ ]) d; }1 u) e
total 11844
' j, K6 y; R& k, _3 d0 F) t7 i-rw-r--r--. 1 root root 11889861 Feb 25 17:10 placement-api.log) G, G! \* Z# R2 O
) P4 {$ }& w! e5 g3 k* @" f
# E! d2 t$ E3 k- L1 I/ Z8 `% ?
total 118445 e" m! x2 K! ^  m3 P- y& G
-rw-r--r--. 1 root root 12075765 Feb 25 17:12 placement-api.log+ }$ k3 v0 Q7 D, T

  T% t2 O) b( R& d0 H权限不对,修改下权限:/ o, e. Y& X5 q3 @

$ C  n# U+ J0 W) r+ w7 g[root@controller placement]# chgrp placement placement-api.log
* @5 [. E9 H: I7 F- Z: u1 ^[root@controller placement]# ll5 j$ @; E8 G. z6 E" f8 `
total 11844( A% ?# P7 i4 w6 g$ ~& ~( n
-rw-r--r--. 1 root placement 12114495 Feb 25 17:12 placement-api.log
' |6 n, X. Q+ s6 u8 L8 S9 h  p5 u9 H0 E& f9 S9 [7 I
tail: no files remaining
0 b& |4 i, U/ X" f
# p+ {$ F" M8 {  P" E
- `0 M# v5 J: x& D, r$ B4 ~" z4 B/ \: B* B8 A( E
重启下httpd服务:. V" \; z, |/ o+ r
   
$ G8 q- X4 w1 q[root@controller placement]# tail -f /var/log/placement/placement-api.log% ~+ ~6 w( w. U% S

+ p2 t1 ^0 V; m0 a% f: r9 s# ?& r% n$ o4 D! ?2 s
再次检查conductor日志。发现告警变化:& q; A5 J5 D$ N6 m: \+ H, m/ d

7 M* [+ i1 G$ d
. O5 S! Y' [5 ]1 a7 O3 S
8 }) a9 y+ |( k) T+ }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/ [( s+ A0 t5 r, o% Y
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
1 C  W0 t1 J# T4 q9 _% a$ S- `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
0 {. d( B* W6 a: d/ O/ l5 K. H2025-02-25 17:17:38.959 23976 ERROR oslo_service.service Traceback (most recent call last):/ N* t4 j0 l5 x) |3 _
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/amqp/connection.py", line 515, in channel
% d/ {" S/ g' z* }8 v  M8 Z2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.channels[channel_id]+ @7 b: t: |$ x' }6 N4 s% K+ D
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service KeyError: None
2 u2 J8 Y% |8 Z7 ?2 x2025-02-25 17:17:38.959 23976 ERROR oslo_service.service & X! `( ~  c) O. P( O. E% X
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service During handling of the above exception, another exception occurred:. e3 @# G$ ]% h# n; W( |
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service 8 S* Q+ X$ K5 P9 `1 t1 y
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service Traceback (most recent call last):2 D, {+ J3 E# s* f7 D3 |
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" j% J. k) q' {# l8 F6 e- x* K
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     service.start()
- I# _" G1 F* \  v& p2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/nova/service.py", line 199, in start7 {# @# h5 [2 z3 b- N# V
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.rpcserver.start()
6 O3 b1 h$ o) W1 W! s' M2025-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
8 o) ~3 H5 X4 b* Z1 t7 c  }7 ]2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     states[state].run_once(lambda: fn(self, *args, **kwargs),5 M. q# w9 R7 c) p0 Z# U6 X6 O; I
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/server.py", line 188, in run_once" k* d6 f. N* m0 U5 u
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     post_fn = fn()
! `+ S; Z6 K  z6 k2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/server.py", line 267, in <lambda>8 f2 s6 Z3 E' U! P# X( R3 W$ k8 ^
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     states[state].run_once(lambda: fn(self, *args, **kwargs),  C) ?) i4 l! n/ V
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/server.py", line 413, in start- O0 I2 I9 S4 ]: w* ?+ q2 Q
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.listener = self._create_listener()
) r9 d( c) N8 o6 i- H; 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_listener: ~5 o8 o. V  _5 E1 E4 S8 R% y: b* y
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.transport._listen(self._target, 1, None)
* v+ k" ?2 {9 b) B& F+ X9 I0 S  D2025-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 _listen9 J% m, \) {9 C9 D) c! E+ f4 U
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self._driver.listen(target, batch_size,
' E3 H& G2 \( {' v; N2025-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
# o1 P" g: t! h1 y( C# s, z2 n2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     conn = self._get_connection(rpc_common.PURPOSE_LISTEN)
6 w1 w/ J9 ?) L: y( W2025-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_connection6 [, {# N5 Q* ?% G  y# T3 B
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return rpc_common.ConnectionContext(self._connection_pool,
" r' e; ]/ }1 A% \) t9 H  f; n) 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__: }" }% [3 z4 i+ l' r
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.connection = connection_pool.create(purpose)
! b* y- Y+ c& T$ M( x6 D2025-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! N9 v. i) L1 o% n/ b
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.connection_cls(self.conf, self.url, purpose, retry=retry)4 l* `. i% Y2 A/ b
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__2 ]: n5 ^1 R/ \
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.ensure_connection()
0 M# `6 P  J$ [. \  L) I. y! h) }2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 1060, in ensure_connection
4 T3 s3 T) M$ p* q, g2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self._set_current_channel(self.connection.channel())
# F2 c& _' B6 D" f8 V" V% P* |2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/kombu/connection.py", line 303, in channel. A  H2 s2 ?; ^- k4 d
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     chan = self.transport.create_channel(self.connection)
( o3 I' K& V* q3 I" I2025-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
0 x$ p' U3 n+ Q' U$ p2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return connection.channel()# A1 C! e4 r$ Q- n: B
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, F9 `( t- y* l5 g
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     channel.open()
: @) i& {. b+ [$ L  X2025-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* n. f: L7 Z; W  @% I# T
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.send_method(7 O& y; \6 B4 H! b
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
8 I4 `; U; ]' T4 n2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.wait(wait, returns_tuple=returns_tuple)
) t2 Y" I/ Q6 v( [% f2025-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
7 n# T: m/ w5 ?; l$ n$ X7 A2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.connection.drain_events(timeout=timeout)
2 w# V; z* x% h  _+ 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
! x- i/ i1 w& t6 V8 e2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     while not self.blocking_read(timeout):
0 \$ ~2 {) ~  z7 P: \! H/ z2025-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
. e$ r$ O2 j/ [* ^0 ]2 K) z2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     frame = self.transport.read_frame()
  @8 l7 l4 a5 _$ y$ \! u2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/amqp/transport.py", line 294, in read_frame: `0 V6 y$ N. z8 l8 b
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     frame_header = read(7, True)' S3 r' S% g9 c
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/amqp/transport.py", line 637, in _read+ I9 ]) {4 V* l2 T/ r$ {" Q8 J% C
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     raise OSError('Server unexpectedly closed connection')7 f* z: W* T" J$ P; K% G! v7 C! e
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service OSError: Server unexpectedly closed connection% {( W' }, V* e" i
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service 4 e! \8 K3 ?; C( Z
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
% G, D9 A9 G) ?* @4 Z* O2025-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
' n, K3 M5 w' J# g4 B3 g- K2025-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
9 R1 U' V( v; G7 ^/ R2025-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
! E) V6 [' t. |; n3 d" a" ]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
6 o# ~+ z3 ?3 ]4 H2025-02-25 17:17:39.902 22849 INFO oslo_service.service [None req-795f57b5-2f1f-4103-a1eb-509caf8e73a4 - - - - - -] Forking too fast, sleeping  G9 m0 A* J+ D& }

* F% ]! ~" A& h/ C1 E* s5 P1 b5 Q6 X' Q# U# e" u
 楼主| 发表于 2025-2-28 10:33:44 | 显示全部楼层
重新审视下nova.conf配置文件:; C' V7 V% C  c( D9 w1 t# b
4 K0 j6 G; Z4 j, u- d
[DEFAULT]
( v" K2 ?6 l9 x  Vdebug = True
7 W0 z: z2 r. v+ k% |! klog_dir = /var/log/kolla/nova
! N# F- T. h9 ~6 L# Rstate_path = /var/lib/nova
1 M& M+ K) S9 f% o" o3 x* B6 Kallow_resize_to_same_host = true% S* v* M3 j9 ^3 r1 H4 x
compute_driver = libvirt.LibvirtDriver7 M" s) m5 N+ L% H$ \# l
my_ip = 172.27.11.38) c$ e" n2 m" L" O. q2 D
instance_usage_audit = True
# K: C& c, c0 L8 winstance_usage_audit_period = hour
( N* M! o& |# I- c9 htransport_url = rabbit://openstack:yvEiq9inxvblL@172.27.11.36:5672,openstack:iq9inxvblL@172.27.11.37:5672,openstack:Eiq9inxvblL@172.27.11.38:5672//0 W. U9 n% m+ x2 A% U
resize_confirm_window = 60! v9 g4 s, ~6 ?  Q$ J) j

9 g# ~$ d- `* {1 R[conductor]  v9 b- ~+ P3 D
workers = 57 T2 F( x# O( c, O
0 P7 W& t2 Y+ T& ]
[vnc]
* h. c. a! Y% n* \5 unovncproxy_host = 172.27.11.38( g+ h" w- A' v( l1 {$ _$ q1 i) ?, ~
novncproxy_port = 6080
# M3 V9 Q8 h5 U# ^9 fserver_listen = 172.27.11.380 |0 Z4 e: S: ]2 g
server_proxyclient_address = 172.27.11.389 a: p8 F; L- a4 y+ _# f  P" W

& z. m2 d' g5 M" T. p& X9 B[oslo_concurrency]
) O* g( b/ t& X1 I* p7 j8 I! J# }lock_path = /var/lib/nova/tmp
7 [3 K+ b% y6 y$ g
% s9 v5 s& R' M* m$ \. J: O6 j# s[glance]
9 @9 X% Q( Z; f0 \debug = True* V9 ^* H$ H. _& m! w) a
api_servers = http://172.27.11.88:9292
( v  |5 m) ^( O$ V! e. l) ucafile =
& e4 j. T9 x' n: Mnum_retries = 3
9 I* Q- Y- E; C4 a% V: A, O6 S: N
[cinder]
! q# F' D0 W/ H0 Rcatalog_info = volumev3:cinderv3:internalURL
- K$ m$ ~, d* A* w4 w  R6 o5 hos_region_name = RegionOne
: m! b3 X7 ^# ]2 i) |1 F, d, dauth_url = http://172.27.11.88:5000
8 n+ B: L. E# e3 Rauth_type = password
( A3 I1 i, {7 `% Q1 H# vproject_domain_name = Default- Y% k$ d" d8 D6 [( @
user_domain_id = default" |5 ]  h6 X9 d. @0 c6 b; K
project_name = service
7 h1 v$ g* o/ P$ X4 Z' }$ H. m' }4 cusername = cinder
1 d) S" D% {+ W1 x1 Q! `4 w, C# Cpassword = Kc2XVRBveUwBSmr: W/ K' x( Y5 d9 Q$ \, ]2 T
cafile =' T% L' ]8 X1 a" X! a

" }8 D) o; q' J$ Y[neutron]
7 B1 \* L, V' t# C$ S/ qmetadata_proxy_shared_secret = COScZnT5e7BZJU
' l; q6 {: ~3 q; oservice_metadata_proxy = true5 K! d' |5 x0 @1 K
auth_url = http://172.27.11.88:5000
! O0 Q" R) B7 J- Eauth_type = password- I$ b# n& s( J; v, F
cafile =# A( K! |& o3 }8 w. J+ l
project_domain_name = Default: v/ U$ R# s: \; x0 W! y$ e
user_domain_id = default
6 F4 `! n; i+ D: w" w( M( zproject_name = service. H6 {5 j& r5 v) R$ l/ s+ v
username = neutron
: S* W4 L7 Q& |% e6 Ipassword = 2M4JUch6jYMJ* W( v  W( @0 E
region_name = RegionOne6 R% @4 D* K# J" V/ V& }: \
valid_interfaces = internal1 w3 e: X; l5 z: s
( U: Q& H1 z, }+ v& M
[database]- D$ p+ ?/ O: X* G
connection = mysql+pymysql://nova:UCA6ltitkU@172.27.11.88:3306/nova
3 o! Q' h( @4 A% F& {connection_recycle_time = 10, k$ F1 O: \# X1 j( F
max_overflow = 1000
" o/ k( ]. u- f0 X. k5 \5 kmax_pool_size = 1
  t& u  W. J1 c3 wmax_retries = -1! ^* B% ?+ q3 C  T; J) F) T8 k

; \7 p7 d# V. F3 ~& m. j2 i+ ?6 f[api_database]2 G) ~9 I+ L  g" ]: t
connection = mysql+pymysql://nova_api:9ATuRhyEr@172.27.11.88:3306/nova_api' W9 {+ }8 m7 v  @2 {& a
connection_recycle_time = 102 J& ]7 W& {; c4 v& |# c7 H0 O9 k* g9 g
max_pool_size = 1
7 K+ |' a3 W+ q) t3 Amax_retries = -1
8 t6 \1 ^6 l* `  J# u& b3 b3 N
' C+ r: G5 D6 A2 |0 Z% N[upgrade_levels]
( |3 H1 H2 |/ p$ S: J" O/ r0 [compute = auto
) s* k4 W7 w2 n, y; A; G9 Q, K& ^' z6 a* j, l0 c; b
##主要是这个地方
. W! f( t2 y7 l/ l+ K4 \* i$ }+ |[oslo_messaging_notifications]$ L5 h; v* F; A1 r
transport_url = rabbit://openstack:q9inxvblL@172.27.11.36:5672,openstack:DWM1ayvEiq9inxvblL@172.27.51.37:5672,openstack:vEiq9inxvblL@172.27.11.38:5672//; C' J5 E, I/ a" b# m9 u& P# E7 `/ T
driver = messagingv2/ Z, g0 u  H& M* }
topics = notifications; K% ~: d9 u! l! }# ~  D6 q3 ]8 ]
, f& p* u; d2 _  @
[oslo_messaging_rabbit]; U1 T# r# e$ C% c# ?
heartbeat_in_pthread = false5 u* v, `0 G2 I: O& Q: R9 |& O
rabbit_quorum_queue = true
& h9 b) S: ^" s% T* _6 ^0 H; ?; ~
[privsep_entrypoint]
) t; G3 v+ V& [0 c4 Zhelper_command = sudo nova-rootwrap /etc/nova/rootwrap.conf privsep-helper --config-file /etc/nova/nova.conf
% r8 `2 ^1 C9 `0 R' }
: t/ k5 L) g+ X; k[guestfs]1 w" a5 g- T/ f3 O, u' p! E
debug = True
- X; c$ G3 C, V$ j3 r
. ~3 G& g' g6 h+ `[scheduler]
4 y- `7 v5 W) x# g) M) ]. \5 qmax_attempts = 10
# W. P! h8 C; Y$ v' N3 n  H) t- C6 X* e( N3 R# M' V
[placement]8 E6 ~% c% n1 ?/ V8 J  p% o9 F
auth_type = password
- q* }0 U% N  g( Cauth_url = http://172.27.11.88:50005 `1 ]/ b! G5 ]% Y% l0 W2 u
username = placement
/ q2 Y# T, M/ X  w7 I( Y* H& Mpassword = NjPdQcmImG
* [% f! F& @6 v  Kuser_domain_name = Default  V4 a* }$ c) p# W. w; [9 r
project_name = service  x% I0 f' ~- K/ d* L) |3 |4 X* I
project_domain_name = Default
( Z. f2 l% D% _! q4 H1 D7 Gregion_name = RegionOne
( ?' _5 P# g- J2 xcafile =
, D5 P. r6 d6 M& A' S( W9 f; C: B; Xvalid_interfaces = internal0 t- Y+ r4 l# w; Y+ m& H
% [! N8 F  _- e4 B- c
[notifications]! F% ~+ {  J' V% ?" |
notify_on_state_change = vm_and_task_state
& J0 X' e. }4 c5 `  y
2 r5 s  H) T% y! ]: |7 g, `/ J[service_user]
0 @  G+ v5 p' o3 c4 ~8 B7 Isend_service_user_token = true, E$ {/ B& c5 D/ u2 s
auth_url = http://172.27.11.88:5000; r6 {. k* X! S
auth_type = password- m! c$ \- C/ r
project_domain_id = default
' u! E, N7 G' w! T1 Q8 t, ]  P3 S4 tuser_domain_id = default, k0 T6 _  s0 x3 s7 M
project_name = service; j& M1 f. I) s% |* M/ F# m- n
username = nova
- y7 Q3 o, D, Opassword = 3kt5fJe4rRZv0
+ a9 C; o1 K. A* K# V- Gcafile =* a0 u( m+ \/ s; I' M, b/ q1 |% D
region_name = RegionOne3 K% q) S* g3 e
valid_interfaces = internal
1 L3 P/ D( G$ x
- R$ A8 f, ~# b" \2 @[libvirt]
% j" H3 h) [% h, [" o; X. L, Dinject_password = true
6 P/ B! i6 o, }3 Z+ U  r
4 H3 k+ G" h, L/ B/ n, }[quota]
7 S* V! a) v$ g9 |& C& kinstances = -1; E" q+ |) s& Q; ^9 S7 a
cores = -1
3 P5 S' w9 b1 b& Wram = -1
. i' b* ]( \, N) ]3 ^( u, }# S+ Dinjected_files = 320 t1 c% b8 s; |7 Q$ f
server_groups = 128
0 Y" {' `0 d( v3 l+ tserver_group_members = 128' ~+ Q; j1 `& J$ ~( r+ a) Q' }5 ?
) h' O: c! e7 }1 m$ V% P6 A* w
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 19:57 , Processed in 0.049368 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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