Remove unnecessary steps for cold snapshots
Bug #1242819 reported by
Vladan Popovic
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Vladan Popovic | ||
Havana |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When creating cold snapshots we first stop the instance, create a snapshot of that instance, extract the snapshot to a file, delete the snapshot and bring the instance back up.
If the instance is stopped, then there's no need to create a snapshot because there's no concurrent writer, so the snapshot can be extracted directly and save us from the two unnecessary steps (creation and deletion of a snapshot).
Changed in nova: | |
assignee: | nobody → Vladan Popovic (vpopovic) |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → icehouse-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-1 → 2014.1 |
To post a comment you must log in.
Hi Vladan, how did you take snapshot for the VM, using rest API with curl? I noticed that there is no command line for this, so just filed a bug to trace this. https:/ /bugs.launchpad .net/nova/ +bug/1242959