openstack 租户用户管理

Posted boshen-hzb

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了openstack 租户用户管理相关的知识,希望对你有一定的参考价值。

查询租户列表

[[email protected] ~]# openstack project list
+----------------------------------+--------------------+
| ID                               | Name               |
+----------------------------------+--------------------+  |
| 91550f3ddf5940ea9a9d17daaf6d1f5e | admin              |

 

查看租户详情:

[[email protected] ~]# openstack project show admin
+-------------+-----------------------------------------------+
| Field       | Value                                         |
+-------------+-----------------------------------------------+
| description | Bootstrap project for initializing the cloud. |
| domain_id   | default                                       |
| enabled     | True                                          |
| id          | 91550f3ddf5940ea9a9d17daaf6d1f5e              |
| is_domain   | False                                         |
| name        | admin                                         |
| parent_id   | default                                       |
+-------------+-----------------------------------------------+

 

查询用户列表

[[email protected] ~]# openstack user list
+----------------------------------+---------------------------+
| ID                               | Name                      |
+----------------------------------+---------------------------+
| 01eef5e310e141cc8a3687dabc643676 | test_user                 |

查询某一租户下的所有用户

[[email protected] ~]# openstack user list --project=admin
+----------------------------------+------------------+
| ID                               | Name             |
+----------------------------------+------------------+
| f05b4e3b6585429e98f178934d71ae3e | admin            |
| 99955f8cefeb4a6f945e06ec3f424b5d | [email protected] |
| 01eef5e310e141cc8a3687dabc643676 | test_user        |
| 6e6d64905b0f419daaf424f678733dec | test123409       |
+----------------------------------+------------------+

以上是关于openstack 租户用户管理的主要内容,如果未能解决你的问题,请参考以下文章

openstack——使用命令行发放云主机

OpenStack基础概念

openstack的云主机相关命令

中小企业openstack私有云布署实践15 创建租户网络+实例

openstack的四大服务组件及openstack环境搭建

OpenStack Keystone V3