Merge "Enable nfs driver volume snapshots by default"

This commit is contained in:
Zuul 2017-12-14 08:17:09 +00:00 committed by Gerrit Code Review
commit 48e577ec59
2 changed files with 12 additions and 0 deletions

View File

@ -126,6 +126,7 @@ image_upload_use_cinder_backend = True
volume_driver = cinder.volume.drivers.nfs.NfsDriver volume_driver = cinder.volume.drivers.nfs.NfsDriver
volume_backend_name = nfs-1 volume_backend_name = nfs-1
nfs_shares_config = /etc/cinder/nfs_shares nfs_shares_config = /etc/cinder/nfs_shares
nfs_snapshot_support = True
{% endif %} {% endif %}
{% if enable_cinder_backend_hnas_iscsi | bool %} {% if enable_cinder_backend_hnas_iscsi | bool %}

View File

@ -0,0 +1,11 @@
---
features:
- |
This feature enables volume snapshots for NFS Cinder driver.
NFS volume snapshots appeared in Ocata release and require
libvirt >= 1.2.7
upgrade:
- |
On upgrade NFS Cinder snapshots will be activated. One can
prohibit this by setting nfs_snapshot_support = False in
/etc/kolla/config/cinder/cinder-volume.conf, section '[nfs-1]'.