找回密码
 注册
查看: 4126|回复: 2

o版中使用nova list出现UserWarning

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2017-6-9 11:10:33 | 显示全部楼层 |阅读模式
# nova list
$ i, v" y: g2 m+ O* a/usr/lib/python2.7/site-packages/novaclient/client.py:278: UserWarning: The 'tenant_id' argument is deprecated in Ocata and its use may result in errors in future releases. As 'project_id' is provided, the 'tenant_id' argument will be ignored.' y' v0 S& w% h% V2 e
  warnings.warn(msg)2 E+ P: w. R$ z
+----+------+--------+------------+-------------+----------+  o( O5 \, `' i
| ID | Name | Status | Task State | Power State | Networks |
# l3 D/ s6 c; i( e+----+------+--------+------------+-------------+----------+
: k) N2 m0 y0 O+----+------+--------+------------+-------------+----------+

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2017-6-9 11:14:57 | 显示全部楼层
# nova service-list& u) J5 i& K4 D
/usr/lib/python2.7/site-packages/novaclient/client.py:278: UserWarning: The 'tenant_id' argument is deprecated in Ocata and its use may result in errors in future releases. As 'project_id' is provided, the 'tenant_id' argument will be ignored." d" K+ e- k& Y7 I: j5 z3 {) y" ]
  warnings.warn(msg)3 q3 S( O8 ]& T$ p* i
+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+5 W) M: t6 `3 n* c( D, t* i
| Id | Binary           | Host           | Zone     | Status  | State | Updated_at                 | Disabled Reason |
3 E% b9 H9 [( I5 D: q+ m/ @+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+7 V+ k7 _2 b/ K- W+ g+ o! e
| 1  | nova-consoleauth | o-controller-1 | internal | enabled | up    | 2017-06-09T03:12:58.000000 | -               |
& y; j1 B% q. N| 2  | nova-conductor   | o-controller-1 | internal | enabled | up    | 2017-06-09T03:12:58.000000 | -               |
8 F2 N5 `3 _: b0 `( R+ l* v/ h| 3  | nova-scheduler   | o-controller-1 | internal | enabled | up    | 2017-06-09T03:12:58.000000 | -               |1 z. _: ?- \# @. F; X9 t
+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+
0 J' ~5 v: }! Z( f) c" {$ z2 R$ s/ _6 Q( j$ o4 v6 k
( W" R+ G3 k  z; P: s
# systemctl start openstack-nova-console.service + q" Y. M$ L- L9 ?. q3 R# p4 I

% V# s+ a5 ]1 @! a( A# nova service-list
1 B0 w. l, X0 Y  z/usr/lib/python2.7/site-packages/novaclient/client.py:278: UserWarning: The 'tenant_id' argument is deprecated in Ocata and its use may result in errors in future releases. As 'project_id' is provided, the 'tenant_id' argument will be ignored.9 {) W# B& I8 ]( ]$ p! f7 b
  warnings.warn(msg)2 @9 y  h! U: ^& o, {: ~* ^! `
+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+
2 ?: c" r- A8 N. F| Id | Binary           | Host           | Zone     | Status  | State | Updated_at                 | Disabled Reason |5 z5 i2 |2 \" W/ w" v7 n( M
+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+
6 e2 b5 l. `6 J$ ?! X+ K| 1  | nova-consoleauth | o-controller-1 | internal | enabled | up    | 2017-06-09T03:14:38.000000 | -               |
% p* Q; X' H: Z$ l5 r! o& U| 2  | nova-conductor   | o-controller-1 | internal | enabled | up    | 2017-06-09T03:14:38.000000 | -               |
* \) Y$ v. j; G1 C0 [| 3  | nova-scheduler   | o-controller-1 | internal | enabled | up    | 2017-06-09T03:14:38.000000 | -               |
$ Y) ^2 k: r) n# q8 U9 D4 f| 6  | nova-console     | o-controller-1 | internal | enabled | up    | 2017-06-09T03:14:44.000000 | -               |
! O/ @: s3 c% E& j5 t. J+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2017-6-9 11:15:23 | 显示全部楼层
不知道是不是自己做的时候有错误
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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