CSNAPC-11429: Connecting or provisioning a disk as LUN in the SnapCenter Hosts GUI fails with ONTAPI error about attributes or svm
Issue
Under the following conditions, both connecting and provisioning a disk (LUN) via the Hosts, Disks GUI fails with an ONTAPI parameter error in the SCW job log:
- the storage connection for the SVM where the LUN is connected opr created, was added as a Cluster LIF (admin roled account)
- the SMCore Service on the Windows plug-in Host is set to using REST API (the variable "IsRestEnabledForStorageConnection" is set to "true" in SMCoreServiceHost.dll.config)
- the Windows Plug-in Service is set to using ZAPI/ONTAPI (the variable "IsRestEnabledForStorageConnection" is set to "false" in SnapDriveService.dll.config)
On connecting an pre-used(1) LUN the following error comes from Get-NcLUN powershell execution:
ex.InnerException.Message : Attributes parameter specified, which is not supported for ONTAPI call
When creating a new disk, the following error comes from Add-NcLunMap powershell execution:
ex.InnerException.Message : Svm parameter specified, which is not supported for ONTAPI call
*) the LUN has to already have been partitioned and formatted with NTFS, since connecting expects a mountable file system.
