diff --git a/ansible/roles/cinder/templates/cinder.conf.j2 b/ansible/roles/cinder/templates/cinder.conf.j2 index 4c577e9a52534c2c7d872c15f92825afebbdef96..af4c849b735f64e2203946f8d66553fcc6bf3125 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 0000000000000000000000000000000000000000..7eea6d4e7bbf2f1a573b2fa8e4b24d2e49bf2dde --- /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