Ask Your Question

Revision history [back]

Hi Vinoth,

Did you resolve the issue, I am also facing a similar issue.

2016-04-27 11:42:07.034 | +++ openstack user create admin --password devstack --os-url=http://10.19.14.212:5000/v3 --os-identity-api-version=3 --domain=default --or-show -f value -c id 2016-04-27 11:42:08.725 | Could not find resource default 2016-04-27 11:42:08.748 | ++ user_id= 2016-04-27 11:42:08.748 | ++ echo 2016-04-27 11:42:08.748 | + local admin_user= 2016-04-27 11:42:08.748 | ++ get_or_create_role admin 2016-04-27 11:42:08.748 | ++ local role_id 2016-04-27 11:42:08.749 | +++ openstack role create admin --os-url=http://10.19.14.212:5000/v3 --os-identity-api-version=3 --or-show -f value -c id 2016-04-27 11:42:09.457 | Internal Server Error (HTTP 500) 2016-04-27 11:42:09.480 | ++ role_id= 2016-04-27 11:42:09.480 | ++ echo 2016-04-27 11:42:09.480 | + local admin_role= 2016-04-27 11:42:09.480 | + get_or_add_user_project_role 2016-04-27 11:42:09.480 | + local user_role_id 2016-04-27 11:42:09.481 | ++ openstack role list --user --os-url=http://10.19.14.212:5000/v3 --os-identity-api-version=3 --column ID --project --column Name 2016-04-27 11:42:09.481 | ++ grep ' ' 2016-04-27 11:42:09.483 | ++ get_field 1 2016-04-27 11:42:09.484 | ++ local data field 2016-04-27 11:42:09.484 | ++ read data 2016-04-27 11:42:10.156 | usage: openstack role list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] 2016-04-27 11:42:10.156 | [--max-width <integer>] [--noindent] 2016-04-27 11:42:10.156 | [--quote {all,minimal,none,nonnumeric}] 2016-04-27 11:42:10.156 | [--domain <domain> | --project <project>] 2016-04-27 11:42:10.156 | [--user <user> | --group <group>] 2016-04-27 11:42:10.156 | [--group-domain <group-domain>] 2016-04-27 11:42:10.156 | [--project-domain <project-domain>] 2016-04-27 11:42:10.156 | [--user-domain <user-domain>] [--inherited] 2016-04-27 11:42:10.156 | openstack role list: error: argument --user: expected one argument 2016-04-27 11:42:10.178 | + user_role_id= 2016-04-27 11:42:10.178 | + [[ -z '' ]] 2016-04-27 11:42:10.178 | + openstack role add --user --project --os-url=http://10.19.14.212:5000/v3 --os-identity-api-version=3 2016-04-27 11:42:10.849 | usage: openstack role add [-h] [--domain <domain> | --project <project>] 2016-04-27 11:42:10.849 | [--user <user> | --group <group>] 2016-04-27 11:42:10.849 | [--group-domain <group-domain>] 2016-04-27 11:42:10.849 | [--project-domain <project-domain>] 2016-04-27 11:42:10.849 | [--user-domain <user-domain>] [--inherited] 2016-04-27 11:42:10.849 | <role> 2016-04-27 11:42:10.849 | openstack role add: error: argument --user: expected one argument 2016-04-27 11:42:10.870 | + exit_trap 2016-04-27 11:42:10.870 | + local r=2 2016-04-27 11:42:10.870 | ++ jobs -p 2016-04-27 11:42:10.871 | + jobs= 2016-04-27 11:42:10.871 | + [[ -n '' ]] 2016-04-27 11:42:10.871 | + kill_spinner 2016-04-27 11:42:10.871 | + '[' '!' -z '' ']' 2016-04-27 11:42:10.871 | + [[ 2 -ne 0 ]] 2016-04-27 11:42:10.871 | + echo 'Error on exit' 2016-04-27 11:42:10.871 | Error on exit 2016-04-27 11:42:10.871 | + generate-subunit 1461757161 169 fail