メインコンテンツへスキップ

iSCSIインターフェイスに対するSANtricity System Manager REST API callが422 Errorで失敗する

Views:
2
Visibility:
Public
Votes:
0
Category:
e-series-santricity-storage-manager
Specialty:
esg
Last Updated:

環境

  • NetApp Eシリーズ
  • SANtricity System Manager 

問題

  • すべてのホスト側 iSCSI ポートで iPv6 を無効にするための REST API 呼び出しを発行した際にエラーが発生しました:
    • SANtricity System Manager > ヘルプ > APIドキュメント > POST /storage-systems/{system-id}/iscsi/interfaces/{id} 

curl -X POST "https://<array_name>/devmgr/v2/storage-systems/1/iscsi/interfaces/1101010000000000000000000000000000000000" -H "accept: application/json" -H  "Content-Type: application/json" -d "{  \"ipv6Enabled\": \"false\"}"

422 Error:
{
 "errorMessage": "The updated object named ''{0}'' could not be found.",
 "developerMessage": null,
 "localizedMessage": "The updated object named '1101010000000000000000000000000000000000' could not be found.",
 "retcode": "updatedObjectNotFound",
 "codeType": "devicemgrerror",
 "invalidFieldsIfKnown": null
}

  • GET/storage-systems/{system-id}/iscsi/interfaces/{id}の出力は、interfaceRefが有効であることを示しています:

curl -X GET "https://<array_name>/devmgr/v2/storage-systems/1/interfaces?interfaceType=iscsi&channelType=hostside" -H "accept: application/json"

  "interfaceRef": "1101010000000000000000000000000000000000",
    "ipv6Enabled": true,

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.