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

Errors when create new volume #84

Closed
songjiaxun opened this issue Nov 16, 2020 · 0 comments
Closed

Errors when create new volume #84

songjiaxun opened this issue Nov 16, 2020 · 0 comments

Comments

@songjiaxun
Copy link
Contributor

songjiaxun commented Nov 16, 2020

What happened:

In the Sanity test logs, I found a couple of errors:

Controller Service CreateVolume
  should return appropriate values SingleNodeWriter WithCapacity 1Gi Type:Mount
  /home/azureuser/go/pkg/mod/github.com/kubernetes-csi/[email protected]+incompatible/pkg/sanity/controller.go:441
STEP: reusing connection to CSI driver at unix:///tmp/csi.sock
STEP: creating mount and staging directories
I1116 00:09:09.272069  130286 utils.go:47] GRPC call: /csi.v1.Controller/ControllerGetCapabilities
I1116 00:09:09.272083  130286 utils.go:48] GRPC request: {}
I1116 00:09:09.272123  130286 controllerserver.go:175] Using default ControllerGetCapabilities
I1116 00:09:09.272130  130286 utils.go:53] GRPC response: {"capabilities":[{"Type":{"Rpc":{"type":1}}}]}
STEP: creating a volume
I1116 00:09:09.272648  130286 utils.go:47] GRPC call: /csi.v1.Controller/CreateVolume
I1116 00:09:09.272659  130286 utils.go:48] GRPC request: {"capacity_range":{"required_bytes":10737418240},"name":"sanity-controller-create-single-with-capacity-14041F18-511E2738","parameters":{"server":"127.0.0.1","share":"/"},"volume_capabilities":[{"AccessType":{"Mount":{}},"access_mode":{"mode":1}}]}
I1116 00:09:09.272762  130286 controllerserver.go:243] internally mounting 127.0.0.1:/ at /tmp/sanity-controller-create-single-with-capacity-14041F18-511E2738
I1116 00:09:09.339489  130286 controllerserver.go:261] internally unmounting /tmp/sanity-controller-create-single-with-capacity-14041F18-511E2738
W1116 00:09:09.339520  130286 controllerserver.go:75] failed to unmount nfs server: rpc error: code = InvalidArgument desc = Volume ID missing in request
I1116 00:09:09.339529  130286 utils.go:53] GRPC response: {"volume":{"capacity_bytes":10737418240,"volume_context":{"server":"127.0.0.1","share":"/sanity-controller-create-single-with-capacity-14041F18-511E2738"},"volume_id":"127.0.0.1///sanity-controller-create-single-with-capacity-14041F18-511E2738"}}
STEP: cleaning up deleting the volume
I1116 00:09:09.340131  130286 utils.go:47] GRPC call: /csi.v1.Controller/DeleteVolume
I1116 00:09:09.340147  130286 utils.go:48] GRPC request: {"volume_id":"127.0.0.1///sanity-controller-create-single-with-capacity-14041F18-511E2738"}
I1116 00:09:09.340215  130286 controllerserver.go:115] failed to get nfs volume for volume id 127.0.0.1///sanity-controller-create-single-with-capacity-14041F18-511E2738 deletion: volume
id "127.0.0.1///sanity-controller-create-single-with-capacity-14041F18-511E2738" unexpected format: got 4 tokens
I1116 00:09:09.340230  130286 utils.go:53] GRPC response: {}
•SS

What you expected to happen:

How to reproduce it:

Anything else we need to know?:

Environment:

  • CSI Driver version:
  • Kubernetes version (use kubectl version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
jsafrane pushed a commit to jsafrane/csi-driver-nfs that referenced this issue Jun 28, 2022
Merge remote-tracking branch 'upstream/master' into upstream-merge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant