在ONTAP更新到9.12后、用于删除的REST API调用不起作用
适用场景
- ONTAP 9
- REST API
- 域帐户
- System Manager
问题描述
- 具有管理员角色的域帐户可以使用System Manager或API删除文件
- 删除文件夹时、同一帐户会生成错误
Error: "not authorized for that command"
-
审核日志 :
Wed Jan 01 2000 01:00:00 +02:00 [kern_audit:info:3416] 8503e800004ae3c2 :: Cluster1-01: http :: 192.168.0.1:65529 :: Cluster1-01:admin :: DELETE /api/storage/volumes/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx/files/Test1?recurse=true :: Error: not authorized for that command
-
MNWD日志:
Wed Jan 01 2000 01:00:00 +02:00 [kern_mgwd:info:3416] ZSM: parse error=Document is empty {na_zapi_get_elem_from_raw_xml:1009}
Wed Jan 01 2000 01:00:00 +02:00 [kern_mgwd:info:3416] 0x823efd700: 8803e90000101a28: ERR: file_list_dir_rest_view: remove_imp:src/tables/rest/file_list_dir_rest_view.cc:337 Failed to fast delete a directory with path Test1/ on volume vol1. Reason: not authorized for that command