aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorSamYaple <sam@yaple.net>2016-03-18 02:48:04 +0000
committerSamYaple <sam@yaple.net>2016-03-18 02:48:04 +0000
commitef0a13554ccba91da0af67c8976944a5ea75407d (patch)
tree4a80355f63fe22779212546c341cd764ec49788e /ansible
parente20f3ec7f5c16085562b7f550fae47b17e738ca5 (diff)
downloadkolla-ef0a13554ccba91da0af67c8976944a5ea75407d.tar.gz
kolla-ef0a13554ccba91da0af67c8976944a5ea75407d.zip
Add unmap to cinder for ceph
This matches the current default for nova.conf. Use unmap/discard if t is enabled on the hypervisor. This option is new for mitaka. TrivialFix Change-Id: Id94c05e2ec8a65c75ec82afcd4150390f8b87ee2
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/cinder/templates/cinder.conf.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/roles/cinder/templates/cinder.conf.j2 b/ansible/roles/cinder/templates/cinder.conf.j2
index ee8c01806..9a6434755 100644
--- a/ansible/roles/cinder/templates/cinder.conf.j2
+++ b/ansible/roles/cinder/templates/cinder.conf.j2
@@ -83,5 +83,6 @@ rbd_store_chunk_size = 4
rados_connect_timeout = -1
rbd_user = cinder
rbd_secret_uuid = {{ rbd_secret_uuid }}
+report_discard_supported = True
{% endif %}