diff --git a/manila/share/drivers/netapp/dataontap/cluster_mode/lib_base.py b/manila/share/drivers/netapp/dataontap/cluster_mode/lib_base.py index 844787bd80..03cf9fb37e 100644 --- a/manila/share/drivers/netapp/dataontap/cluster_mode/lib_base.py +++ b/manila/share/drivers/netapp/dataontap/cluster_mode/lib_base.py @@ -1049,6 +1049,7 @@ class NetAppCmodeFileStorageLibrary(object): # Validate extra specs extra_specs = share_types.get_extra_specs_from_share(share) + extra_specs = self._remap_standard_boolean_extra_specs(extra_specs) try: self._check_extra_specs_validity(share, extra_specs) self._check_aggregate_extra_specs_validity(aggregate_name, @@ -2236,6 +2237,8 @@ class NetAppCmodeFileStorageLibrary(object): # Modify volume properties per share type extra-specs extra_specs = share_types.get_extra_specs_from_share( destination_share) + extra_specs = self._remap_standard_boolean_extra_specs(extra_specs) + self._check_extra_specs_validity(destination_share, extra_specs) provisioning_options = self._get_provisioning_options(extra_specs) qos_policy_group_name = self._modify_or_create_qos_for_existing_share( destination_share, extra_specs, vserver, vserver_client) diff --git a/releasenotes/notes/bug-1707084-netapp-manila-driver-to-honour-std-extra-specs-d32fae4e9411b503.yaml b/releasenotes/notes/bug-1707084-netapp-manila-driver-to-honour-std-extra-specs-d32fae4e9411b503.yaml new file mode 100644 index 0000000000..0357d99842 --- /dev/null +++ b/releasenotes/notes/bug-1707084-netapp-manila-driver-to-honour-std-extra-specs-d32fae4e9411b503.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - The NetApp cDOT driver is now fixed to honour the + standard extra_specs during migration and manage/unmanage.