Bulk operations for keystone
There is a need at least at yahoo to increase the performance of keystone under certain operations (such as creating many users, fetching many users, adding many tenants to many roles, creating many tenants and so-on). In general lets call these 'bulk' operations on tenants, roles, users (and the associating binding of users and tenants to roles). At yahoo where we do a sync from one legacy system to keystone (for a while this has been the case, until said legacy system is unified or removed from existence, or ldap is more widely adopted...) for users, roles, tenants (doing some translation from the legacy system to keystone as needed) such 'bulk' operations dramatically decrease the time it takes to run this 'sync' process (the sync process can be multi-thousands of changes/
So it'd be great if we can get these API's (possibly under contrib/) into upstream keystone for others to use (if they have similar legacy systems or similar use-cases as yahoo does).
The apis that we developed (but which can be changed as needed depending on feedback).
/OS-BULK/users (CRUDs many users)
/OS-BULK/
/OS-BULK/
/OS-BULK/tenants (CRUDs many tenants)
/OS-BULK/roles (CRUDs many roles)
Thoughts, comments welcome and appreciated :)
*PS: likely keystone-client needs corresponding changes to support these as well (of course).
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Not
- Drafter:
- Joshua Harlow
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Lance Bragstad
Related branches
Related bugs
Sprints
Whiteboard
(morganfainberg): This needs a spec.
(lbragstad): It's been a while since this has been updated. If there is still a need for this, please don't hesitate to fill out a specification and propose it to the openstack/
[0] http://