← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1777491] [NEW] Avoid redundant compute node update

 

Public bug reported:

_update_available_resource() in nova/compute/resource_tracker.py invokes _init_compute_node() which internally calls _update() and once again _update() is invoked at the end of _update_available_resource().
https://github.com/openstack/nova/blob/master/nova/compute/resource_tracker.py#L762

This triggers update_provider_tree() or get_inventory() on the virt
driver, scanning all resources twice within same method.

** Affects: nova
     Importance: Undecided
     Assignee: Giridhar Jayavelu (gjayavelu)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Giridhar Jayavelu (gjayavelu)

-- 
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/1777491

Title:
  Avoid redundant compute node update

Status in OpenStack Compute (nova):
  New

Bug description:
  _update_available_resource() in nova/compute/resource_tracker.py invokes _init_compute_node() which internally calls _update() and once again _update() is invoked at the end of _update_available_resource().
  https://github.com/openstack/nova/blob/master/nova/compute/resource_tracker.py#L762

  This triggers update_provider_tree() or get_inventory() on the virt
  driver, scanning all resources twice within same method.

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


Follow ups