找回密码
 注册
查看: 25|回复: 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.3 r! f- @5 X4 H+ ~. t* L1 d% r. ^
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.
2 Y. |6 D! p* T# \: Y1 H2025-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.
/ w. R1 q* R; P8 I2025-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.
6 n3 |& E+ S' z) p, B) Y% n7 B, F2025-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.
7 U$ c+ ?& i" g1 @9 n7 t, r# I5 t2025-02-25 16:53:48.549 20787 ERROR nova Traceback (most recent call last):
/ E/ \" W4 |! B2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/bin/nova-conductor", line 8, in <module>2 ?; h. V3 r: Q8 k7 Z
2025-02-25 16:53:48.549 20787 ERROR nova     sys.exit(main()), U  d+ i, N8 t: v. u
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" {. E/ p0 z$ R' |; z* B
2025-02-25 16:53:48.549 20787 ERROR nova     server = service.Service.create(binary='nova-conductor',, g' }6 z- D8 y) [2 D4 Y
2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 256, in create
- f2 K: J+ _: p) m2025-02-25 16:53:48.549 20787 ERROR nova     service_obj = cls(host, binary, topic, manager,) c1 i  T7 |* t0 d- Q9 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__* I; \$ R7 M6 X- \& c: x
2025-02-25 16:53:48.549 20787 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)
8 }( V; d6 p+ P; a9 L, ^2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 124, in __init__" w, X2 L; v$ F1 E, m4 \" I/ T3 Y
2025-02-25 16:53:48.549 20787 ERROR nova     self.compute_task_mgr = ComputeTaskManager()0 A2 b2 u. s0 \7 K: B0 c; ^1 T1 U3 L
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__
% Y; q! t6 v) L2025-02-25 16:53:48.549 20787 ERROR nova     self.report_client6 R# b/ A( k/ P% w1 w
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, l; h: Q5 v3 |+ _5 i6 V) b
2025-02-25 16:53:48.549 20787 ERROR nova     return report.report_client_singleton(); \$ ^! f, M) C% m
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
$ U% j# _) v, K2025-02-25 16:53:48.549 20787 ERROR nova     PLACEMENTCLIENT = SchedulerReportClient()3 w  f* l: ?* u- ^! w1 l2 }& d+ q
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__
( Y; H4 O$ Q$ m9 M) O- Y2025-02-25 16:53:48.549 20787 ERROR nova     self._client = self._create_client()  d, t' J3 H2 f
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: Z) @) a. g7 L) ~" m
2025-02-25 16:53:48.549 20787 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
- V1 y$ c. ~2 x4 r2025-02-25 16:53:48.549 20787 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/utils.py", line 995, in get_sdk_adapter5 Q* M2 z1 m' M& _) g* k( g9 l
2025-02-25 16:53:48.549 20787 ERROR nova     return getattr(conn, service_type)
3 r7 ~1 `% n6 B$ 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__7 v1 R& t+ W2 B1 [! A" \
2025-02-25 16:53:48.549 20787 ERROR nova     proxy = self._make_proxy(instance)
0 m) j0 s$ {" X9 |( Z2025-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
! P0 O' v& X7 {% c2 J# p2025-02-25 16:53:48.549 20787 ERROR nova     raise exceptions.NotSupported(
- T$ l% y* |5 H# f3 F2025-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.
& ]0 n% G, m4 c( U2025-02-25 16:53:48.549 20787 ERROR nova
5 C& h) ?. K* R0 t2025-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.7 \( I3 z" [4 N, S
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.
% |! r9 s4 e9 K% a% g2025-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.
* g9 B3 n! T, V+ ]+ I0 r2025-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.
' }9 i' U5 `& I7 {* k1 x2025-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.
0 ~) h. J& `$ @* w2025-02-25 16:53:51.995 20790 ERROR nova Traceback (most recent call last):2 B. {9 G4 ]* [7 U. H
2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/bin/nova-conductor", line 8, in <module>
9 z* M8 }/ _: I, V4 ^2025-02-25 16:53:51.995 20790 ERROR nova     sys.exit(main())
$ \6 Y$ {/ m/ I% f2 j6 O# C2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/cmd/conductor.py", line 45, in main- E: p: q' n. l: c
2025-02-25 16:53:51.995 20790 ERROR nova     server = service.Service.create(binary='nova-conductor',$ W: P3 C% y9 C# P; S9 y
2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 256, in create) w% s1 @* y( h) u+ M
2025-02-25 16:53:51.995 20790 ERROR nova     service_obj = cls(host, binary, topic, manager,
) N$ z5 B9 p# _6 l* ^2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/service.py", line 120, in __init__. j! F* t$ c9 A6 \
2025-02-25 16:53:51.995 20790 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)
; }8 e! J6 M* I; j* T2025-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 }4 Q* P2 A% C
2025-02-25 16:53:51.995 20790 ERROR nova     self.compute_task_mgr = ComputeTaskManager()
9 K- c* T1 X$ q' G  _9 J. l" ]/ M2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/conductor/manager.py", line 255, in __init__
/ S* b9 C; h8 U5 Z- |2025-02-25 16:53:51.995 20790 ERROR nova     self.report_client% I' E5 L0 j! m8 h' h2 ]
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* ~0 ]% \! Y- h
2025-02-25 16:53:51.995 20790 ERROR nova     return report.report_client_singleton()4 Y+ q( T  _) n. U- h$ G  w9 h1 E
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
$ H1 X. }1 t; e6 ~0 m1 h+ Z( i2025-02-25 16:53:51.995 20790 ERROR nova     PLACEMENTCLIENT = SchedulerReportClient()
5 H% P3 A( a2 o2025-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__. r8 K) \$ V& g/ |
2025-02-25 16:53:51.995 20790 ERROR nova     self._client = self._create_client()
% o( [9 T, i- _1 R: ~6 N$ [2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/nova/scheduler/client/report.py", line 277, in _create_client
7 y" F+ @4 T7 ?0 l2025-02-25 16:53:51.995 20790 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
" W* W2 \' f, q3 C( V) Y, 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. c3 `# q) f/ M, c+ p
2025-02-25 16:53:51.995 20790 ERROR nova     return getattr(conn, service_type)
3 q3 S; q, V! f3 s( }& z  D2025-02-25 16:53:51.995 20790 ERROR nova   File "/usr/lib/python3.9/site-packages/openstack/service_description.py", line 89, in __get__" u" J/ R, B2 f
2025-02-25 16:53:51.995 20790 ERROR nova     proxy = self._make_proxy(instance)
6 z+ a0 h8 S3 I2 |, T2025-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
1 S) x0 z0 z' _8 x. d% ~' [  r2025-02-25 16:53:51.995 20790 ERROR nova     raise exceptions.NotSupported(! d1 ?3 g( }( [6 _1 z  a- r
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.9 U# L; j6 N7 E" z, a
2025-02-25 16:53:51.995 20790 ERROR nova 2 J( ?$ f$ m" ?6 [* }. b

( z& g. h' p& w- g3 c4 I5 r
0 O' r$ I: h/ }* y
' e) b: R' p0 X一看失败了;4 {+ A' N% y9 d. O

9 E7 R+ y4 X: Q: o4 m2 Q" Q$ ~5 I( _! m( Y) w; P
[root@controller ~]# curl http://controller:8778
. q) b& I$ ]) Y# O+ T" i5 U<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">! d1 Z. C7 r" \: F. X. \, \
<html><head>
5 Q- o, \$ h7 R: P4 {4 I<title>500 Internal Server Error</title>
( X4 Y2 v' I% Z# Y1 U* |</head><body>
4 O- l( p# g. E% ^<h1>Internal Server Error</h1>/ r! F" G% I1 _
<p>The server encountered an internal error or! p9 ^  Q% ?$ T0 x
misconfiguration and was unable to complete
7 |# i" j$ [5 E/ u- I; j8 Myour request.</p>. r# i1 i  d* E* O, u, ~( w
<p>Please contact the server administrator at
, Z+ y/ p7 C9 o2 n( ~: _ root@localhost to inform them of the time this error occurred,
/ f7 M+ P( v: u. l& M5 I: O0 E! }0 | and the actions you performed just before this error.</p>
1 N3 ]2 n- S& N7 j( b, O) x1 H<p>More information about this error may be available" [3 i4 v, b; a$ |
in the server error log.</p>; h5 L$ u. v& D) l) W* D4 r9 Y8 \
</body></html>& S- A. W: [6 M1 |

. u9 o6 w$ m0 J' H+ A# z+ G+ A& Q4 H  X3 J3 G& D
  r5 T- _& w) Z
端口也通
5 n- t0 u6 S" r
1 P; k1 E8 l* s" u& @7 W, A[root@controller ~]# telnet controller 8778" J$ Q( o2 G% M- n3 m) M
Trying 192.168.8.196...
" Z0 _( j; K$ R3 x/ u0 P3 bConnected to controller.
' l+ Z) O8 }: I; O9 aEscape character is '^]'.
% |' q# d1 J4 K6 Z* B% j% B9 V- m# j7 u
5 o& Q8 y- N! h/ K$ }$ @

* i! j' D$ B8 P! \8 \* X8 b6 o

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-2-25 17:22:17 | 显示全部楼层
发现placement 有报错,检查日志发现
. m5 `$ Z7 ^  o6 s& B4 k( v
8 g+ d" O1 W2 S1 q$ O[root@controller ~]# tail -f /var/log/placement/placement-api.log
  n4 b8 g2 o% Y2 Y/ U6 W9 t9 g    _setup_logging_from_conf(conf, product_name, version)' q, F) G, Q7 Y; M  C6 h
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf& G9 \6 f# s# ~: j3 m
    filelog = file_handler(logpath)
5 @7 M2 D9 A: W0 w- H) h$ h  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
$ H- c+ S' E% x    logging.FileHandler.__init__(self, filename, mode=mode,/ p. V; \3 `2 o* R0 [7 G$ Q! g
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__- _; N+ F! S- T1 ?5 P' ~
    StreamHandler.__init__(self, self._open())8 v' C7 W1 G8 E: |3 ~
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
- E2 S% ~+ q9 |4 [3 M    return open(self.baseFilename, self.mode, encoding=self.encoding,
2 t) c# G& Z& S# ~3 r( LPermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'8 M: B# N' C' v1 }9 G2 o
mod_wsgi (pid=13891): Failed to exec Python script file '/usr/bin/placement-api'.4 H/ X9 P  }7 P" u/ G
mod_wsgi (pid=13891): Exception occurred processing WSGI script '/usr/bin/placement-api'.2 D3 y% V8 @& M* f' M8 O
Traceback (most recent call last):
. T: D% G9 ?+ S, K- W4 [  File "/usr/bin/placement-api", line 52, in <module>! L/ z- u4 h2 `; d, m
    application = init_application()
( ?- K0 J4 e+ R, J" d+ H  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
  J, b4 o/ V- a8 }5 x  N    setup_logging(config)# n; t; f, k8 {# }3 T9 v
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging& W/ B: Y, H. i  O/ f. y  Q
    logging.setup(config, 'placement')
1 z3 G6 O( l- l. v  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
! j! p, g0 V6 s' u    _setup_logging_from_conf(conf, product_name, version)
% {8 [1 H2 R" m4 b7 F8 H  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
; C5 K& B7 B9 R9 w2 g0 Y' O  H    filelog = file_handler(logpath)% @, z2 H) j- B+ v. H
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__5 `- O" R4 G$ ^6 _. }3 {% _
    logging.FileHandler.__init__(self, filename, mode=mode,+ A* i" S6 ?6 G
  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
3 w: f  R2 _' W  _, _$ K7 O    StreamHandler.__init__(self, self._open())0 F9 t4 {% o6 E% u' ]9 Z$ H
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open" n& w7 b7 Z2 A# F; h5 m
    return open(self.baseFilename, self.mode, encoding=self.encoding,
' k& `3 `7 y4 K" L' r& g6 WPermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
, G& }! _' a0 |4 }( kmod_wsgi (pid=13892): Failed to exec Python script file '/usr/bin/placement-api'.2 `& X8 V! W6 O' Q
mod_wsgi (pid=13892): Exception occurred processing WSGI script '/usr/bin/placement-api'.0 l5 U0 D, ?4 B$ u$ t% ]6 I/ l9 Q2 c6 b
Traceback (most recent call last):  J! [. ~4 W4 [, f1 M+ @
  File "/usr/bin/placement-api", line 52, in <module>
) y% ^7 |" H% p9 t    application = init_application()% v- T9 p: M" w& W+ {! N- F
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application! \9 T' {0 i1 S1 I- {* x
    setup_logging(config)( D6 J+ j- c: k& I# n
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
# D6 Z( Y5 R2 x7 Q1 p/ x    logging.setup(config, 'placement')" o+ B; P* [% g* b8 r
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup0 u8 z1 ]& F' d) S' W% r4 J, D; {* n
    _setup_logging_from_conf(conf, product_name, version)
. M) a; E8 b' h7 O" G2 P  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
( I% v9 Z7 [  P    filelog = file_handler(logpath)
$ Y2 L. x# Q/ l4 ]! K  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
5 G/ `0 A  t$ h( @* J) E! ^2 ?    logging.FileHandler.__init__(self, filename, mode=mode,
8 u$ q( k& U% W8 z* G1 V; W  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__) i( Z# S/ T1 N- N
    StreamHandler.__init__(self, self._open()). d/ Z* C& [- u8 N' ]% X
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
0 J5 E" D1 v2 f- x9 _5 {    return open(self.baseFilename, self.mode, encoding=self.encoding,  a: o1 k, t; h- m, a9 n3 [
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'- u3 p1 b7 `' S6 |

3 K# n& C' p$ T& J+ W- U
4 U) p2 S2 A6 Qmod_wsgi (pid=13893): Failed to exec Python script file '/usr/bin/placement-api'.  Y% ^* }: G* {' \, B3 h6 V2 F
mod_wsgi (pid=13893): Exception occurred processing WSGI script '/usr/bin/placement-api'.
0 l" H: Q) Z( K3 {# A5 A' yTraceback (most recent call last):
& _+ x6 Q* y8 I7 i# D( Z" ?  File "/usr/bin/placement-api", line 52, in <module>: W8 _/ w% d" O) f3 y6 d
    application = init_application()6 R7 l3 _4 E+ i5 x
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
8 x' ]1 W+ L7 y0 ^    setup_logging(config)
! G, `+ l6 [" w, t  O7 ]3 |  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging6 J; Q  O. o& a# d7 u
    logging.setup(config, 'placement')# x4 M4 U. `0 [2 i( ~
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
" B! G- f) C/ p/ F% ^    _setup_logging_from_conf(conf, product_name, version)
. u3 z4 P/ I, M/ l# D  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
0 i! P: U$ H7 @9 ^* Z7 S    filelog = file_handler(logpath)& R# y' O5 V0 G9 p) u
  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__7 Q: M1 b1 K+ u" H! q, G* h
    logging.FileHandler.__init__(self, filename, mode=mode,
- y- e1 Q* `  U( h  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__, C3 y, ^# W/ f4 @
    StreamHandler.__init__(self, self._open())
! p$ _0 Z& }' Q( b: K# }  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open
7 q# m$ @4 t' d/ }5 ]; a; h7 ]    return open(self.baseFilename, self.mode, encoding=self.encoding,
4 T2 t' f6 p) }PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'% Z: w5 v1 h  Y  M) x; J4 \% @
mod_wsgi (pid=13891): Failed to exec Python script file '/usr/bin/placement-api'.9 |4 z9 n' U) M3 E* Z
mod_wsgi (pid=13891): Exception occurred processing WSGI script '/usr/bin/placement-api'.
9 q, N9 r  I' X3 iTraceback (most recent call last):: L8 w3 j6 o: d, [$ o
  File "/usr/bin/placement-api", line 52, in <module>
" N# ~/ n% r) N1 J    application = init_application()
8 e  N% n5 a4 C9 g- I( h  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
. J1 Y- T/ D5 F9 w8 |  m+ g    setup_logging(config)
$ A. c# L; ^# y5 E  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
: ]& l7 n0 d" E    logging.setup(config, 'placement')
- r3 u7 C6 H) c- u  R0 t  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup7 C% H" D9 M. A7 k$ H
    _setup_logging_from_conf(conf, product_name, version)
; R& e( q! T0 e& D" ^. h2 L/ s+ \  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf" A; x6 ^+ x) {( a- T2 X+ ^. ^
    filelog = file_handler(logpath)
  g: y0 u, _: C% N5 g. H- B  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__
7 ^; F. c1 W2 {% v    logging.FileHandler.__init__(self, filename, mode=mode,
: m7 s! T* u9 E, ]  O  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
4 d- ?, T0 H' t+ `4 f/ ]; t    StreamHandler.__init__(self, self._open())
, |6 M- E  x& S  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open" |4 {+ B" p; r. f/ Q/ J
    return open(self.baseFilename, self.mode, encoding=self.encoding,
) J4 P4 g+ m3 b# |PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'2 ~0 v' y5 \  N. x9 O6 P; }
mod_wsgi (pid=13892): Failed to exec Python script file '/usr/bin/placement-api'.
; x$ p" _6 k. q6 b. omod_wsgi (pid=13892): Exception occurred processing WSGI script '/usr/bin/placement-api'.) h+ ?& P/ e. Q/ J+ c
Traceback (most recent call last):+ ^: ]6 ^6 E; C# ]% L, G# K* s
  File "/usr/bin/placement-api", line 52, in <module>
7 b4 v6 D  _  ^6 V* ]' d    application = init_application()
# K8 p, [3 U( A* s) u; V* u  r  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application
) u) f- z, N" l    setup_logging(config)- y0 ]# o) H+ m5 t5 \
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging
' n, n- a% P! {1 x) x) E    logging.setup(config, 'placement')- ]0 m  h7 f; J4 F4 d/ T
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
, F; X; i( o* G' b7 l# I    _setup_logging_from_conf(conf, product_name, version)+ j7 E1 e% w2 o1 z, C- Y* w: M
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
% V  N. c( k' Z    filelog = file_handler(logpath)
, K  j" L+ K6 K; |- t5 }$ O  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__$ ?/ t. O6 P& I& @
    logging.FileHandler.__init__(self, filename, mode=mode,
; I# j# X% _& R7 g  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__/ z" k5 }5 o* l- }+ o; a: p
    StreamHandler.__init__(self, self._open())
' Q# ^1 }" P6 q7 o* i/ V+ d  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open7 O8 E- x% }; z1 t* K
    return open(self.baseFilename, self.mode, encoding=self.encoding,
' E, g6 Q( B: sPermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'
) T& l# ^5 e# t/ wmod_wsgi (pid=13893): Failed to exec Python script file '/usr/bin/placement-api'.3 h3 Z% }# ^* Y7 M$ g1 f  s
mod_wsgi (pid=13893): Exception occurred processing WSGI script '/usr/bin/placement-api'.* E. }( g3 G+ S1 Z4 }2 ?' J/ Q
Traceback (most recent call last):
4 _- C3 d1 _* s- I4 b  File "/usr/bin/placement-api", line 52, in <module>
4 d$ z% l4 i& N  K3 A  o4 Z    application = init_application()! b, Z9 W: G: c4 b
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 133, in init_application! X3 r' d: H1 L- `. b6 |# l4 q
    setup_logging(config). r  E+ Z8 s) l* C: L$ H3 u/ D. F
  File "/usr/lib/python3.9/site-packages/placement/wsgi.py", line 52, in setup_logging. |1 E$ H7 L: X+ q  E0 i4 U* O/ i
    logging.setup(config, 'placement')) J2 t$ y" E+ `* b, ?  D
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 296, in setup
) f& \$ o2 t4 R/ W, U  R    _setup_logging_from_conf(conf, product_name, version)6 t" _) s" [* e# ]6 ]  O) w
  File "/usr/lib/python3.9/site-packages/oslo_log/log.py", line 403, in _setup_logging_from_conf
! g# B2 W3 M3 ~/ U7 M: P    filelog = file_handler(logpath)
9 h- @) b* q/ U+ j* W( A  File "/usr/lib64/python3.9/logging/handlers.py", line 470, in __init__+ Z  l2 ]- y4 I* o& A* w
    logging.FileHandler.__init__(self, filename, mode=mode,
+ x4 E* O6 v2 ~  File "/usr/lib64/python3.9/logging/__init__.py", line 1146, in __init__
$ ^; w9 K- @8 {& C3 W, p    StreamHandler.__init__(self, self._open())6 r( j: P. v- r- @5 i0 C
  File "/usr/lib64/python3.9/logging/__init__.py", line 1175, in _open$ u; z% T; W9 ^9 `& S
    return open(self.baseFilename, self.mode, encoding=self.encoding,% Y1 k8 q7 H+ i# S
PermissionError: [Errno 13] Permission denied: '/var/log/placement/placement-api.log'. g' e- ]& a- b1 e) i% ^# {. ]: J( A( t
^C
* j- _. q0 {& Q9 U# z- t[
! B6 v$ g) P" f, |+ |. _( O9 p0 |+ y+ F! s5 z
[root@controller ~]# cd /var/log/placement/( }; q% p# O' y: W  Q
[root@controller placement]# ls
( K; D- A9 n9 {  y. Hplacement-api.log( r$ l) M2 T) M5 T( j
[root@controller placement]# ll
  P, {4 W& R( Q: h2 c) ltotal 11844
3 |2 {/ H' Y) m1 H  \-rw-r--r--. 1 root root 11889861 Feb 25 17:10 placement-api.log
* k* ~. r# P( a' h
" ^* d, c- c( e  X7 y( h: J3 k1 Z# S+ |- `1 W
total 118441 {: h8 S3 l" H
-rw-r--r--. 1 root root 12075765 Feb 25 17:12 placement-api.log
' e$ `- \! N' c" g5 r7 p6 }8 B3 V3 ~; V$ M9 {! [
权限不对,修改下权限:0 D8 [5 a1 A; t. |* e8 Z% C

: j; g9 ~/ p9 l+ o$ L- a2 m$ E7 E[root@controller placement]# chgrp placement placement-api.log + \/ K! [. v2 H. v, z
[root@controller placement]# ll
: j. y8 _1 s: ]- L- ?total 11844% n+ A5 z. `, B2 W5 m& U
-rw-r--r--. 1 root placement 12114495 Feb 25 17:12 placement-api.log
- G' o) ]* _# y  g  W3 ~" z9 Y4 ]( V
tail: no files remaining6 c3 |4 f5 o4 |: _$ L8 i* ~

9 P% b$ j/ O- ?0 }/ r9 I4 z
$ }; J1 O5 ^0 ?6 V: b! ]
$ ^1 T# x3 {/ }: Y重启下httpd服务:1 A7 s- w% s8 R7 T, A7 R% ]9 R/ f  v, n
    " X# }' Q0 ]$ P* ^0 ?
[root@controller placement]# tail -f /var/log/placement/placement-api.log4 c1 P: }& n$ `4 u% X5 w& S

* u; O3 P1 b- B$ {4 [/ v. M! o" q0 P3 T3 v& U
再次检查conductor日志。发现告警变化:
) c; z: _0 N; G3 H! T4 \* h3 q  q* [4 w/ w

4 o+ f( p5 _! R; S% T: q6 [: O9 P/ L6 J
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:3429 M( Q6 z, V+ k% }0 e8 N$ R
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+ L: |5 l7 A- Y$ ~5 w# {+ Q
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
) n+ K* F3 W5 g2025-02-25 17:17:38.959 23976 ERROR oslo_service.service Traceback (most recent call last):8 W% {* _# m$ z* W; h$ S: Q; D! p
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
! N- p+ Y8 O4 [' [  z, X6 j2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.channels[channel_id]
9 u4 N6 b6 A8 b! i; ^2025-02-25 17:17:38.959 23976 ERROR oslo_service.service KeyError: None
# n0 S. u- z" {3 w3 D  ?$ t2025-02-25 17:17:38.959 23976 ERROR oslo_service.service $ J" a7 {/ D6 B" _& |) @7 P
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service During handling of the above exception, another exception occurred:" Z# }* b0 t9 c& S/ Q% N9 F+ S
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service , k' O/ o0 T- E: ?
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service Traceback (most recent call last):
$ @# I2 h7 m( Z, \+ S2025-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
7 ~& Z, }9 [4 [" N9 y2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     service.start()
7 K/ L! K/ |: C4 k- _5 \; i  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 start
, w! {/ B8 m* W0 c( G9 T2 c2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.rpcserver.start()/ S1 G, M% |9 l6 D8 G7 j, d" j
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
, {) X5 X, w  l7 T  ~2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     states[state].run_once(lambda: fn(self, *args, **kwargs)," I" B/ J! p& b7 N$ ^& c% y% Y" `8 s4 l& Y
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
1 P! T8 t1 z+ [  o2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     post_fn = fn()
4 M- B& B0 v! W" [% a  X2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/server.py", line 267, in <lambda>0 ?% a2 J5 E! r$ z
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     states[state].run_once(lambda: fn(self, *args, **kwargs),/ a$ v5 q* w$ p* q" W! {$ k4 \" Q: y
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: C4 J* V& K( a; P7 v- T4 g+ u' @
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.listener = self._create_listener(); T; J3 i+ i) V( u6 v6 t4 K9 D( a
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/oslo_messaging/rpc/server.py", line 151, in _create_listener* W3 B" `- y0 q+ O* f$ r; L
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.transport._listen(self._target, 1, None)0 l$ h* j1 h5 v6 r
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 _listen4 ^# E* p+ e# c% n1 K/ j, u" w3 H
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self._driver.listen(target, batch_size,
3 p) H' J, B! n0 A8 X8 M# ~: Q* c2025-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 listen1 @$ {% F) s' Y& j* G. m! U( T2 H
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     conn = self._get_connection(rpc_common.PURPOSE_LISTEN)
0 {: A1 L7 ?% f) q2025-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' F" B  ^, q2 h
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return rpc_common.ConnectionContext(self._connection_pool,
, F8 m- x2 M  E" _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__
7 O6 N8 a. }. d9 a- q2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.connection = connection_pool.create(purpose)
, \, z1 ?( |" _  g2025-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
( g. B: G$ G! |3 w9 c0 a% C2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.connection_cls(self.conf, self.url, purpose, retry=retry). y0 q& }& [, n
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__1 d- N9 C6 q7 }) M% A/ H
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.ensure_connection()/ n. T9 r+ y: [, H% T' `
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
5 v/ ~( E$ B3 u  G7 Z3 L/ f! S* B2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self._set_current_channel(self.connection.channel())# J0 a6 J2 C9 K
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
% J8 M3 k& B; H6 S  `& F2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     chan = self.transport.create_channel(self.connection)& `2 S0 q, B7 T. y7 d" B
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
+ y2 ]+ p1 }0 c+ a+ R4 D/ d/ s2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return connection.channel()
  _! Y! N! S  }6 n5 P  k2025-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
$ s1 s* W  o# E8 H! O& u% T2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     channel.open()& x+ N; z+ e9 J
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 C  _& y4 ^: D, {2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.send_method(
6 V7 D$ X+ o9 o0 x' }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
& b9 i3 V9 A0 t  R1 _8 D2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     return self.wait(wait, returns_tuple=returns_tuple)
/ s2 X% Z) s9 ]1 \3 E2025-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& b8 n4 `) Q2 O$ \; e% A9 R6 G( c
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     self.connection.drain_events(timeout=timeout)5 c4 ?, h6 P2 b) G1 u% h5 B/ O3 \
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
$ z0 Y7 a' ]6 `/ M! ?2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     while not self.blocking_read(timeout):3 |$ y/ C- u! q/ x
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   File "/usr/lib/python3.9/site-packages/amqp/connection.py", line 531, in blocking_read
  z* r. x  T: ]. P2 d2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     frame = self.transport.read_frame()) k3 ^) v7 v3 e1 }% V- d0 m0 c
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_frame6 t/ s9 k6 A! O" }6 _. L
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     frame_header = read(7, True)+ x4 W/ u- j0 W, o
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 _read6 W2 z* t4 S: n3 k  ~/ a2 d
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service     raise OSError('Server unexpectedly closed connection'). K  H) v6 i5 A& A
2025-02-25 17:17:38.959 23976 ERROR oslo_service.service OSError: Server unexpectedly closed connection
. n) B! Y: d2 `% W2025-02-25 17:17:38.959 23976 ERROR oslo_service.service   t  H( p: T+ d) x1 n
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:3102 ~; A- e% y8 \0 T4 P
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
4 f; |: ]: b" d: ?' j4 [. Z2025-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 `! A) @+ m3 b5 |/ c3 ^
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  k. ^- Z  ?2 \6 K' _) \& P
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
2 A; Z) ]9 A2 n2025-02-25 17:17:39.902 22849 INFO oslo_service.service [None req-795f57b5-2f1f-4103-a1eb-509caf8e73a4 - - - - - -] Forking too fast, sleeping
  p! w2 v2 l* m7 P% X
9 F8 q1 n: ^0 U) A* p  ]8 U; G. m, O

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-2-28 10:33:44 | 显示全部楼层
重新审视下nova.conf配置文件:0 U  z3 S' ^& P! G$ d

; i" f7 |0 j& c9 T* ~[DEFAULT]
- Y0 C+ X# I1 l# p' wdebug = True
* ~, e$ |; ^( l% ]" K3 p; f( Ilog_dir = /var/log/kolla/nova- C5 |+ r0 L9 e' \9 C( b" H4 u/ U
state_path = /var/lib/nova  T5 G5 y5 R) H+ [, a" _( w
allow_resize_to_same_host = true
0 F% v/ `5 Z, c* _3 l( a. Q# ^compute_driver = libvirt.LibvirtDriver
5 H  n4 n: z+ d; x  b8 z/ w$ xmy_ip = 172.27.11.38
. e5 _7 o2 i, h. Y( _  Ainstance_usage_audit = True
8 p5 T  c" W2 E! V$ vinstance_usage_audit_period = hour
5 q2 J! C( m' Otransport_url = rabbit://openstack:yvEiq9inxvblL@172.27.11.36:5672,openstack:iq9inxvblL@172.27.11.37:5672,openstack:Eiq9inxvblL@172.27.11.38:5672//9 ^% [( j' |, S  B+ T5 n; Q
resize_confirm_window = 60
! C/ q8 V" C4 n$ O
4 b" D! e% T; k4 a. J[conductor]
0 o: s, j2 ]  `  aworkers = 5
7 Y( L9 h9 j/ ]5 y2 j5 e$ L- P& Q/ J! |& p9 L: [# J: i! e1 n
[vnc]
  O# U) {3 h" f& G& Nnovncproxy_host = 172.27.11.381 b0 a! s3 X( D0 x
novncproxy_port = 60801 V: {* h. p9 W; t# Y( T- w
server_listen = 172.27.11.385 y1 I7 F# U% |6 `
server_proxyclient_address = 172.27.11.38" g4 H# g  w0 T1 Y

. n- ]- h, b5 q, @! G[oslo_concurrency]4 e7 x1 X+ }4 p' `- S
lock_path = /var/lib/nova/tmp  l+ x) I' g- s" Y/ H
/ V* ~' h* r7 v% A% F/ T4 w& @
[glance]# C( M& X% p) a
debug = True
& A! T3 t+ t7 A, h6 r: W. q' Fapi_servers = http://172.27.11.88:9292$ u' _- d# O& [+ L: l) q
cafile =
3 ]; `5 j$ }' Nnum_retries = 3$ @& O, p- V9 B$ r# c

/ W" F" _0 z1 {) T; I. x$ E' Z[cinder], P; X1 k7 T/ d' l
catalog_info = volumev3:cinderv3:internalURL4 a+ i, W& m7 L+ Q
os_region_name = RegionOne
2 x: d4 z: v  [# eauth_url = http://172.27.11.88:5000$ d, S7 S5 W" h4 B% K
auth_type = password
" h+ {& ^4 ~9 oproject_domain_name = Default* g/ C7 ^3 x- V: O
user_domain_id = default& O5 S+ B" z2 u' q& Z  c& S1 g
project_name = service- P& X! r  w5 e, O, o5 v" C$ U+ [3 m  {
username = cinder* c0 p( Q! `# j/ K$ |
password = Kc2XVRBveUwBSmr  L4 I1 v# C0 S# B* z( h, Z* P
cafile =1 D/ ^0 O# x4 ~) s  K6 V, R% U0 S( ~8 g

  a( d1 H. p- O5 o[neutron]
1 D+ X( a* t9 Z" u! }metadata_proxy_shared_secret = COScZnT5e7BZJU
: U' `8 p2 ?2 J3 Sservice_metadata_proxy = true
' m* a2 I" |' X3 u9 }, L6 pauth_url = http://172.27.11.88:50001 A3 c/ ~: S. r& \) |
auth_type = password2 D  ?0 m' a) R! Z
cafile =
$ N( ~8 x0 F0 V+ o; H& Zproject_domain_name = Default
0 N- j; n( ~0 Juser_domain_id = default
+ r7 F/ c, T6 b. f5 x9 N5 |  `project_name = service
: B* r, ^6 T2 C* p; f$ V7 T6 r# busername = neutron. ~- k; B/ ^. ~- K9 L+ K
password = 2M4JUch6jYMJ* o# L( s# @/ S0 X9 i5 v: U
region_name = RegionOne
, y. Q3 x' H: }3 V, D1 Hvalid_interfaces = internal* M, _- l: T8 W
9 U/ {/ I; j) e
[database]+ e6 i! \) s& ~: X6 j
connection = mysql+pymysql://nova:UCA6ltitkU@172.27.11.88:3306/nova
6 A& u6 e! m' o& s+ p3 h. gconnection_recycle_time = 10; E5 }0 r" K* y# _6 H5 t! {
max_overflow = 10009 }4 ]/ o% X0 _3 S
max_pool_size = 1
6 x# j3 P5 A  R; O6 G2 d" ?max_retries = -1
: ]) g% k& T$ _2 i
, k( p) v% }6 Z[api_database]
0 [1 Q7 c3 g( E; ]; {connection = mysql+pymysql://nova_api:9ATuRhyEr@172.27.11.88:3306/nova_api9 C% b( a; Q- P' v3 ]+ y: O
connection_recycle_time = 10. G' }  y- S0 k
max_pool_size = 1
+ c- W* L. \. K( N! d+ Imax_retries = -1
# h4 X3 o8 M. K7 K9 u/ H/ O: V0 f5 y# ]- L/ K
[upgrade_levels]
; K6 y* J0 C1 v; |  i# Q! Ocompute = auto
+ {1 H+ L, \/ ]3 w+ e
" k: V$ X6 s5 f: u. Q2 G##主要是这个地方
; [+ Q! J# J3 S9 T( N[oslo_messaging_notifications]1 \0 e0 `  a$ N8 S/ h
transport_url = rabbit://openstack:q9inxvblL@172.27.11.36:5672,openstack:DWM1ayvEiq9inxvblL@172.27.51.37:5672,openstack:vEiq9inxvblL@172.27.11.38:5672//  k% q* M; [; q6 ~/ Y
driver = messagingv2* i# `7 y  |2 c' E& ^
topics = notifications. d( q+ w8 \' ]- n/ F2 V' P
$ F0 C2 ?0 R( v; Q1 w
[oslo_messaging_rabbit]
, Q" q3 {# u6 T2 D+ Q9 E( `heartbeat_in_pthread = false1 U) Z) R: V# n! c. e
rabbit_quorum_queue = true
/ o" k% e+ w; s; Z* ^) Q" U2 W, h# N; F9 y+ Q7 s
[privsep_entrypoint]
0 V5 [3 c: u8 X) Uhelper_command = sudo nova-rootwrap /etc/nova/rootwrap.conf privsep-helper --config-file /etc/nova/nova.conf5 K2 z3 x' T: {1 f1 z2 X+ v: l

. N. |4 @  j% \( X) w" D8 |5 \' t[guestfs]
4 L' l5 ^2 ?+ E5 ]2 `debug = True4 [' ?, s* k# h; T

4 X7 {8 c  u4 |) P# _0 b6 ^[scheduler]
8 l9 y5 m: a8 Z  Q' h3 o4 emax_attempts = 105 t9 z& m* D$ i: a
' T/ N, o( ]( ^: Q! r
[placement]
  s# w! b2 f9 v1 ?) s5 F4 @6 vauth_type = password
$ o/ w( n; q4 k6 mauth_url = http://172.27.11.88:5000
  J0 i, G) d' \6 z) Q" q/ d( T  d, ?username = placement* Z$ l9 d$ J- P2 H3 @
password = NjPdQcmImG
: p4 c8 l$ g" ~user_domain_name = Default2 o0 K3 P$ E8 |6 f( g/ }
project_name = service! ^8 i/ F2 B% G
project_domain_name = Default
1 S* c4 h* e; X9 i* b. Sregion_name = RegionOne
$ P  t& c  m6 Ocafile =
, V2 r8 A2 D% L8 Pvalid_interfaces = internal
& y; E0 i+ o( p. T" g& ]6 Q  |/ o7 m. F
[notifications]% b! m2 a  _7 S; F5 u+ |
notify_on_state_change = vm_and_task_state$ x9 w( u' `4 N1 v* F
# o1 Q+ [& X% q
[service_user]
8 p/ t2 u$ a( L7 u" b- `1 t! ~2 Ksend_service_user_token = true5 D4 U  @; _' ^7 @5 ?, u6 M. H
auth_url = http://172.27.11.88:5000" x) I- J7 d# ?( b$ O. K# E7 W
auth_type = password6 G: b5 ^: a; r. D, y
project_domain_id = default) ]; h( D  v; @+ d" U! W; E$ U
user_domain_id = default
7 _; g3 X0 v2 I" }project_name = service+ Y6 p8 Z& S1 I& z
username = nova' R& {$ j$ C8 h: s+ y) P8 w
password = 3kt5fJe4rRZv09 l, u8 \. E  p( S: y3 g
cafile =. G5 l4 j+ H% X' Y# ~& B
region_name = RegionOne6 E, n3 J. ]! y  E, b5 x0 A
valid_interfaces = internal
& L- [' n8 Y7 R/ ]* }9 s* D' R
+ ?$ i# ?! a& P& V( Y2 O; H[libvirt]$ J( W5 \1 Q) o3 O4 ~# j
inject_password = true
. l) M+ ?9 R% ]& @" ^4 M; B+ p& t- Q/ W  \$ p6 J
[quota]# Y2 Z- p7 ^, n* M- _' V8 k) ~
instances = -17 o3 {2 Z( F0 c& G; P
cores = -1
, I: g, k# R. F& {) gram = -15 Z8 d! v7 p( p+ P" D
injected_files = 32
& [' U9 }# C* m: ], S* ?server_groups = 128" s, K' D. E! Q' E# t, A5 A" w
server_group_members = 128
7 ]" \5 e2 I0 Q( \8 c; m# T
8 s6 _7 H$ {$ T* @  N3 A) d
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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