Ask Your Question

Revision history [back]

In Ocata release, you will encounter this error:

# openstack role list --user swift

Listing assignments using role list is deprecated. Use role assignment list --user <user-name> --domain default --names instead.

Then you use this instead

# openstack role assignment list --names

+---------------+--------------------+-------+------------------+--------+-----------+ | Role | User | Group | Project | Domain | Inherited | +---------------+--------------------+-------+------------------+--------+-----------+ | admin | neutron@Default | | services@Default | | False | | admin | placement@Default | | services@Default | | False | | admin | glance@Default | | services@Default | | False | | admin | cinder@Default | | services@Default | | False | | admin | aodh@Default | | services@Default | | False | | admin | adm@Default | | engineer@Default | | False | | admin | admin@Default | | admin@Default | | False | | admin | nova@Default | | services@Default | | False | | admin | swift@Default | | services@Default | | False | | admin | gnocchi@Default | | services@Default | | False | | ResellerAdmin | ceilometer@Default | | services@Default | | False | | admin | ceilometer@Default | | services@Default | | False | +---------------+--------------------+-------+------------------+--------+-----------+

In Ocata release, you will encounter this error:

# openstack role list --user swift

Listing assignments using role list is deprecated. Use role assignment list --user <user-name> --domain default --names instead.

instead.

Then you use this instead

# openstack role assignment list --names
+---------------+--------------------+-------+------------------+--------+-----------+
| Role          | User               | Group | Project          | Domain | Inherited |
+---------------+--------------------+-------+------------------+--------+-----------+
| admin         | neutron@Default    |       | services@Default |        | False     |
| admin         | placement@Default  |       | services@Default |        | False     |
| admin         | glance@Default     |       | services@Default |        | False     |
| admin         | cinder@Default     |       | services@Default |        | False     |
| admin         | aodh@Default       |       | services@Default |        | False     |
| admin         | adm@Default        |       | engineer@Default |        | False     |
| admin         | admin@Default      |       | admin@Default    |        | False     |
| admin         | nova@Default       |       | services@Default |        | False     |
| admin         | swift@Default      |       | services@Default |        | False     |
| admin         | gnocchi@Default    |       | services@Default |        | False     |
| ResellerAdmin | ceilometer@Default |       | services@Default |        | False     |
| admin         | ceilometer@Default |       | services@Default |        | False     |
+---------------+--------------------+-------+------------------+--------+-----------+

+---------------+--------------------+-------+------------------+--------+-----------+ | Role | User | Group | Project | Domain | Inherited | +---------------+--------------------+-------+------------------+--------+-----------+ | admin | neutron@Default | | services@Default | | False | | admin | placement@Default | | services@Default | | False | | admin | glance@Default | | services@Default | | False | | admin | cinder@Default | | services@Default | | False | | admin | aodh@Default | | services@Default | | False | | admin | adm@Default | | engineer@Default | | False | | admin | admin@Default | | admin@Default | | False | | admin | nova@Default | | services@Default | | False | | admin | swift@Default | | services@Default | | False | | admin | gnocchi@Default | | services@Default | | False | | ResellerAdmin | ceilometer@Default | | services@Default | | False | | admin | ceilometer@Default | | services@Default | | False | +---------------+--------------------+-------+------------------+--------+-----------+

In Ocata release, you will encounter this error:

# openstack role list --user swift
Listing assignments using role list is deprecated. Use role assignment list --user <user-name> --domain default --names instead.

Then you use this instead

# openstack role assignment list --names
+---------------+--------------------+-------+------------------+--------+-----------+
| Role          | User               | Group | Project          | Domain | Inherited |
+---------------+--------------------+-------+------------------+--------+-----------+
| admin         | neutron@Default    |       | services@Default |        | False     |
| admin         | placement@Default  |       | services@Default |        | False     |
| admin         | glance@Default     |       | services@Default |        | False     |
| admin         | cinder@Default     |       | services@Default |        | False     |
| admin         | aodh@Default       |       | services@Default |        | False     |
| admin         | adm@Default        |       | engineer@Default |        | False     |
| admin         | admin@Default      |       | admin@Default    |        | False     |
| admin         | nova@Default       |       | services@Default |        | False     |
| admin         | swift@Default      |       | services@Default |        | False     |
| admin         | gnocchi@Default    |       | services@Default |        | False     |
| ResellerAdmin | ceilometer@Default |       | services@Default |        | False     |
| admin         | ceilometer@Default |       | services@Default |        | False     |
+---------------+--------------------+-------+------------------+--------+-----------+