Skip to content

Instantly share code, notes, and snippets.

@petrblaho
Created June 21, 2016 15:33
Show Gist options
  • Save petrblaho/27f7d9e156dcc141a915a047a5727e1c to your computer and use it in GitHub Desktop.
Save petrblaho/27f7d9e156dcc141a915a047a5727e1c to your computer and use it in GitHub Desktop.
❯ openstack --os-identity-api-version 3 --os-username cloud_admin --os-password password --os-domain-name admin_domain --os-user-domain-name admin_domain
(openstack) role assignment list --name
+------------------+------------------------------------+-------+---------------------+--------------+-----------+
| Role | User | Group | Project | Domain | Inherited |
+------------------+------------------------------------+-------+---------------------+--------------+-----------+
| admin | swift@Default | | service@Default | | False |
| _member_ | swift@Default | | service@Default | | False |
| admin | neutron@Default | | service@Default | | False |
| _member_ | neutron@Default | | service@Default | | False |
| admin | cinderv2@Default | | service@Default | | False |
| _member_ | cinderv2@Default | | service@Default | | False |
| admin | gnocchi@Default | | service@Default | | False |
| ResellerAdmin | gnocchi@Default | | service@Default | | False |
| _member_ | gnocchi@Default | | service@Default | | False |
| admin | glance@Default | | service@Default | | False |
| _member_ | glance@Default | | service@Default | | False |
| admin | ceilometer@Default | | service@Default | | False |
| ResellerAdmin | ceilometer@Default | | service@Default | | False |
| _member_ | ceilometer@Default | | service@Default | | False |
| admin | admin@Default | | admin@Default | | False |
| heat_stack_owner | admin@Default | | admin@Default | | False |
| admin | sahara@Default | | service@Default | | False |
| _member_ | sahara@Default | | service@Default | | False |
| admin | aodh@Default | | service@Default | | False |
| _member_ | aodh@Default | | service@Default | | False |
| admin | heat@Default | | service@Default | | False |
| _member_ | heat@Default | | service@Default | | False |
| admin | adm1@dom1 | | project01@dom1 | | False |
| admin | adm1@dom1 | | test-project-y@dom1 | | False |
| admin | nova@Default | | service@Default | | False |
| _member_ | nova@Default | | service@Default | | False |
| admin | cinder@Default | | service@Default | | False |
| _member_ | cinder@Default | | service@Default | | False |
| admin | admin@Default | | | Default | False |
| admin | heat_stack_domain_admin@heat_stack | | | heat_stack | False |
| admin | adm1@dom1 | | | dom1 | False |
| admin | cloud_admin@admin_domain | | | admin_domain | False |
+------------------+------------------------------------+-------+---------------------+--------------+-----------+
(openstack) project list --domain dom1
+----------------------------------+----------------+
| ID | Name |
+----------------------------------+----------------+
| a9d110571a6047f88047d94e5e072356 | project01 |
| ebdaa3a1cca24e888d36fbe6a0979e44 | test-project-x |
| fa7ba62f61864dfc9984655bcd96e747 | test-project-y |
+----------------------------------+----------------+
(openstack) user list --domain dom1
+----------------------------------+------+
| ID | Name |
+----------------------------------+------+
| b31d760c9f304a6d867e607becfe1ef2 | adm1 |
+----------------------------------+------+
(openstack)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment