API check for valid states to allow detaching from is wrong
Bug #1199922 reported by
Duncan Thomas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Duncan Thomas |
Bug Description
volume.
if volume['status'] == "available":
raise exception.
..and otehrwise allows the detach to proceed.
This means that if the volume is in attaching, then the detach proceeds. If the compute side detach does an eventlet yield, then the detach can happen while the attach is mid way through doing an attach, which can result in badness.
Changed in cinder: | |
milestone: | none → havana-2 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | havana-2 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/36522
Review: https:/