找回密码
 注册
查看: 4412|回复: 0

keystone tenant-get 获取用户的用户名

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2019-3-7 17:02:56 | 显示全部楼层 |阅读模式
通过tenant-id获取用户相关的信息& \% y3 ^! d: D
keystone tenant-get 405747cdb1b54d7589d7f3c1d0d8b83d
1 Y( o2 K6 w+ C* F6 J, i: u0 L0 j/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.3 q6 o9 q3 k+ H. G$ E& ~
  'python-keystoneclient.', DeprecationWarning)
. \8 b) T: `! o1 B: D+-------------+----------------------------------+) R/ F! f+ t9 U# b7 G
|   Property  |              Value               |
, L7 l  l* ~  T- X$ |9 |+-------------+----------------------------------+
+ c- s! f+ t4 n- ?+ {. v3 g* || description |            new tenant            |% `2 @8 o8 x+ M) q3 R% t- p
|   enabled   |               True               |
4 d9 v6 G4 x2 h" q9 q6 [0 x- y4 l|      id     | 405747cdb1b54d7589d7f3c1d0d8b83d |
2 |6 ~  m( R/ a( c) G( F$ [- w|     name    |           13100907            |. s& T1 Y/ b* H
+-------------+----------------------------------+
2 ~$ S: d. d8 p) v  M: i不存在的用户$ \' p( G8 d- R$ X5 G. M
keystone tenant-get b1f9f45c921946a09b918e48958ade34
" c7 ~7 D) S) I9 |/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  ~+ Z! H: |, w  'python-keystoneclient.', DeprecationWarning)7 U3 k9 g! c( c" u2 r( M
No tenant with a name or ID of 'b1f9f45c921946a09b918e48958ade34' exists.
6 m  H; d+ `+ C* OYou have new mail in /var/spool/mail/deployer
( H# {, i) f4 t/ l: T9 H
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 03:37 , Processed in 0.018662 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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