instance data resides on destination node when vm is deleted during live-migration
Bug #1285000 reported by
Abhishek Kekane
This bug affects 15 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Maciej Jozefczyk | ||
Newton |
Won't Fix
|
Medium
|
Maciej Jozefczyk | ||
Ocata |
Fix Released
|
Medium
|
Maciej Jozefczyk | ||
Pike |
Fix Released
|
Medium
|
Maciej Jozefczyk |
Bug Description
If the VM is deleted during live-migration process, there is possibility that the instance data residing on the destination compute node is not deleted.
Please refer to http://
IMO, One of the possible solution is to restrict the user from deleting the VM when live-migration is in progress.
summary: |
- Delete a VM when live-migration is in progress + instance data resides on destination node when vm is deleted during + live-migration |
description: | updated |
tags: | added: compute live-migration |
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Simon Chang (changsimon) |
Changed in nova: | |
assignee: | Simon Chang (changsimon) → nobody |
tags: | removed: live-migration ntt |
Changed in nova: | |
assignee: | Yasuaki Nagata (yasuaki-nagata) → Bartosz Fic (bartosz-fic) |
Changed in nova: | |
assignee: | Bartosz Fic (bartosz-fic) → Pawel Koniszewski (pawel-koniszewski) |
tags: |
added: live-migration removed: live-migrate |
Changed in nova: | |
assignee: | Pawel Koniszewski (pawel-koniszewski) → nobody |
status: | In Progress → Confirmed |
Changed in nova: | |
assignee: | nobody → Maciej Szankin (mszankin) |
Changed in nova: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
IMO, suggest some solution for this problem.
1. If the delete request occur, live-migration process start to cancel.
The live-migration process check the instance status, and if the status change to deleting, live-migration process call the rollback_migration in places.
2. Block the delete request until migration end.
The delete request suspend in nova-api if the instance status was MIGRATING.
Umm... taskflow solve this problem more smart, maybe