OpenStack Antelope : Add Openstack Users2023/03/23 |
Add User accounts in keystone who can use Openstack System.
|
|
[1] | Any names are OK you like for user-name or project-name. |
# create a project root@dlp ~(keystone)# openstack project create --domain default --description "Hiroshima Project" hiroshima +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ | description | Hiroshima Project | | domain_id | default | | enabled | True | | id | e294bd7c00314facacdb46c36fb54ee9 | | is_domain | False | | name | hiroshima | | options | {} | | parent_id | default | | tags | [] | +-------------+----------------------------------+ # create a user root@dlp ~(keystone)# openstack user create --domain default --project hiroshima --password userpassword serverworld +---------------------+----------------------------------+ | Field | Value | +---------------------+----------------------------------+ | default_project_id | e294bd7c00314facacdb46c36fb54ee9 | | domain_id | default | | enabled | True | | id | 85236576a97e492791abe70c217c8898 | | name | serverworld | | options | {} | | password_expires_at | None | +---------------------+----------------------------------+root@dlp ~(keystone)# openstack role list +----------------------------------+--------+ | ID | Name | +----------------------------------+--------+ | 9ef8c6b3f07544fa8fbda60043be9ab4 | reader | | e06201251dca4570839521f089b961d3 | member | | f8ab227f0a1b4c1ba730ec919741482f | admin | +----------------------------------+--------+ # add a user to the [member] role root@dlp ~(keystone)# openstack role add --project hiroshima --user serverworld member
|
Sponsored Link |