← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1710249] Re: nova doesn't clean up the resources after shelve offload

 

Reviewed:  https://review.openstack.org/493834
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=563d71f7cc4742414be75332f1442f4ec6f5147b
Submitter: Jenkins
Branch:    master

commit 563d71f7cc4742414be75332f1442f4ec6f5147b
Author: Balazs Gibizer <balazs.gibizer@xxxxxxxxxxxx>
Date:   Tue Aug 15 10:24:04 2017 +0200

    Clean up resources at shelve offload
    
    Resource tracker doesn't clean up the resources of an instance after
    it is offloaded since Ia93168b1560267178059284186fb2b7096c7e81f. So
    this patch proposes an explicit cleanup in compute manager.
    
    Closes-Bug: #1710249
    Change-Id: Ib16e987d50162a4c11a31692704859b981915bed


** Changed in: nova
       Status: In Progress => Fix Released

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

Title:
  nova doesn't clean up the resources after shelve offload

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Scenario:
  1) boot a server
  2) shelve the server
  3) shelve offload the server
  4) unshelve the server

  The expectation is that after 3) the server has no allocations and after 4) the server has a single allocation on a given host it is booted on during 4).
  However after 3) placement API still shows allocation for the server. After 4) the server has double allocations.

  Debug log for the reproduction: https://paste.ubuntu.com/25290864/

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


References