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

Closed
holtakj opened this issue May 16, 2024 · 3 comments
Closed

Resizing does not work with NetApp Trident #256

holtakj opened this issue May 16, 2024 · 3 comments
Labels
bug Something isn't working stale

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
@pluser pluser moved this from To do to In progress in Development May 17, 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?

@llamerada-jp llamerada-jp moved this from In progress to Waiting in Development Jun 10, 2024
Copy link
Contributor

This issue has been automatically marked as stale because it has not had any activity for 30 days. It will be closed in a week if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Jun 16, 2024
Copy link
Contributor

This issue has been automatically closed due to inactivity. Please feel free to reopen this issue (or open a new one) if this still requires investigation. Thank you for your contribution.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 23, 2024
@github-project-automation github-project-automation bot moved this from Waiting to Done in Development Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
Archived in project
Development

No branches or pull requests

2 participants