1. 程式人生 > >openstack 租戶、用戶管理

openstack 租戶、用戶管理

parent enabled oot ble initial lsa 所有 租戶 rip

查詢租戶列表

[root@cc01 ~]# openstack project list
+----------------------------------+--------------------+
| ID                               | Name               |
+----------------------------------+--------------------+  |
| 91550f3ddf5940ea9a9d17daaf6d1f5e | admin              |

查看租戶詳情:

[root@cc01 ~]# 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
| +-------------+-----------------------------------------------+

查詢用戶列表

[root@cc01 ~]# openstack user list
+----------------------------------+---------------------------+
| ID                               | Name                      |
+----------------------------------+---------------------------+
| 01eef5e310e141cc8a3687dabc643676 | test_user                 |

查詢某一租戶下的所有用戶

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

openstack 租戶、用戶管理