detach_volume races with delete
Bug #1662483 reported by
Matthew Booth
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Gary Kotton | ||
Ocata |
Confirmed
|
Undecided
|
Unassigned | ||
Pike |
Fix Committed
|
Undecided
|
Chris Dent | ||
Queens |
Fix Committed
|
Undecided
|
Chris Dent | ||
Rocky |
Fix Committed
|
Undecided
|
Chris Dent |
Bug Description
If a client does:
nova volume-detach foo vol
nova delete foo
Assuming the volume-detach takes a moment, which it normally does, the delete will race with it also also attempt to detach the same volume. It's possible there are no side effects from this other than untidy log messages, but this is difficult to prove.
I found this looking through CI logs.
Note that volume-detach can also race with other instance operations, including itself. I'm almost certain that if you poke hard enough you'll find some combination that breaks things badly.
tags: | added: volumes |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Gary Kotton (garyk) |
importance: | Undecided → Medium |
Changed in nova: | |
assignee: | Gary Kotton (garyk) → Matt Riedemann (mriedem) |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Gary Kotton (garyk) |
Changed in nova: | |
assignee: | Gary Kotton (garyk) → Matt Riedemann (mriedem) |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Gary Kotton (garyk) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/430213
Review: https:/