Detaching second instance from multi-attach 3par fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Sneha Rai |
Bug Description
1. Create a multi attached volume
cinder type-create multiattach
cinder type-key multiattach set volume_
cinder type-key multiattach set multiattach="<is> True"
openstack volume create --size 1 --type multiattach vol1
vol id - > c5d00d17-
2. Boot two instances
nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 438c5fcd-
| fd2acc67-
+------
3. Attach volume to both instances
cinder list
+------
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+------
| c5d00d17-
+------
4. Detach inst2 instance
openstack server remove volume inst2 vol1
cinder list
+------
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+------
| c5d00d17-
+------
Volume detached successfully from inst2, as we see above it only remains attached to isnt1 (status in-use).
5. Detach inst1 instance
openstack server remove volume inst1 vol1
cinder list
+------
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+------
| c5d00d17-
+------
Even after a few minutes volume status remains in detaching state.
Changed in cinder: | |
assignee: | nobody → Sneha Rai (sneharai4) |
Changed in cinder: | |
status: | New → In Progress |
Fix in https:/ /review. opendev. org/#/c/ 668793/