← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1655761] [NEW] Resource Provider generation update missing

 

Public bug reported:

Most of the methods that increase the generation for a resource provider
also update the value of `generation` in the object that calls it, but
there is one place where it was missing: the _set_allocations() method
of the AllocationList class. This resulted in some ResourceProvider
references having stale values for `generation`, which would cause a
ConcurrentUpdateDetected exception to be raised.

** Affects: nova
     Importance: Undecided
     Assignee: Ed Leafe (ed-leafe)
         Status: In Progress


** Tags: placement

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

Title:
  Resource Provider generation update missing

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  Most of the methods that increase the generation for a resource
  provider also update the value of `generation` in the object that
  calls it, but there is one place where it was missing: the
  _set_allocations() method of the AllocationList class. This resulted
  in some ResourceProvider references having stale values for
  `generation`, which would cause a ConcurrentUpdateDetected exception
  to be raised.

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


Follow ups