跳转到主内容

tridentctl卷升级错误(未找到404)

Views:
1
Visibility:
Public
Votes:
0
Category:
trident-openshift<a>2009年492800</a>
Specialty:
snapx
Last Updated:

适用场景

  • Astra Trident
  • Kubernetes
  • OpenShift

问题描述

执行tridentctl volume upgrade <volume> 命令将旧卷升级到CSI时、未找到此卷、但它位于Kubernetes中:
 
例如、Kubernetes会显示标记有"netapp.io"的原有卷、但tridentctl命令不知道该卷
 
server#  kubectl get pv -A -o json| jq '.items[].metadata|select(.annotations."pv.kubernetes.io/provisioned-by"=="netapp.io/trident")|.name'
 
"pogo_ib4tl_pico_mochii_7331"
 
server#  ./tridentctl get volume pogo_ib4tl_pico_mochii_7331x -n trident
Error: could not get volume cdpgo_omni_prime_sndi_9fe9b: volume pogo_ib4tl_pico_mochii_7331x was not found (404 Not Found)
command terminated with exit code 1



 

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.