Disallow concurrent snapshots on the same instance
Bug #727502 reported by
Rick Harris
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Brian Lamar | ||
Diablo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
We currently allow multiple snapshots attempts to occur concurrently for an instance. This is not good.
Much like we already provide concepts of instance and boot-locks, we should add a 'snapshot-lock' that allows only one snapshot to occur at a time for an instance.
Proposal:
This could be implemented as a new column on instance called 'is_snapshotting'. Having this as a column in the DB means that the OSAPI can quickly return whether this the case and fail the request accordingly.
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Jason Kölker (jason-koelker) |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
assignee: | nobody → Brian Lamar (blamar) |
Changed in nova: | |
milestone: | none → essex-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-1 → 2012.1 |
To post a comment you must log in.
And it will be interesting to set the status "snapshoting" when listing instances