← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1566455] Re: Using V3 Auth throws error TypeError at /auth/login/ __init__() got an unexpected keyword argument 'unscoped'

 

The DOA patch has been abandoned, since stable/kilo will soon be EOL.

** Also affects: django-openstack-auth
   Importance: Undecided
       Status: New

** Changed in: django-openstack-auth
       Status: New => In Progress

** Changed in: django-openstack-auth
     Assignee: (unassigned) => Brad Pokorny (bpokorny)

** Changed in: horizon
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1566455

Title:
  Using V3 Auth throws error TypeError at /auth/login/ __init__() got an
  unexpected keyword argument 'unscoped'

Status in django-openstack-auth:
  In Progress
Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  PasswordPlugin class creates a plugin with 'unscoped' parameter. This
  is throwing the following error:

  TypeError at /auth/login/
  __init__() got an unexpected keyword argument 'unscoped'

          LOG.debug('Attempting to authenticate for %s', username)
          if utils.get_keystone_version() >= 3:
              return v3_auth.Password(auth_url=auth_url,
                                      username=username,
                                      password=password,
                                      user_domain_name=user_domain_name,
                                      unscoped=True) -------------------> Deleting this line removes the error and authenticates successfully.
          else:
              return v2_auth.Password(auth_url=auth_url,
                                      username=username,
                                      password=password) 

  I have V3 API and URL configured in Horizon settings. Using Horizon
  Kilo version.

  Is there some other setting that is needed?

To manage notifications about this bug go to:
https://bugs.launchpad.net/django-openstack-auth/+bug/1566455/+subscriptions


References