← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1777422] [NEW] Resource tracker periodic task taking a very long time

 

Public bug reported:

We have 250 instances on a compute node and the resource tracker
periodic task is taking very long:

2018-06-17 10:30:56.194 1658 DEBUG oslo_concurrency.lockutils [req-
fb2573f9-3862-45db-b546-7a00fdd9a871 - - - - -] Lock "compute_resources"
released by "nova.compute.resource_tracker._update_available_resource"
:: held 10.666s inner /usr/lib/python2.7/dist-
packages/oslo_concurrency/lockutils.py:288

This is due to the deepcopy. This copies the structure N times per
iteration, once for each instance. This is very costly.

** Affects: nova
     Importance: Undecided
     Assignee: Gary Kotton (garyk)
         Status: In Progress

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

Title:
  Resource tracker periodic task taking a very long time

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  We have 250 instances on a compute node and the resource tracker
  periodic task is taking very long:

  2018-06-17 10:30:56.194 1658 DEBUG oslo_concurrency.lockutils [req-
  fb2573f9-3862-45db-b546-7a00fdd9a871 - - - - -] Lock
  "compute_resources" released by
  "nova.compute.resource_tracker._update_available_resource" :: held
  10.666s inner /usr/lib/python2.7/dist-
  packages/oslo_concurrency/lockutils.py:288

  This is due to the deepcopy. This copies the structure N times per
  iteration, once for each instance. This is very costly.

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


Follow ups