volume stuck in deleting when "host" has been changed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
Unassigned |
Bug Description
The volume info before I change the "host" in /etc/cinder/
[root@localhost ~]# cinder show vol1
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2016-06-
| description | None |
| encrypted | False |
| id | e831ff01-
| metadata | {'volname': 'OpenCos_
| migration_status | None |
| multiattach | False |
| name | vol1 |
| os-vol-
| os-vol-
| os-vol-
| os-vol-
| replication_status | disabled |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | available |
| updated_at | 2016-06-
| user_id | 346ce385360c435
| volume_type | ks3200 |
+------
Then I changed the "host" to "cinder", and the vol1 cound not delete, it will be stuck in deleting.
I have the following ideas:
* if we can change the "host", it's better to provide a API to handle this, and "host" change will not make influence on volume usages.
* if we don't want anybody to change the "host", then don't make it apper in conf, generate it automaticlly.
Changed in cinder: | |
assignee: | nobody → Wenjun Wang (wangwenjun) |
Unassigning due to no activity for > 6 months.