跳转到主内容

在ONTAP更新到9.12后、用于删除的REST API调用不起作用

Views:
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core<a>2009年672292</a>
Last Updated:

适用场景

  • 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

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.