OpenStack Antelope : ユーザーを新規追加する2023/04/14 |
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 | 17b52bb0db9440549d400290cec02c1d | | 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 | 17b52bb0db9440549d400290cec02c1d | | domain_id | default | | enabled | True | | id | 1ed6032943cb4e5d907371a20adae1c0 | | name | serverworld | | options | {} | | password_expires_at | None | +---------------------+----------------------------------+[root@dlp ~(keystone)]# openstack role list +----------------------------------+--------+ | ID | Name | +----------------------------------+--------+ | 0eea22f06a1c4241b145dc56e333b3f7 | admin | | 3bc83f2ae2e340d0ad8b1273b4edb567 | member | | e462409d93a24b20b2834391959ce10f | reader | +----------------------------------+--------+ # ユーザーを [member] ロールに加える [root@dlp ~(keystone)]# openstack role add --project hiroshima --user serverworld member
|
Sponsored Link |