跳转到主内容

通过 https 访问 ONTAPI 可能会因 Trident 上的 EOF (文件结尾)而失败

适用场景

  • Data ONTAP 8.3
  • ONTAP 9.x
  • API
  • 三叉

问题描述

错误取决于相关工具,例如:

  • 三叉 

level=error msg="API invocation failed. Post https://<IP>t/servlets/netapp.servlets.admin.XMLrequest_filer: EOF"
level=error msg="Could not initialize storage driver." error="error initializing ontap-nas driver: could not create Data ONTAP API client: error reading SVM details: Post https://<IP>/servlets/netapp.servlets.admin.XMLrequest_filer: EOF"

 

  • 使用 curl 从 Linux 测试:  

curl -k -u vsadmin -X POST -d @request.xml https://<SVM_IP>/servlets/netapp.servlets.admin.XMLrequest_filer Enter host password for user 'vsadmin':
curl: (35) Ecountered end of file

  • 在 ONTAP 的 Apache 错误日志中显示:

[ssl:warn] [pid <PID#>:tid <TID#>] [client <IP_ADDR>:<PORT>] [vserver <VSERVER_Id-Unsigned#>] SSL is not configured for this vserver


注意: 在这种情况下,如果密码正确或不正确,则影响不会更改,否则, 401 响应将失败,而 Success 将返回 XML with ONTAP Release 。

 

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.