++ openstack domain create --or-show --enable -f value -c id '--description=Service Domain for RegionOne/heat' heat + SERVICE_OS_DOMAIN_ID=c29cc8d3538a41c6a463ba358d53c173 + openstack domain show c29cc8d3538a41c6a463ba358d53c173 +-------------+-----------------------------------+ | Field | Value | +-------------+-----------------------------------+ | id | c29cc8d3538a41c6a463ba358d53c173 | | name | heat | | enabled | True | | description | Service Domain for RegionOne/heat | | options | {} | +-------------+-----------------------------------+ ++ openstack user create --or-show --enable -f value -c id --domain=c29cc8d3538a41c6a463ba358d53c173 --description 'Service User for RegionOne/heat' --password=s5KTYvhrS55QPiisjhHyIzAJSVUOdNof heat-stack-user-RegionOne + SERVICE_OS_USERID=6d63e97f89e04454a64ed93cac3da24a + openstack user set --password=s5KTYvhrS55QPiisjhHyIzAJSVUOdNof 6d63e97f89e04454a64ed93cac3da24a + openstack user show 6d63e97f89e04454a64ed93cac3da24a +---------------------+----------------------------------+ | Field | Value | +---------------------+----------------------------------+ | default_project_id | None | | domain_id | c29cc8d3538a41c6a463ba358d53c173 | | email | None | | enabled | True | | id | 6d63e97f89e04454a64ed93cac3da24a | | 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=c3d74f43b58045c5afd2dd6e80a022ba + openstack role add --domain=c29cc8d3538a41c6a463ba358d53c173 --user=6d63e97f89e04454a64ed93cac3da24a --user-domain=c29cc8d3538a41c6a463ba358d53c173 c3d74f43b58045c5afd2dd6e80a022ba + openstack role assignment list --role=c3d74f43b58045c5afd2dd6e80a022ba --user-domain=c29cc8d3538a41c6a463ba358d53c173 --user=6d63e97f89e04454a64ed93cac3da24a +----------------------------------+----------------------------------+-------+---------+----------------------------------+--------+-----------+ | Role | User | Group | Project | Domain | System | Inherited | +----------------------------------+----------------------------------+-------+---------+----------------------------------+--------+-----------+ | c3d74f43b58045c5afd2dd6e80a022ba | 6d63e97f89e04454a64ed93cac3da24a | | | c29cc8d3538a41c6a463ba358d53c173 | | False | +----------------------------------+----------------------------------+-------+---------+----------------------------------+--------+-----------+