← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1712850] Re: Allocations are not removed from destination node when rescheduling during resize/migrate

 

** Also affects: nova/pike
   Importance: Undecided
       Status: New

** Changed in: nova/pike
       Status: New => In Progress

** Changed in: nova/pike
   Importance: Undecided => High

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

Title:
  Allocations are not removed from destination node when rescheduling
  during resize/migrate

Status in OpenStack Compute (nova):
  Triaged
Status in OpenStack Compute (nova) pike series:
  In Progress

Bug description:
  This is similar to bug 1712718 but instead of the case that we're
  creating a new instance (or unshelving an offloaded instance), this is
  the case that a resize/cold migration fails it's pre-check or claim on
  the destination host and gets rescheduled:

  https://github.com/openstack/nova/blob/16.0.0.0rc1/nova/compute/manager.py#L3801

  That is called from prep_resize which happens on the destination node,
  so we should call
  SchedulerReportClient.remove_provider_from_instance_allocation in that
  case to remove the allocations against the destination node before
  rescheduling.

  Note that we can't just remove all allocations since that would remove
  the allocations that already exist on the source node for the instance
  during a resize/migrate.

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


References