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

o版中使用nova list出现UserWarning

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2017-6-9 11:10:33 | 显示全部楼层 |阅读模式
# nova list
5 l- X$ f$ N3 h8 Q/ ^/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.
3 D- i/ {- S: G+ F$ S, }' L' E  warnings.warn(msg)
3 ^& ?& I; v+ m4 Q& _+----+------+--------+------------+-------------+----------+: I3 D4 q) j# W* e+ k
| ID | Name | Status | Task State | Power State | Networks |
5 Q" D7 @0 e0 B- E+----+------+--------+------------+-------------+----------+
2 o* N; ~& O- u5 C' {+ r! Z" e+----+------+--------+------------+-------------+----------+

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2017-6-9 11:14:57 | 显示全部楼层
# nova service-list
4 J) y  p" g% ?4 M/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.
8 B: r1 c. U9 m  warnings.warn(msg)6 F3 x& ~  ^" V1 ?, G: o# y, W
+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+* k3 l- ^) m, h) X7 s
| Id | Binary           | Host           | Zone     | Status  | State | Updated_at                 | Disabled Reason |
8 \# w: ^$ C5 a+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+
1 }' z! c3 s* [0 @| 1  | nova-consoleauth | o-controller-1 | internal | enabled | up    | 2017-06-09T03:12:58.000000 | -               |8 r; Y, y+ g* x8 J! f$ N2 l4 u- m
| 2  | nova-conductor   | o-controller-1 | internal | enabled | up    | 2017-06-09T03:12:58.000000 | -               |+ t. H3 g, e8 ]0 a' U
| 3  | nova-scheduler   | o-controller-1 | internal | enabled | up    | 2017-06-09T03:12:58.000000 | -               |
4 c6 p( B2 m8 C0 a1 q+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+
- j/ Q6 _% o# e
  I  z* F6 m% E. @+ Y7 m9 @; \" [4 z) P: Q; [/ Y
# systemctl start openstack-nova-console.service
6 B+ F9 U! b1 E3 q; U# `
  y! [/ P  T3 w1 _2 n0 h; F+ d: {. X# nova service-list, x9 \$ X& @1 u' G7 C( p
/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.
: |* `0 a+ R5 P0 d! x  warnings.warn(msg); ]1 K. o/ E  m4 E: D0 x0 Z, s
+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+; W; l! _/ K" p
| Id | Binary           | Host           | Zone     | Status  | State | Updated_at                 | Disabled Reason |' X. h9 X) O1 R+ W' s3 p0 u& r
+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+
+ _2 w; o6 E4 l| 1  | nova-consoleauth | o-controller-1 | internal | enabled | up    | 2017-06-09T03:14:38.000000 | -               |
: L0 K* i, E; q( d& c, F| 2  | nova-conductor   | o-controller-1 | internal | enabled | up    | 2017-06-09T03:14:38.000000 | -               |% g3 E7 R; U) t7 V
| 3  | nova-scheduler   | o-controller-1 | internal | enabled | up    | 2017-06-09T03:14:38.000000 | -               |) N+ O" y* u" `: t" O9 S; J
| 6  | nova-console     | o-controller-1 | internal | enabled | up    | 2017-06-09T03:14:44.000000 | -               |
  Q, _& S" K3 h2 C" \1 H6 a+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+

1

主题

0

回帖

12

积分

管理员

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

本版积分规则

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

GMT+8, 2026-6-12 01:28 , Processed in 0.019907 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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