OpenStack: Does Cinder support File FlexClone with FlexGroups?
Applies to
- OpenStack Wallaby and newer releases
Answer
Support for FlexGroups was introduced in the Wallaby release. However there are a number of limitations / issues to be aware of:
- File FlexClone support with FlexGroups has had limited support. This impacts a number of Cinder operations such as clone volume, create snapshot, create volume from image, etc. For more information, see https://netapp-openstack-dev.github.io/openstack-docs/antelope/cinder/configuration/cinder_config_files/unified_driver_ontap/section_cinder-conf-nfs.html#flexgroup-pool
- Without support for File FlexClones, the Cinder driver should use generic code to fall back to a host based copy. However, the Cinder driver fails to do so (this is a defect).
- Defect https://bugs.launchpad.net/cinder/+bug/2119644 has been submitted
- Patch: https://review.opendev.org/c/openstack/cinder/+/956755
What the patch seeks to address with FlexGroups is:
- If Cinder uses ZAPI APIs (older ONTAP releases prior to 9.14) - Snapshot operations will use the host based copy method (generic code).
- If Cinder uses REST APIs (ONTAP version is >=9.14) - Snapshot operations will use file-clone
If you are encountering issues with FlexGroups and operations such as volume snapshots, confirm with your OpenStack distribution vendor that your release has the following patch committed: https://review.opendev.org/c/openstack/cinder/+/956755
Additional Information