Browse Source

Merge "[NetApp] Fix driver to honor standard extra specs" into stable/rocky

changes/12/725712/1
Zuul 2 months ago
committed by Gerrit Code Review
parent
commit
b20e5236f5
2 changed files with 7 additions and 0 deletions
  1. +3
    -0
      manila/share/drivers/netapp/dataontap/cluster_mode/lib_base.py
  2. +4
    -0
      releasenotes/notes/bug-1707084-netapp-manila-driver-to-honour-std-extra-specs-d32fae4e9411b503.yaml

+ 3
- 0
manila/share/drivers/netapp/dataontap/cluster_mode/lib_base.py View File

@@ -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)


+ 4
- 0
releasenotes/notes/bug-1707084-netapp-manila-driver-to-honour-std-extra-specs-d32fae4e9411b503.yaml View File

@@ -0,0 +1,4 @@
---
fixes:
- The NetApp cDOT driver is now fixed to honour the
standard extra_specs during migration and manage/unmanage.

Loading…
Cancel
Save