跳转到主内容

NetApp wins prestigious Coveo Relevance Pinnacle Award. Learn more!

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

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

适用场景

  • 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

Scan to view the article on your device