SnapCenter 5.0P2中的ZAPI无法挂载或克隆、并显示"401 not authorized"
适用场景
- SnapCenter服务器5.0P2
- 适用于Linux 5.0P2的SnapCenter插件
- 适用于Windows的SnapCenter插件(SCW) 5.0P2
- ONTAP 9 10.1 9.14.1
问题描述
尝试挂载或克隆任何基于ONTAP的资源时、克隆操作将失败、并显示:
ex.Message : The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: [401]: User is not authorized.
在SMCore配置下, 将
IsRestEnabledForStorageConnection
设置为false以强制使用ZAPI,并且只为ontapi和可能的ssh设置SVM帐户。