← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1992186] [NEW] "int object is not iterable" when using numerical group names

 

Public bug reported:

When using federation and having the values of `groups` in the mapping
set to a number, it will be parsed into a a number and then fail to
authenticate:

```
{"error":{"code":400,"message":"'int' object is not iterable","title":"Bad Request"}}
```

I believe the bad bit is here:

https://github.com/openstack/keystone/blob/326b014434cc760ba08763e1870ac057f7917e98/keystone/federation/utils.py#L650-L661

** Affects: keystone
     Importance: Undecided
         Status: New

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

Title:
  "int object is not iterable" when using numerical group names

Status in OpenStack Identity (keystone):
  New

Bug description:
  When using federation and having the values of `groups` in the mapping
  set to a number, it will be parsed into a a number and then fail to
  authenticate:

  ```
  {"error":{"code":400,"message":"'int' object is not iterable","title":"Bad Request"}}
  ```

  I believe the bad bit is here:

  https://github.com/openstack/keystone/blob/326b014434cc760ba08763e1870ac057f7917e98/keystone/federation/utils.py#L650-L661

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



Follow ups