Identity provider create fails if remote_id is not set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
High
|
Nathan Kinder |
Bug Description
When support for multiple remote_ids was added (https:/
[root@rdo ~]# openstack --os-auth-url http://
--os-username admin --os-password password --os-project-
--os-
ERROR: openstack 'NoneType' object is not iterable (HTTP 400) (Request-ID: req-172efcf5-
The problem is that the dict that is passed into IdentityProvide
{u'enabled': True, u'description': None, u'remote_ids': None}
We pop the 'remote_ids' item from the dict to create remote_ids_list, but this results in the list being None. We then try to iterate the list, which triggers an exception that leads to the 400 error. We need to fix the way we initialize the list.
Changed in keystone: | |
assignee: | nobody → Nathan Kinder (nkinder) |
Changed in keystone: | |
importance: | Undecided → High |
milestone: | none → kilo-rc1 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | kilo-rc1 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/170597
Review: https:/