Instance Path Not Deleted After Migration

Bug #1686262 reported by Oisin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
Unassigned

Bug Description

After a migration (offline) or resize is performed the instance path /var/lib/nova/instances/<INSTANCE_ID> isn't correctly deleted and a /var/lib/nova/instances/<INSTANCE_ID>/disk.info is created. If the instance is subsequently live migrated back to the original Compute node the live migration will fail with an error similar to

DestinationDiskExists: The supplied disk path (/var/lib/nova/instances/b50aea7a-7cc5-4216-9ce6-a447d5e2c
6b3) already exists, it is expected not to exist.

The instance directory is initially deleted after the offline migration completes but then gets recreated containing the disk.info once the migration is confirmed buy the user.

I've seen a similar DestinationDiskExists Exception get raised when only live migrations have occurred previously but haven't been able to recreate as the directory is deleted once the exception is raised.

We are using Nova 14.0.2 from OpenStack Newton.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.