[Bug 1309430] [NEW] openstack role add RHEL error
Loy Tak Mem
alloytm at gmail.com
Fri Apr 18 09:22:27 UTC 2014
Public bug reported:
I setting devstack and under Ubuntu without proxy. This stack.sh works.
Under RHEL after fixing some odd error, it final stuck at the error
message at Keystone user account setting up. Not sure why the ADMIN_USER
and ADMIN_ROLE parameters one has quotes and one dont have.
OS : Red Hat Enterprise Linux Server release 6.4 (Santiago)
Kernel : 2.6.32-279.11.1.el6.x86_64
<user>/devstack/lib/keystone
----------------------------------------------------------------------------------------
function create_keystone_accounts {
# admin
ADMIN_TENANT=$(openstack project create \
admin \
| grep " id " | get_field 2)
ADMIN_USER=$(openstack user create \
admin \
--project "$ADMIN_TENANT" \
--email admin at example.com \
--password "$ADMIN_PASSWORD" \
| grep " id " | get_field 2)
ADMIN_ROLE=$(openstack role create \
admin \
| grep " id " | get_field 2)
openstack role add \
$ADMIN_ROLE \
--project $ADMIN_TENANT \
--user $ADMIN_USER
Error Message :
ERROR: cliff.app Not supported proxy scheme None
+ ADMIN_ROLE=
+ openstack role add --project --user
usage: openstack role add [-h] [-f {shell,table,value}] [-c COLUMN]
[--max-width <integer>] [--variable VARIABLE]
[--prefix PREFIX] --project <project> --user <user>
<role>
openstack role add: error: argument --project: expected one argument
+ exit_trap
+ local r=2
++ jobs -p
+ jobs=
+ [[ -n '' ]]
+ exit 2
** Affects: keystone (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1309430
Title:
openstack role add RHEL error
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/keystone/+bug/1309430/+subscriptions
More information about the Ubuntu-server-bugs
mailing list