Lack of volume status checks when detaching volume in rebuild.
Bug #1489304 reported by
Zhenyu Zheng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
sunhao | ||
Stein |
Fix Released
|
Undecided
|
Unassigned | ||
Train |
Fix Released
|
Undecided
|
Unassigned | ||
Ussuri |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Currently, when rebuilding an instance with volume attached, the Nova compute manager will directly call _detach_volume() which will skip the checks of volume status (volume_
Besides, when rebuilding, we should only allow detaching the volume with in-use status, volume in status such as 'retyping' should not allowed.
Changed in nova: | |
assignee: | nobody → Zhenyu Zheng (zhengzhenyu) |
Changed in nova: | |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Ameed Ashour (ameeda) |
Changed in nova: | |
assignee: | Ameed Ashour (ameeda) → nobody |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/217567
Review: https:/