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

NFS resize error Volume not found #51

Open
kingnarmer opened this issue Dec 7, 2023 · 3 comments
Open

NFS resize error Volume not found #51

kingnarmer opened this issue Dec 7, 2023 · 3 comments
Labels
upstream Something is broken elsewhere wontfix This will not be worked on

Comments

@kingnarmer
Copy link

kingnarmer commented Dec 7, 2023

I can't resize nfs pvc. I get following error. TrueNAS OS is 13.0U5.3. Appreciate help .

Error message.

time="2023-12-07T20:32:19Z" level=error msg="Failed to get volume with ID 1bce294a-df61-499d-afd9-00add7862b7a" file="controller_server.go:1523"
time="2023-12-07T20:32:19Z" level=error msg="GRPC error: rpc error: code = NotFound desc = Volume with ID 1bce294a-df61-499d-afd9-00add7862b7a not found" file="utils.go:73"
time="2023-12-07T20:32:19Z" level=info msg="GRPC call: /csi.v1.Controller/ControllerGetCapabilities" file="utils.go:69"
time="2023-12-07T20:32:19Z" level=info msg="GRPC request: {}" file="utils.go:70"
time="2023-12-07T20:32:19Z" level=info msg="GRPC response: {\"capabilities\":[{\"Type\":{\"Rpc\":{\"type\":1}}},{\"Type\":{\"Rpc\":{\"type\":2}}},{\"Type\":{\"Rpc\":{\"type\":3}}},{\"Type\":{\"Rpc\":{\"type\":5}}},{\"Type\":{\"Rpc\":{\"type\":6}}},{\"Type\":{\"Rpc\":{\"type\":7}}},{\"Type\":{\"Rpc\":{\"type\":8}}},{\"Type\":{\"Rpc\":{\"type\":9}}}]}" file="utils.go:75"
time="2023-12-07T20:32:19Z" level=info msg="GRPC call: /csi.v1.Controller/ControllerExpandVolume" file="utils.go:69"
time="2023-12-07T20:32:19Z" level=info msg="GRPC request: {\"capacity_range\":{\"required_bytes\":35433480192},\"secrets\":\"***stripped***\",\"volume_capability\":{\"AccessType\":{\"Mount\":{\"fs_type\":\"ext4\"}},\"access_mode\":{\"mode\":5}},\"volume_id\":\"1bce294a-df61-499d-afd9-00add7862b7a\"}" file="utils.go:70"
time="2023-12-07T20:32:20Z" level=error msg="status code was 404 Not Found for request: action=GET path=http://truenas-csp-svc:8080/containers/v1/volumes/1bce294a-df61-499d-afd9-00add7862b7a, attempting to decode error response." file="client.go:184"

kubectl get pvc -n app-rwx



NAME      STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS      AGE
app-rwx   Bound    pvc-1bce294a-df61-499d-afd9-00add7862b7a   13Gi       RWX            truenas-csp-nfs   4m15s
@datamattsson
Copy link
Collaborator

This is a limitation of the HPE CSI Driver. NFS backed claims can not be expanded. Expand the underlying RWO volume. It will result in inaccurate space reporting on the NFS claim.

@datamattsson datamattsson added the wontfix This will not be worked on label Dec 7, 2023
@kingnarmer
Copy link
Author

Thanks. Is there any plan on HPE-CSI side to mitigate this limitation ?

@datamattsson
Copy link
Collaborator

Yes. The implementation is delayed for various reasons but we have several customers asking for this.

@datamattsson datamattsson added the upstream Something is broken elsewhere label Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Something is broken elsewhere wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants