Merge pull request #128 from hughsaunders/set_volume_clear
Set cinder volume clear
This commit is contained in:
commit
23a76345ce
@ -27,6 +27,16 @@ verbose: True
|
||||
container_lvm_fstype: ext4
|
||||
container_lvm_fssize: 5GB
|
||||
|
||||
# (StrOpt) Method used to wipe old voumes (valid options are: none, zero,
|
||||
# shred)
|
||||
cinder_volume_clear: zero
|
||||
# (StrOpt) The flag to pass to ionice to alter the i/o priority of the process
|
||||
# used to zero a volume after deletion, for example "-c3" for idle only
|
||||
# priority.
|
||||
# cinder_volume_clear_ionice: -c3
|
||||
# (IntOpt) Size in MiB to wipe at start of old volumes. 0 => all
|
||||
cinder_volume_clear_size: 0
|
||||
|
||||
## General configuration
|
||||
## Set this in rpc_user_config.yml UNLESS you want all hosts to use the same
|
||||
## Cinder backends. See the rpc_user_config example for more on how this is done.
|
||||
|
@ -13,7 +13,11 @@ lock_path = /var/lock/cinder
|
||||
rootwrap_config = /etc/cinder/rootwrap.conf
|
||||
api_paste_config = /etc/cinder/api-paste.ini
|
||||
auth_strategy = keystone
|
||||
volume_clear = none
|
||||
volume_clear = {{ cinder_volume_clear }}
|
||||
{% if cinder_volume_clear_ionice is defined %}
|
||||
volume_clear_ionice = {{ cinder_volume_clear_ionice }}
|
||||
{% endif %}
|
||||
volume_clear_size = {{ cinder_volume_clear_size }}
|
||||
|
||||
nova_catalog_info=compute:nova:internalURL
|
||||
nova_catalog_admin_info=compute:nova:adminURL
|
||||
|
Loading…
Reference in New Issue
Block a user