← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1719933] Re: placement server needs to retry allocations, server-side

 

OK, so this is indeed invalid. We do a server-side retry on creating
allocations already:

https://github.com/openstack/nova/blob/8ca24bf1ff80f39b14726aca22b5cf52603ea5a0/nova/objects/resource_provider.py#L1757-L1759

which is called from AllocationList.create_all():

https://github.com/openstack/nova/blob/8ca24bf1ff80f39b14726aca22b5cf52603ea5a0/nova/objects/resource_provider.py#L1839

** Changed in: nova
       Status: Triaged => Invalid

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

Title:
  placement server needs to retry allocations, server-side

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  Long time ago a todo was made in placement:
  https://github.com/openstack/nova/blob/faede889d3620f8ff0131a7a4c6b9c1bc844cd06/nova/objects/resource_provider.py#L1837-L1839

  We need to implement that TODO, this is a note to self.

  This is related to what may be a different bug: when heavily loaded
  with many single requests, the placement server is unexpectedly
  receiving 409's about generation problems. Discussion of that led to
  remembering that this TODO needs to be fixed. Fixing the TODO needs to
  be done regardless of that problem.

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


References