← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1247830] Re: Update role 'NoneType' object has no attribute 'setdefault'

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

** Changed in: keystone
    Milestone: None => icehouse-1

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

Title:
  Update role 'NoneType' object has no attribute 'setdefault'

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  Havana Keystone configured with LDAP.

  When you try to update a role using the API:

  curl -X PATCH --insecure -H "X-Auth-Token:the_token" -H "Content-type:
  application/json" -d '{"role": {"name": "the new name"}}'
  https://localhost:35357/v3/roles/role_id

  Keystone server raises an error:

  {"error": {"message": "An unexpected error prevented the server from
  fulfilling your request. 'NoneType' object has no attribute
  'setdefault'", "code": 500, "title": "Internal Server Error"}}

  The role information is updated, but keystone server raises that
  error.

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