tridentctl volume upgrade errors with (404 Not Found)
- Views:
- 51
- Visibility:
- Public
- Votes:
- 0
- Category:
- trident-openshift
- Specialty:
- snapx
- Last Updated:
- 3/8/2023, 10:29:04 PM
Applies to
- Astra Trident
- Kubernetes
- Openshift
Issue
When executing the tridentctl volume upgrade <volume> command to upgrade legacy volumes to CSI, the volume is not found, but it exists in Kubernetes:
For example, Kubernetes shows the legacy volume tagged with "netapp.io", but the tridentctl command has no knowledge of that volume
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