|
|
通过tenant-id获取用户相关的信息
3 ~8 B. H* m7 H+ Hkeystone tenant-get 405747cdb1b54d7589d7f3c1d0d8b83d
; P; L" G6 R0 S3 w/usr/lib/python2.7/site-packages/keystoneclient/shell.py:65: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
6 d7 P) X, [- V- i: t& W 'python-keystoneclient.', DeprecationWarning)
! F1 k! u: {$ J, z5 g! k4 m+-------------+----------------------------------+
2 D4 b" j7 h% n5 s& \| Property | Value |- `1 m' m; e1 j9 C# w) A8 {
+-------------+----------------------------------+$ h( y! `7 `; M* _
| description | new tenant |
% N' J" I. |5 a0 J; X9 M| enabled | True |
7 D ?- J1 w3 I% Z. e* f# F| id | 405747cdb1b54d7589d7f3c1d0d8b83d |! ] F4 j6 Q8 y
| name | 13100907 |
. j1 w: S7 I# E. }+-------------+----------------------------------++ g& G. D+ s z1 p: n$ P% I
不存在的用户
7 R- n6 w6 G, Z& k, ]& nkeystone tenant-get b1f9f45c921946a09b918e48958ade34" b5 a; T+ s! M6 B; F! J4 _
/usr/lib/python2.7/site-packages/keystoneclient/shell.py:65: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.. {! R) i1 r! o+ ?
'python-keystoneclient.', DeprecationWarning)2 U. |( d; Y9 L
No tenant with a name or ID of 'b1f9f45c921946a09b918e48958ade34' exists.0 Q, |5 U; T$ Q/ B5 s4 P$ V# Y
You have new mail in /var/spool/mail/deployer
( R8 E# _8 }* E, E' K7 d0 L* i |
|