跳转到主内容

Trident —创建后端—无法对 JSON 配置进行解码

Views:
9
Visibility:
Public
Votes:
2
Category:
astra_trident
Specialty:
snapx
Last Updated:

适用场景

  • Trident中的backend.json文件、版本19.04
  • Trident、版本21.04—当前安装的版本

问题描述

尝试创建 Trident 后端时,该操作将失败,并在 tridentctl 日志文件中遇到以下错误:

time="2022-01-25T18:31:57Z" level=error msg="Could not initialize storage driver." error="error initializing ontap-nas driver: could not decode JSON configuration: json: cannot unmarshal object into Go struct field OntapStorageDriverConfig.storage of type []storagedrivers.OntapStorageDriverPool" requestID=ad58da89-151c-4a77-bcbe-1f7ec6bd27d8 requestSource=REST

 

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.