← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1822262] [NEW] Unnecessary _fill_provider_mapping call during reschedule when claim fails

 

Public bug reported:

During re-schedule the RequestGroup - RP mapping needs to be
recalculated based on the new host selected. The current implementation
unconditionally try to calculate the mapping even if the resource claim
on the new host was unsuccessful [1]. This is wasteful.

The mapping can be done conditionally after the claim was successful.

[1]https://github.com/openstack/nova/blob/34a8e8ccf61865504b1a50c1d43a25a57d954119/nova/conductor/manager.py#L670-L680

** Affects: nova
     Importance: Low
         Status: New


** Tags: conductor

** Changed in: nova
   Importance: Undecided => Low

** Tags added: conductor

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

Title:
  Unnecessary _fill_provider_mapping call during reschedule when claim
  fails

Status in OpenStack Compute (nova):
  New

Bug description:
  During re-schedule the RequestGroup - RP mapping needs to be
  recalculated based on the new host selected. The current
  implementation unconditionally try to calculate the mapping even if
  the resource claim on the new host was unsuccessful [1]. This is
  wasteful.

  The mapping can be done conditionally after the claim was successful.

  [1]https://github.com/openstack/nova/blob/34a8e8ccf61865504b1a50c1d43a25a57d954119/nova/conductor/manager.py#L670-L680

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


Follow ups