易陆发现互联网技术论坛

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

deprecated. Use option "region-name" placement

[复制链接]
发表于 2018-9-30 20:58:43 | 显示全部楼层 |阅读模式

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

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

x
nova-status upgrade check
7 N# @, V% u  ?8 I0 z  [+ D/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py:332: NotSupportedWarning: Configuration option(s) ['use_tpool'] not supported8 ^! X, z, t; R- [0 B- [# y
  exception.NotSupportedWarning  {6 ?( |2 U! r& p  i$ t' ~( Z
Option "os_region_name" from group "placement" is deprecated. Use option "region-name" from group "placement".
, O4 `$ X# i5 r/ O# q+--------------------------------------------------------------------+7 K* ]8 H, l" E! ~/ p+ f3 k& K( [
| Upgrade Check Results                                              |
; O* Q8 D3 r$ M+--------------------------------------------------------------------+
6 X+ f/ P/ N( Q! S0 }4 |4 C| Check: Cells v2                                                    |: c3 q; i/ Z  [- d. d
| Result: Success                                                    |
& k# k$ J: i4 k| Details: No host mappings or compute nodes were found. Remember to |4 l3 l& k6 ?8 n* q
|   run command 'nova-manage cell_v2 discover_hosts' when new        |& c) h9 p2 Z* {
|   compute hosts are deployed.                                      |
8 K7 g8 u$ X' e  ~+--------------------------------------------------------------------+, K7 a5 L# k8 m2 c& C
| Check: Placement API                                               |
: S8 E. g1 _* a4 t; l| Result: Success                                                    |; B5 W+ k$ Y5 R1 V( Y; Q/ I8 L1 \4 e
| Details: None                                                      |
7 T5 r: @' m5 b  ]* N* G" k. [+--------------------------------------------------------------------+: {; Z' L3 T5 O! a+ q" b9 T! T
| Check: Resource Providers                                          |
$ r& A& M/ P% R& r" q% A| Result: Success                                                    |
: e) |  n8 B1 g% S5 @: M8 U| Details: There are no compute resource providers in the Placement  |+ A% }" n6 E& K& H0 C$ p
|   service nor are there compute nodes in the database.             |
1 v, q( T1 y0 F|   Remember to configure new compute nodes to report into the       |) |2 N) |( o& f9 f
|   Placement service. See                                           |
& {. ?; k1 ]- H8 o5 F9 h|   https://docs.openstack.org/nova/latest/user/placement.html       |
5 ]6 b' z& F" {7 `: }, \' t9 H|   for more details.                                                |
+ p7 v9 l+ N$ Y6 u$ P+--------------------------------------------------------------------+3 l9 Z4 b5 o" x$ P; W
| Check: Ironic Flavor Migration                                     |# R! a* X9 D% C) M. s$ u/ [
| Result: Success                                                    |6 x) x: `1 E1 ?( M5 g+ S/ o
| Details: None                                                      |8 F6 ~8 K; l' K4 S* A4 y
+--------------------------------------------------------------------+' g* v0 j: A7 n+ Q
| Check: API Service Version                                         |
' T, p8 O: @9 W- g| Result: Success                                                    |- |/ E2 f4 c+ x$ c% @. ~' T5 Y
| Details: None                                                      |
, i' e5 J! l# |+ ~4 F& Y8 M% F+--------------------------------------------------------------------+3 `; v, n# t7 Y! f) ]
在queens版本中修改就好了
. X4 [* e+ |2 U. o, N5 kOption "os_region_name" from group "placement" is deprecated. Use option "region-name" from group "placement".
: B1 c8 U; R) f6 |9 j, t0 v9 I( p( l  z3 @5 m" n0 W4 m
vim /etc/nova/nova.conf
* A: g. C  s& G& {+ Hos_region_name = RegionOne8 j7 N4 _6 [/ |' Y+ w
改成2 N+ d2 p' `+ J  B& y( J$ n5 R4 x
region_name = RegionOne* {9 I3 v; K' a; g
3 O+ e0 E% b9 {
nova-status upgrade check7 O0 _- Q% \) j# `
/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py:332: NotSupportedWarning: Configuration option(s) ['use_tpool'] not supported9 M  X4 B6 B6 d/ j
  exception.NotSupportedWarning* o+ M- v; ]$ A' c
+--------------------------------------------------------------------+  t1 _; A3 r! Y& q* Q/ K' ^; b
| Upgrade Check Results                                              |0 w2 V) Y  h7 X: t. L
+--------------------------------------------------------------------+
9 t8 g5 k8 h2 g; W| Check: Cells v2                                                    |/ l. }$ N6 P; [/ r
| Result: Success                                                    |
: z6 Z9 U2 F( U' o| Details: No host mappings or compute nodes were found. Remember to |
$ `& C6 N: ]4 A+ F/ c|   run command 'nova-manage cell_v2 discover_hosts' when new        |
# n2 P) e$ A# S1 M$ a! W5 f1 M|   compute hosts are deployed.                                      |
; @  m  x# s( u) [1 S( h7 m- y6 k+--------------------------------------------------------------------+2 H% a* t8 f! t
| Check: Placement API                                               |
4 m) Z0 C) Q" C' R8 ^" r. G# w| Result: Success                                                    |4 C+ _2 V( ]% r( r% z
| Details: None                                                      |
& {( V' j  s' i, }+ k. x2 n+--------------------------------------------------------------------+
% d0 }7 \: K- D0 K+ h. m4 H| Check: Resource Providers                                          |
* U6 _: ~/ Y2 `$ G5 M- a| Result: Success                                                    |
+ I' q0 ^1 x8 V( F, ~& |2 P# N| Details: There are no compute resource providers in the Placement  |
) S7 f' }. D: k; h2 C3 V|   service nor are there compute nodes in the database.             |6 S+ L% z. N5 i. x8 I
|   Remember to configure new compute nodes to report into the       |
6 e/ p) z% \* n/ K/ t|   Placement service. See                                           |! z9 r. G5 E# {8 ]7 E4 R
|   https://docs.openstack.org/nova/latest/user/placement.html       |
' `# ^1 X' ~; z: l|   for more details.                                                |1 m! w4 c0 s! N4 _$ _0 O
+--------------------------------------------------------------------+
; h! H; F1 h" Y% W| Check: Ironic Flavor Migration                                     |
) c& [/ ]& t+ w| Result: Success                                                    |9 V4 K2 m+ V9 ~# h
| Details: None                                                      |
" H% Q0 F, J( O* W# }+--------------------------------------------------------------------+2 Q! Q( C+ v+ Q' j/ _
| Check: API Service Version                                         |) |- a" \; Y! p" Q+ g. y
| Result: Success                                                    |
( G9 x- w1 }' n3 q5 t6 _% c| Details: None                                                      |
) M  k' m3 u' O; W+--------------------------------------------------------------------+
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 点击这里给我发消息

GMT+8, 2026-4-8 15:20 , Processed in 0.138164 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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