← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1604078] Re: Hyper-V: planned vms are not cleaned up

 

Reviewed:  https://review.openstack.org/478943
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=70296431908208375677ae428a147f312b60e1ad
Submitter: Zuul
Branch:    master

commit 70296431908208375677ae428a147f312b60e1ad
Author: Claudiu Belu <cbelu@xxxxxxxxxxxxxxxxxxxxxx>
Date:   Thu Jun 29 17:00:31 2017 +0300

    hyperv: Cleans up live migration Planned VM
    
    If an instance having iSCSI volumes attached is being
    live-migrated, a Planned VM is created at the destination.
    If the live-migration fails, the Planned VM is not cleaned
    up at the destination.
    
    This patch will ensure that rollback_live_migration_at_destination
    is being called on live-migration failure for Hyper-V compute nodes,
    which will clean up the Planned VM.
    
    Depends-On: I91636a82b057f566eab9887c422911163668f556
    
    Change-Id: I4d61325793ed559dede408813ebda5aed2b0f110
    Closes-Bug: #1604078


** 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/1604078

Title:
  Hyper-V: planned vms are not cleaned up

Status in compute-hyperv:
  Fix Released
Status in OpenStack Compute (nova):
  Fix Released
Status in os-win:
  Fix Released

Bug description:
  We create a planned vm during live migration when having passthrough
  disks attached in order to properly configure the resources of the
  'new' instance.

  The issue is that if the migration fails, this planned vm is not
  cleaned up.

  Although planned vms are destroyed at a second attempt to migrate the
  instance, this issue had an impact on the Hyper-V CI as planned vms
  persisted among CI runs and vms having the same name failed to spawn,
  as there were file handles kept open by the VMMS service, preventing
  the instance path from being cleaned up.

  Trace:
  http://paste.openstack.org/show/536149/

To manage notifications about this bug go to:
https://bugs.launchpad.net/compute-hyperv/+bug/1604078/+subscriptions


References