跳转到主内容

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

Views:
39
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用于

  • Data ONTAP 8.3
  • ONTAP 9.x
  • API
  • Trident

问题描述

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

  • Trident: 

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 响应,成功则通过 ONTAP Release 返回 XML。

 

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.