truenas-csp icon indicating copy to clipboard operation
truenas-csp copied to clipboard

NFS resize error Volume not found

Open kingnarmer opened this issue 1 year ago • 3 comments

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

kingnarmer avatar Dec 07 '23 21:12 kingnarmer