++ openstack domain create --or-show --enable -f value -c id '--description=Service Domain for RegionOne/heat' heat + SERVICE_OS_DOMAIN_ID=56a638d1fa48423486332d1129da186c + openstack domain show 56a638d1fa48423486332d1129da186c +-------------+-----------------------------------+ | Field | Value | +-------------+-----------------------------------+ | id | 56a638d1fa48423486332d1129da186c | | name | heat | | enabled | True | | description | Service Domain for RegionOne/heat | | options | {} | +-------------+-----------------------------------+ ++ openstack user create --or-show --enable -f value -c id --domain=56a638d1fa48423486332d1129da186c --description 'Service User for RegionOne/heat' --password=eNE9l6UVRAyqBppRX5jMh5MzUwR07tFn heat-stack-user-RegionOne + SERVICE_OS_USERID=3f2ba80a20cf4a1e81f48c489d7f8a92 + openstack user set --password=eNE9l6UVRAyqBppRX5jMh5MzUwR07tFn 3f2ba80a20cf4a1e81f48c489d7f8a92 + openstack user show 3f2ba80a20cf4a1e81f48c489d7f8a92 +---------------------+----------------------------------+ | Field | Value | +---------------------+----------------------------------+ | default_project_id | None | | domain_id | 56a638d1fa48423486332d1129da186c | | email | None | | enabled | True | | id | 3f2ba80a20cf4a1e81f48c489d7f8a92 | | name | heat-stack-user-RegionOne | | description | Service User for RegionOne/heat | | password_expires_at | None | | options | {} | +---------------------+----------------------------------+ ++ openstack role show -f value -c id admin + SERVICE_OS_ROLE_ID=687bf4876dc74138a7bb75ac226863c6 + openstack role add --domain=56a638d1fa48423486332d1129da186c --user=3f2ba80a20cf4a1e81f48c489d7f8a92 --user-domain=56a638d1fa48423486332d1129da186c 687bf4876dc74138a7bb75ac226863c6 + openstack role assignment list --role=687bf4876dc74138a7bb75ac226863c6 --user-domain=56a638d1fa48423486332d1129da186c --user=3f2ba80a20cf4a1e81f48c489d7f8a92 +----------------------------------+----------------------------------+-------+---------+----------------------------------+--------+-----------+ | Role | User | Group | Project | Domain | System | Inherited | +----------------------------------+----------------------------------+-------+---------+----------------------------------+--------+-----------+ | 687bf4876dc74138a7bb75ac226863c6 | 3f2ba80a20cf4a1e81f48c489d7f8a92 | | | 56a638d1fa48423486332d1129da186c | | False | +----------------------------------+----------------------------------+-------+---------+----------------------------------+--------+-----------+