Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resizing does not work with NetApp Trident #256

Open
holtakj opened this issue May 16, 2024 · 1 comment
Open

Resizing does not work with NetApp Trident #256

holtakj opened this issue May 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@holtakj
Copy link

holtakj commented May 16, 2024

Describe the bug
Resizing the prometheus PV managed by NetApp trident does not work.

pvc-autoresizer is triggered, the requested size in the PVC is adapted but the NetApp volume is not resized.
Resizing manually by changing the request size in the PVC works fine, Trident resizes the volume on the SAN.
NetApp Trident supports resizing.
https://docs.netapp.com/us-en/trident/trident-use/vol-expansion.html

Events:
kube-monitoring 0s Normal Resized persistentvolumeclaim/prometheus-kube-prometheus-stack-helm-prometheus-db-prometheus-kube-prometheus-stack-helm-prometheus-1 PVC volume is resized to 2Gi
kube-monitoring 0s Normal Resizing persistentvolumeclaim/prometheus-kube-prometheus-stack-helm-prometheus-db-prometheus-kube-prometheus-stack-helm-prometheus-1 External resizer is resizing volume pvc-5d996e1a-935a-4c17-a9e6-b05b12bed55b
kube-monitoring 0s Warning ExternalExpanding persistentvolumeclaim/prometheus-kube-prometheus-stack-helm-prometheus-db-prometheus-kube-prometheus-stack-helm-prometheus-1 waiting for an external controller to expand this PVC
kube-monitoring 0s Warning VolumeResizeFailed persistentvolumeclaim/prometheus-kube-prometheus-stack-helm-prometheus-db-prometheus-kube-prometheus-stack-helm-prometheus-1 resize volume "pvc-5d996e1a-935a-4c17-a9e6-b05b12bed55b" by resizer "csi.trident.netapp.io" failed: rpc error: code = Unknown desc = unable to resize the volume: volume resize failed
kube-monitoring 0s Normal Resizing persistentvolumeclaim/prometheus-kube-prometheus-stack-helm-prometheus-db-prometheus-kube-prometheus-stack-helm-prometheus-1 External resizer is resizing volume pvc-5d996e1a-935a-4c17-a9e6-b05b12bed55b

Logs:
{"level":"info","ts":"2024-05-16T09:49:05Z","logger":"pvc-autoresizer.resize","msg":"waiting for resizing...","namespace":"kube-monitoring","name":"prometheus-kube-prometheus-stack-helm-prometheus-db-prometheus-kube-prometheus-stack-helm-prometheus-1","capacity":1020702720}
{"level":"info","ts":"2024-05-16T09:49:15Z","logger":"pvc-autoresizer.resize","msg":"waiting for resizing...","namespace":"kube-monitoring","name":"prometheus-kube-prometheus-stack-helm-prometheus-db-prometheus-kube-prometheus-stack-helm-prometheus-1","capacity":1020702720}
{"level":"info","ts":"2024-05-16T09:49:25Z","logger":"pvc-autoresizer.resize","msg":"waiting for resizing...","namespace":"kube-monitoring","name":"prometheus-kube-prometheus-stack-helm-prometheus-db-prometheus-kube-prometheus-stack-helm-prometheus-1","capacity":1020702720}

Environments

  • Version:
    rke2 1.28.9
    NetApp Trident 24.02
  • OS:
    Ubuntu 22.04

Expected behavior
PV is resized.

@holtakj holtakj added the bug Something isn't working label May 16, 2024
@cupnes
Copy link
Contributor

cupnes commented May 17, 2024

@holtakj
There is a log ‘csi.trident.netapp.io’ failed: rpc error in Events:. Is there something wrong on the Trident side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Waiting
Development

No branches or pull requests

2 participants