|
|
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.( a3 ] C a& Q' H6 k6 z
在控制节点执行这条命令:' K7 \; K3 U7 Q
9 y$ J- q: W* [7 Z! h' T
nova-status upgrade check- S* T1 B4 o" N+ n# R5 u2 M* I' O
Modules 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.: d7 L% a2 ~# l# L: d6 n" A3 P
/ V; `: V. d5 {7 X @: B在placement日志中报:
& ~' P- p0 w- A; gtail -f /var/log/placement/placement-api.log
% U1 E! v3 H* a
: w3 L, p% J! L3 P3 P- v, E2 l' U8 x. P# \. `1 t1 ?
2025-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.! C' H& {' q$ F
2025-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
& g4 m" y3 i: J& Z- a
7 V7 z. O# b! P8 K+ a0 G( C# a: X( v
; S4 x2 h* W; f! i这里应该是配置文件的问题:9 m# O& S; s; X2 `( a
修改下2 W% q" o+ B3 v7 D" D, u
vim /etc/placement/placement.conf8 p, X5 q+ X5 }
" b1 @5 m6 v" [! Y- U, D[keystone_authtoken]
, _* F" E# q) \2 [* g) p- z7 y( cservice_token_roles_required = True5 ], \' ?1 H+ F0 E; X
( k1 g1 {& ^! G' f3 m
再次访问:
' _6 }5 q4 A. A& |/ W. n- q
F3 B( y; u; V' A, c0 ^nova-status upgrade check
9 H! x# E1 e' b7 L 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.% @$ e) ]; H* @; M' M/ y
" V6 g; P3 w$ Z) e/ H8 X
9 P+ A4 s0 w8 }1 F日志不再报错:
- V& ^) R& D" s: s- W2 B0 u+ o7 `" o3 G* S9 z: }) G* x3 `
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, }* o5 E; m% I# H' v9 W
% U6 \- l& ~, Y+ E0 S' T- V
4 \4 x, x+ c% Q! I |
|