diff --git a/ansible/roles/cinder/templates/cinder.conf.j2 b/ansible/roles/cinder/templates/cinder.conf.j2 index 4c577e9a52..af4c849b73 100644 --- a/ansible/roles/cinder/templates/cinder.conf.j2 +++ b/ansible/roles/cinder/templates/cinder.conf.j2 @@ -126,6 +126,7 @@ image_upload_use_cinder_backend = True volume_driver = cinder.volume.drivers.nfs.NfsDriver volume_backend_name = nfs-1 nfs_shares_config = /etc/cinder/nfs_shares +nfs_snapshot_support = True {% endif %} {% if enable_cinder_backend_hnas_iscsi | bool %} diff --git a/releasenotes/notes/enable-nfs-volume-snapshots-a0347a31662b1109.yaml b/releasenotes/notes/enable-nfs-volume-snapshots-a0347a31662b1109.yaml new file mode 100644 index 0000000000..7eea6d4e7b --- /dev/null +++ b/releasenotes/notes/enable-nfs-volume-snapshots-a0347a31662b1109.yaml @@ -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]'. \ No newline at end of file