unmanage/delete keeps volume in "deleting" state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
Unassigned |
Bug Description
While managing the volume if user passed the invalid hostname like "opnestack-
When user try to unmanage or delete that volume, it remains into the deleting state forever.
steps to reproduce:
1.Create Logical Volume:
$ sudo lvcreate --size 1G --name lvol stack-volumes-
Found duplicate PV rSd2vOkfq0WXhmD
Logical volume "lvol" created
2.Manage the above created logical volume using cinder manage API.
$ cinder manage openstack-
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2016-10-
| description | None |
| encrypted | False |
| id | b8cb6585-
| metadata | {} |
| migration_status | None |
| multiattach | False |
| name | test-manage |
| os-vol-
| os-vol-
| os-vol-
| os-vol-
| replication_status | None |
| size | 0 |
| snapshot_id | None |
| source_volid | None |
| status | error |
| updated_at | 2016-10-
| user_id | fbd39e0b90e146c
| volume_type | None |
+------
4.List cinder volume
$cinder list
+------
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+------
| b8cb6585-
5.unmanaged or delete the above created volume
$ cinder unmanage b8cb6585-
+------
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+------
| b8cb6585-
Changed in cinder: | |
assignee: | nobody → Pranali Khatode (pranali.khatode) |
Changed in cinder: | |
assignee: | nobody → Aseel Awwad (aseelawwad) |
Changed in cinder: | |
assignee: | Aseel Awwad (aseelawwad) → nobody |
Fix proposed to branch: master /review. openstack. org/401946
Review: https:/