Enable nfs driver volume snapshots by default

Change-Id: I36d7d62514416104c1f2f36cbd29c26c34c0d20d
Closes-Bug: #1733304
This commit is contained in:
Vladislav Belogrudov 2017-11-20 14:01:46 +03:00
parent 8bb44c4310
commit 962a886e35
2 changed files with 12 additions and 0 deletions

View File

@ -125,6 +125,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]'.