- 积分
- 16843
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
WARNING keystonemiddleware.auth_token [-] AuthToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but deprecated behaviour. Please set this to True.
; V P+ [4 U; k4 J6 f$ T3 m, \在控制节点执行这条命令:
. {" x1 Q, s* l* X9 u
' U; O5 P: t) D2 U" ? R6 d+ l& D nova-status upgrade check
3 i) r3 H+ u3 v$ J7 A* }, j+ R' yModules with known eventlet monkey patching issues were imported prior to eventlet monkey patching: urllib3. This warning can usually be ignored if the caller is only importing and not executing nova code.8 t7 z+ ^, |6 x* K
0 v- C" G0 }, L1 i
在placement日志中报:/ `! O9 i& P: W# y2 l. z! i0 ?
tail -f /var/log/placement/placement-api.log" L* x' }0 j5 u% G, X
! A( L8 X* M' S9 f( G- C
5 @. V* X F! p6 b1 B2025-10-13 22:35:04.485 143054 WARNING keystonemiddleware.auth_token [-] AuthToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but deprecated behaviour. Please set this to True.
0 q) Q9 i( R3 m- Q1 \, d! M2025-10-13 22:35:04.601 143054 INFO placement.requestlog [None req-645501b3-c865-47b8-b000-6d47383d130e - - - - - -] 192.168.16.70 "GET /" status: 200 len: 136 microversion: 1.0! \. @" A7 j. `6 W. S& T
: e% c0 n+ Y3 M0 `2 \+ j1 D
0 y4 H# y2 P# H
! ]* d! F' N4 _: {% r* x1 z这里应该是配置文件的问题:) r& Q; `. `3 L. @4 [
修改下
5 W# w' _7 y } vim /etc/placement/placement.conf
" x5 ]: I$ i: w2 F: t: q' i* S I6 X+ p0 u7 M* q& K8 B, r
[keystone_authtoken]+ q4 ^* p( R9 W0 x7 s
service_token_roles_required = True2 Y8 l! s" A. ?! B: H& z
z7 ?/ p1 a" j8 n
再次访问:
7 ~8 \5 D/ Y& z' ^& n# m! B: D( y+ m9 I5 Y
nova-status upgrade check
; S ]3 U% P% {6 q; [6 U5 WModules with known eventlet monkey patching issues were imported prior to eventlet monkey patching: urllib3. This warning can usually be ignored if the caller is only importing and not executing nova code.
5 i* s( n m" o7 t h/ @- p1 I+ \0 C% y$ [0 e$ g/ @0 z
& k% Z5 n9 n6 c% J) h! j日志不再报错:1 S$ h, i" R9 H5 T5 J6 q: _8 `
; L! M6 r, S1 S; v" b* ~, g1 w6 c
2025-10-13 22:41:06.764 145104 INFO placement.requestlog [None req-6848ac05-1676-479b-94d0-8f8973cbbe95 - - - - - -] 192.168.16.70 "GET /" status: 200 len: 136 microversion: 1.0
/ n% j5 |" v. V, N% g5 j9 L) Q$ K3 }6 L$ z& \
+ G A4 S. \% A# v
|
|