← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1451934] Re: DOA code fails on federated attribute of token

 

** Changed in: django-openstack-auth
       Status: Fix Committed => Fix Released

-- 
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/1451934

Title:
  DOA code fails on federated attribute of token

Status in django-openstack-auth:
  Fix Released
Status in OpenStack Dashboard (Horizon):
  Triaged

Bug description:
  Seeing this problem with recent DOA, against keystone v2:

    File "/foo/current/.venv/lib/python2.7/site-packages/openstack_auth/utils.py", line 54, in middleware_get_user
      request._cached_user = get_user(request)
    File "/foo/.venv/lib/python2.7/site-packages/openstack_auth/utils.py", line 64, in get_user
      user = backend.get_user(user_id) or models.AnonymousUser()
    File "/foo/.venv/lib/python2.7/site-packages/openstack_auth/backend.py", line 78, in get_user
      endpoint, services_region)
    File "/foo/.venv/lib/python2.7/site-packages/openstack_auth/user.py", line 58, in create_user_from_token
      is_federated=token.is_federated,
  AttributeError: 'Token' object has no attribute 'is_federated'

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


References