Instance files doesn't clean up from destination node in revert-resize api for non-shared environment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Rajesh Tailor | ||
OpenStack Security Advisory |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
When user reverts previously resized instance then it doesn’t clean up instance files from destination node in non-shared environment (instance path not mounted on shared storage).
Steps to reproduce:
1. Create an instance and wait until it's status is set to 'active'
2. Resize the instance
3. Check instance files are present on the source and destination compute nodes in the instance file path
4. Revert the instance previously resized in Step#2
Instance files are not deleted from the destination compute node.
This issue is introduced because of the LP bug [1] fixed lately.
Patch merged [2] in kilo-2 is also back ported to the stable/juno branch [3].
I have a fix for this problem. I am working on unit tests. As soon as patch is ready, I will attached it to this bug.
[1] https:/
[2] https:/
[3] https:/
Changed in nova: | |
assignee: | nobody → Rajesh Tailor (rajesh-tailor) |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in nova: | |
milestone: | none → kilo-rc1 |
status: | Fix Committed → Fix Released |
description: | updated |
Changed in nova: | |
milestone: | kilo-rc1 → 2015.1.0 |
Since this report concerns a possible security risk, an incomplete security advisory task has been added while the core security reviewers for the affected project or projects confirm the bug and discuss the scope of any vulnerability along with potential solutions.