← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1309430] Re: openstack role add RHEL error

 

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

  <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@xxxxxxxxxxx \
          --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

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