[Yahoo-eng-team] [Bug 1309430] Re: openstack role add RHEL error

2014-08-04 Thread Dolph Mathews
This looks like it's an issue between devstack and openstackclient. This
was filed months ago though, is it still an issue?

** Project changed: keystone => devstack

** Changed in: devstack
   Status: New => Incomplete

** Also affects: python-openstackclient
   Importance: Undecided
   Status: New

** Changed in: python-openstackclient
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1309430

Title:
  openstack role add RHEL error

Status in devstack - openstack dev environments:
  Incomplete
Status in OpenStack Command Line Client:
  Incomplete
Status in “keystone” package in Ubuntu:
  Invalid

Bug description:
  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

  /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 ad...@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 ] [--variable VARIABLE]
[--prefix PREFIX] --project  --user 

  openstack role add: error: argument --project: expected one argument
  + exit_trap
  + local r=2
  ++ jobs -p
  + jobs=
  + [[ -n '' ]]
  + exit 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1309430/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1309430] Re: openstack role add RHEL error

2014-08-01 Thread James Page
This appears to be a RHEL problem - pushing upstream and marking invalid
for Ubuntu

** Also affects: keystone
   Importance: Undecided
   Status: New

** Changed in: keystone (Ubuntu)
   Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1309430

Title:
  openstack role add RHEL error

Status in OpenStack Identity (Keystone):
  New
Status in “keystone” package in Ubuntu:
  Invalid

Bug description:
  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

  /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 ad...@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 ] [--variable VARIABLE]
[--prefix PREFIX] --project  --user 

  openstack role add: error: argument --project: expected one argument
  + exit_trap
  + local r=2
  ++ jobs -p
  + jobs=
  + [[ -n '' ]]
  + exit 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1309430/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp