Ubuntu 22.04
Sponsored Link

OpenStack Bobcat : ユーザーを新規追加する2023/10/05

 
Openstack が利用可能な任意のユーザーを Keystone に新規追加します。
[1] ユーザー名やプロジェクト名は任意の名称で OK です。
# 任意のプロジェクト追加

root@dlp ~(keystone)#
openstack project create --domain default --description "Hiroshima Project" hiroshima

+-------------+----------------------------------+
| Field       | Value                            |
+-------------+----------------------------------+
| description | Hiroshima Project                |
| domain_id   | default                          |
| enabled     | True                             |
| id          | f30cd546632e484cb24414d83207694b |
| is_domain   | False                            |
| name        | hiroshima                        |
| options     | {}                               |
| parent_id   | default                          |
| tags        | []                               |
+-------------+----------------------------------+

# 任意のユーザー追加

root@dlp ~(keystone)#
openstack user create --domain default --project hiroshima --password userpassword serverworld

+---------------------+----------------------------------+
| Field               | Value                            |
+---------------------+----------------------------------+
| default_project_id  | f30cd546632e484cb24414d83207694b |
| domain_id           | default                          |
| enabled             | True                             |
| id                  | 470c9323dad64bbea8fb5ecca6381f72 |
| name                | serverworld                      |
| options             | {}                               |
| password_expires_at | None                             |
+---------------------+----------------------------------+

root@dlp ~(keystone)#
openstack role list

+----------------------------------+---------+
| ID                               | Name    |
+----------------------------------+---------+
| 0d41776fe92a4875a4aeda03f4804def | service |
| 1d6a75014fac4882853dcdf9005d2ac0 | member  |
| 7e9cba7b97f24cdfadba96d81da21b61 | admin   |
| a7176a75921345a4b3f0ccfa798650e5 | reader  |
+----------------------------------+---------+

# ユーザーを [member] ロールに加える

root@dlp ~(keystone)#
openstack role add --project hiroshima --user serverworld member
関連コンテンツ