There are unnecessary api calls when to update user

Bug #1563699 reported by Wang Bo on 2016-03-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Wishlist
ChangBo Guo(gcb)

Bug Description

Ref:https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/v2_0/users.py#L50
With limits of keystoneclient v2.0, current code always call manager.update() and manager.update_tenant() to update user info.
But it does not need both two calls if we only change default_project without other info or change any other info without project.

Wang Bo (chestack) on 2016-03-30
Changed in horizon:
assignee: nobody → Wang Bo (chestack)
Changed in horizon:
status: New → In Progress
Changed in horizon:
importance: Undecided → Wishlist
milestone: none → next
Changed in horizon:
assignee: Wang Bo (chestack) → ChangBo Guo(gcb) (glongwave)

Change abandoned by Wang Bo (<email address hidden>) on branch: master
Review: https://review.openstack.org/292382

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers