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

o版中使用nova list出现UserWarning

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2017-6-9 11:10:33 | 显示全部楼层 |阅读模式
# nova list6 z4 ~  O' \" \8 n# e. l% Y  L
/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" Q# M0 F& }: _: L" T  warnings.warn(msg)
2 v& R0 T% ~. z, ~# e" g+----+------+--------+------------+-------------+----------+5 O9 W/ p2 Y$ l( x; u( \
| ID | Name | Status | Task State | Power State | Networks |
* s# V9 w: D% U/ ?) H1 @+ T( A% a2 p+----+------+--------+------------+-------------+----------+
- E3 }, l& m* @6 ~+----+------+--------+------------+-------------+----------+

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2017-6-9 11:14:57 | 显示全部楼层
# nova service-list
) A  I% I" D6 J- F5 L* 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.
0 I+ x. s) Q! G) T- _  s1 x9 M3 @$ c  warnings.warn(msg)) f7 k' a6 C1 q- T4 n
+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+/ g9 X0 r9 p) u/ l/ |
| Id | Binary           | Host           | Zone     | Status  | State | Updated_at                 | Disabled Reason |
% y$ z* l" ?1 M- X* P! p2 K( C+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+
# b1 F0 L( u/ j; l/ ^$ ~  i| 1  | nova-consoleauth | o-controller-1 | internal | enabled | up    | 2017-06-09T03:12:58.000000 | -               |
/ S5 u5 j7 y4 ^* D, n+ H  f| 2  | nova-conductor   | o-controller-1 | internal | enabled | up    | 2017-06-09T03:12:58.000000 | -               |
: s% c  c1 l, D6 a( V| 3  | nova-scheduler   | o-controller-1 | internal | enabled | up    | 2017-06-09T03:12:58.000000 | -               |
7 H) b1 E2 m) P+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+
, A8 ~& R" f" ~8 Z
$ B1 H% R* N3 M% B, S) N; O) U$ e. d4 e* \1 e( `
# systemctl start openstack-nova-console.service
( ?& e+ F% e2 E5 T
# a! z& u: u3 k  L* V' P# nova service-list
- r% H6 x9 ^( C4 B  \4 J/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.
2 H; w# x- C, @! S( i/ l8 f  warnings.warn(msg)9 n, g3 s( m6 f; _* m
+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+- Z% g: |8 c2 \% G2 L4 g
| Id | Binary           | Host           | Zone     | Status  | State | Updated_at                 | Disabled Reason |
2 n: Q4 x, A  S3 @5 B+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+
/ L5 r- C- `1 \* c. Y6 `| 1  | nova-consoleauth | o-controller-1 | internal | enabled | up    | 2017-06-09T03:14:38.000000 | -               |
- }( }* ]) a& q| 2  | nova-conductor   | o-controller-1 | internal | enabled | up    | 2017-06-09T03:14:38.000000 | -               |8 L- @) \" ?! D3 |# k. d; o# t
| 3  | nova-scheduler   | o-controller-1 | internal | enabled | up    | 2017-06-09T03:14:38.000000 | -               |" H6 G! k  }5 o8 e
| 6  | nova-console     | o-controller-1 | internal | enabled | up    | 2017-06-09T03:14:44.000000 | -               |0 T0 t4 j: Q% `4 o: s% H
+----+------------------+----------------+----------+---------+-------+----------------------------+-----------------+

1

主题

0

回帖

12

积分

管理员

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

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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