找回密码
 注册
查看: 4474|回复: 0

deprecated. Use option "region-name" placement

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2018-9-30 20:58:43 | 显示全部楼层 |阅读模式
nova-status upgrade check
, n! c0 h; k8 J/ a$ |/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py:332: NotSupportedWarning: Configuration option(s) ['use_tpool'] not supported
+ D: U, k, ?6 H' p. f7 F. N8 @0 ^  G0 ]  exception.NotSupportedWarning
* B( f8 X, ]) K- ^' A1 L% eOption "os_region_name" from group "placement" is deprecated. Use option "region-name" from group "placement".! _( U" S: ~% t4 F0 \4 l) ^
+--------------------------------------------------------------------++ [; l2 p4 W( q! @
| Upgrade Check Results                                              |
/ ?4 d2 ~9 Y2 O! `+--------------------------------------------------------------------+
1 p/ O/ l6 k5 F2 e" Y| Check: Cells v2                                                    |' R: V3 Z/ E5 Y2 W- w8 K
| Result: Success                                                    |$ N, i  K; U5 U* E# ?$ Y
| Details: No host mappings or compute nodes were found. Remember to |! N/ V3 n8 f' C& d9 q9 n5 h- j
|   run command 'nova-manage cell_v2 discover_hosts' when new        |: ]' a" j, k. i! z" k0 _
|   compute hosts are deployed.                                      |
' L8 I. Z- a6 M, p) M* ^6 ^+--------------------------------------------------------------------+
# N3 p3 m* l3 L" b& l3 u| Check: Placement API                                               |
9 j5 S# B# t# l& K| Result: Success                                                    |
+ z6 K" C7 j# h* d) R| Details: None                                                      |# X3 \2 o+ H$ R! p+ A  P% [. _% N/ }
+--------------------------------------------------------------------+
8 f+ e$ J4 C) _2 I| Check: Resource Providers                                          |
$ N* x) o: L8 J3 z+ y1 V: @| Result: Success                                                    |
, E% {- `' H  `; d- C& c+ R" s1 f; [8 ~| Details: There are no compute resource providers in the Placement  |  m% R/ ?% N: E& d
|   service nor are there compute nodes in the database.             |" u9 O8 O9 p" I$ ~% J& b
|   Remember to configure new compute nodes to report into the       |. U" k, d9 Y0 Y0 N
|   Placement service. See                                           |
6 c" t" }6 Z, d3 @5 P8 O" [|   https://docs.openstack.org/nova/latest/user/placement.html       |" V; ?! t' w1 s2 [$ Y& B" _0 F
|   for more details.                                                |
& _1 I; W# t! B0 ]( I" q+--------------------------------------------------------------------+
! E9 `/ D# O' c| Check: Ironic Flavor Migration                                     |3 {$ K7 Q: v: j+ Z$ C& ~
| Result: Success                                                    |
$ b( D4 A" D) b4 e| Details: None                                                      |
/ }2 w8 k7 \% m* l& {+--------------------------------------------------------------------+1 n. n( D; h4 C2 z# q' n: `* M
| Check: API Service Version                                         |( y) V( T* R1 `
| Result: Success                                                    |! q' c9 \& Z/ @2 L2 r) ^# _% W
| Details: None                                                      |0 ?& @4 T, c( z0 S% n
+--------------------------------------------------------------------+4 F2 K9 I. o3 Z: W! G5 W* k0 v! B
在queens版本中修改就好了
' A! W+ J' w. t; S4 OOption "os_region_name" from group "placement" is deprecated. Use option "region-name" from group "placement"./ r3 n6 a' J; y' h# d
  ]; A$ X4 o5 D7 {' B
vim /etc/nova/nova.conf
7 Y% R# O& l4 Y: Z4 H$ y# @os_region_name = RegionOne
6 \( I. w% E6 z- g: W% P7 D' z改成9 `6 l5 T5 U  E' N3 i# T9 S; \
region_name = RegionOne! F) @6 _5 J: [4 v% R
* }, b7 N+ D  U1 H! C  y1 X
nova-status upgrade check
+ N3 E6 S, c/ u% j6 d, q/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py:332: NotSupportedWarning: Configuration option(s) ['use_tpool'] not supported* b" W) Y4 ?4 X
  exception.NotSupportedWarning1 x% a1 X; F$ s- s: t" @, @- I6 h
+--------------------------------------------------------------------+
4 z* [# ?0 e6 z2 j8 m| Upgrade Check Results                                              |1 c7 j( z4 _1 V0 B7 q
+--------------------------------------------------------------------+
3 r' w& ?# C+ D| Check: Cells v2                                                    |
. O( {( B$ S2 u' S! m; m| Result: Success                                                    |3 O- Y: l. B1 `0 R8 C6 [9 n
| Details: No host mappings or compute nodes were found. Remember to |
7 f6 }. A4 t; R) e4 z6 ~|   run command 'nova-manage cell_v2 discover_hosts' when new        |2 @) g3 H0 N1 ~0 O; x
|   compute hosts are deployed.                                      |& u6 ]% ?, Y3 g+ ~4 X
+--------------------------------------------------------------------+$ `, o) O( _7 U. t% {
| Check: Placement API                                               |
3 Y3 |! ^4 Q8 p! l| Result: Success                                                    |+ Z! g5 _, P- F2 t" r0 M
| Details: None                                                      |
3 o* f4 c* X  ~$ `. l1 }$ y+--------------------------------------------------------------------+3 A' ~* G4 n! G
| Check: Resource Providers                                          |5 F0 n' H! f9 Q2 m6 N0 [, n+ C- C# H
| Result: Success                                                    |
1 P3 m3 K1 e% G$ b/ V1 I/ R| Details: There are no compute resource providers in the Placement  |, F- p9 T& ]( l% Q9 p# a
|   service nor are there compute nodes in the database.             |
. A$ A" F. F. Q4 b- a$ v|   Remember to configure new compute nodes to report into the       |; z* Z# ]  d1 o3 [- Q1 b
|   Placement service. See                                           |1 H- b) A& O; a: [- C: N
|   https://docs.openstack.org/nova/latest/user/placement.html       |& a& R1 `- S6 A
|   for more details.                                                |1 j: k+ F+ F* m3 N2 b
+--------------------------------------------------------------------+
$ m  Z: N& d; F+ O5 j| Check: Ironic Flavor Migration                                     |
. O3 ?8 n8 m7 M& e8 R; ^: L| Result: Success                                                    |
; ?6 E2 k( q  T* K$ q| Details: None                                                      |7 v, V1 e- a9 o* L
+--------------------------------------------------------------------+
5 m9 R: ?. E+ k& q1 J| Check: API Service Version                                         |
# p2 Z8 L2 d! d5 V| Result: Success                                                    |" s" P2 l3 ~7 Z: g  }, {
| Details: None                                                      |
) y& x0 X; r( s' C+--------------------------------------------------------------------+
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 02:46 , Processed in 0.018939 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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