← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1681687] [NEW] instance path not be deleted after evacuate

 

Public bug reported:


Description
===========
After evacuate an instance to a new host, then live-migration it to the old host, nova-compute report "DestinationDiskExists" error.

When nova-compute on old host restarts, it only deletes the evacuated
instance path that needs destroying disks. If the instance is on shared
block storage such as ceph, nova-compute will not delete instance path.

Steps to reproduce
===========
* create an instance on a compute node using ceph backend
* crash the compute node
* evacuate the instance
* reboot the crashed node

Expected result
===============
The evacuated instance path should be deleted.

Actual result
=============
After crashed nova-compute restarts, the instance path  still exists.

Environment
===========
I used stable Kilo. But I think it's still valid on the master.

** Affects: nova
     Importance: Undecided
     Assignee: Xiao Gong (gongxiao)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Xiao Gong (gongxiao)

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

Title:
  instance path not be deleted after evacuate

Status in OpenStack Compute (nova):
  New

Bug description:

  Description
  ===========
  After evacuate an instance to a new host, then live-migration it to the old host, nova-compute report "DestinationDiskExists" error.

  When nova-compute on old host restarts, it only deletes the evacuated
  instance path that needs destroying disks. If the instance is on
  shared block storage such as ceph, nova-compute will not delete
  instance path.

  Steps to reproduce
  ===========
  * create an instance on a compute node using ceph backend
  * crash the compute node
  * evacuate the instance
  * reboot the crashed node

  Expected result
  ===============
  The evacuated instance path should be deleted.

  Actual result
  =============
  After crashed nova-compute restarts, the instance path  still exists.

  Environment
  ===========
  I used stable Kilo. But I think it's still valid on the master.

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