Public bug reported:

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?

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: keystone

-- 
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 OpenStack Dashboard (Horizon):
  New

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/horizon/+bug/1566455/+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

Reply via email to