← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1563699] [NEW] There are unnecessary api calls when to update user

 

Public bug reported:

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.

** Affects: horizon
     Importance: Undecided
     Assignee: Wang Bo (chestack)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Wang Bo (chestack)

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

Title:
  There are unnecessary api calls when to update user

Status in OpenStack Dashboard (Horizon):
  New

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.

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