First time here? Check out the FAQ!
![]() | 1 | initial version |
Try
openstack role list --user <user_id> --project <--project_id>
There is nothing called user-role-list, it is always user-role-list for a project in keystoneclient
![]() | 2 | No.2 Revision |
Try
openstack role list --user <user_id> --project <--project_id>
There is nothing called user-role-list, it is always user-role-list for a project in keystoneclient
/opt/stack$ openstack help role list usage: openstack role list [-h] [-f {csv,html,json,table,yaml}] [-c COLUMN] [--max-width <integer>] [--quote {all,minimal,none,nonnumeric}] [--domain <domain> | --project <project>] [--user <user> | --group <group>] List roles optional arguments: -h, --help show this help message and exit --domain <domain> Filter roles by <domain> (name or ID) --project <project> Filter roles by <project> (name or ID) --user <user> Filter roles by <user> (name or ID) --group <group> Filter roles by <group> (name or ID)
![]() | 3 | No.3 Revision |
Try
openstack role list --user <user_id> --project <--project_id>
There is nothing called user-role-list, it is always user-role-list for a project in keystoneclient
Update 1:
You need to export environment variable to list v3 apis available
export OS_IDENTITY_API_VERSION=3
/opt/stack$ export OS_IDENTITY_API_VERSION=3 /opt/stack$ openstack help role list usage: openstack role list [-h] [-f {csv,html,json,table,yaml}] [-c COLUMN] [--max-width <integer>] [--quote {all,minimal,none,nonnumeric}] [--domain <domain> | --project <project>] [--user <user> | --group <group>] List roles optional arguments: -h, --help show this help message and exit --domain <domain> Filter roles by <domain> (name or ID) --project <project> Filter roles by <project> (name or ID) --user <user> Filter roles by <user> (name or ID) --group <group> Filter roles by <group> (name or ID)