volume record can be deleted when GPFS is unmounted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Qin Zhao |
Bug Description
Unmount GPFS immediately after creating one volume on GPFS volume node. Then, run "cinder delete" to delete that volume. The command complete successfully, and the volume record was deleted. The volume file was left on NSD and can not be operated by cinder anymore.
I have complete re-testing all volume/snapshot operations. Other operations will fail accordingly after the filesystem is unmounted, and errors are loged. delete_voluem() is the only one that need to be fixed.
-------
[root@zhaoqin-
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| created_at | 2013-11-
| display_description | None |
| display_name | hehe |
| id | f627df92-
| metadata | {} |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| volume_type | gpfs |
+------
[root@zhaoqin-
| f627df92-
[root@zhaoqin-
volume-
[root@zhaoqin-
Sat Nov 9 00:10:28 CST 2013: mmunmount: Unmounting file systems ...
[root@zhaoqin-
[root@zhaoqin-
[root@zhaoqin-
tags: | added: gpfs |
tags: | added: drivers |
Changed in cinder: | |
milestone: | none → icehouse-1 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | icehouse-1 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/55690
Review: https:/