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