Add volume_clear & volume_clear_size options for LVM

- Split out LVM configuration using LVM Driver
- Add volume_clear_size & volume_clear attributes/configuration
- Add tests for these values

Change-Id: I07376e3b3152e986ba1efeb9f1773fba1c4c436d
Closes-Bug: #1279756
This commit is contained in:
Andy McCrae
2014-02-13 11:18:50 +00:00
parent 2b42e6cffe
commit c5e70d1e56
4 changed files with 33 additions and 1 deletions

View File

@@ -86,6 +86,8 @@ Cinder attributes
* `openstack["block-storage"]["platform"]` - hash of platform specific package/service names and options
* `openstack["block-storage"]["volume"]["state_path"]` - Top-level directory for maintaining cinder's state
* `openstack["block-storage"]["volume"]["driver"]` - Driver to use for volume creation
* `openstack["block-storage"]["volume"]["volume_clear"]` - Defines the method for clearing volumes on a volume delete possible options: 'zero', 'none', 'shred' (https://review.openstack.org/#/c/12521/)
* `openstack["block-storage"]["volume"]["volume_clear_size"]` - size in MB used to limit the cleared area on deleting a volume, to the first part of the volume only. (default 0 = all MB)
* `openstack["block-storage"]["volume"]["volume_group"]` - Name for the VG that will contain exported volumes
* `openstack["block-storage"]["voluem"]["volume_group_size"]` - The size (GB) of volume group (default is 40)
* `openstack["block-storage"]["voluem"]["create_volume_group"]` - Create volume group or not when using the LVMISCSIDriver (default is false)