← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1552446] Re: terminate Ironic instance update resources for all nodes

 

Reviewed:  https://review.openstack.org/287498
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=16d8819891c4bef58760c62c30aa2b68868087b9
Submitter: Jenkins
Branch:    master

commit 16d8819891c4bef58760c62c30aa2b68868087b9
Author: vsaienko <vsaienko@xxxxxxxxxxxx>
Date:   Thu Mar 3 01:07:33 2016 +0200

    Update resources only for specific node during deletion.
    
    At the moment during Nova instance termination resources are
    updated for all Ironic nodes. As result with high number of nodes,
    removing N instances initiates N x M requests, where M is the total
    number of nodes. This commit allows to update resources per specific
    node on termination.
    
    Depends-On: Iffad4a6ab1aaa5fea591c19f6d330dc861c5675d
    
    Change-Id: Ib54741c8564e18f23c4f50bed190dfc66db7ba76
    Closes-Bug: #1552446


** Changed in: ironic
       Status: In Progress => Fix Released

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

Title:
  terminate Ironic instance update resources for all nodes

Status in Ironic:
  Fix Released
Status in OpenStack Compute (nova):
  Opinion

Bug description:
  Node termination [0] calls update_available_resources [1] for all
  nodes. With huge number of instances it leads to super slow
  operations.

  [0] https://github.com/openstack/ironic/blob/master/ironic/nova/compute/manager.py#L90
  [1] https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L6375

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


References