Describe the bug
Whilst provisioning a NAS volume, it fails and with log on the trident-controller, indicating to me that it is trying to provision a volume with dashes in the name:
26-04-10T20:10:36Z" level=warning msg="Failed to create the volume on this pool." backend=gcnv-tbc-flex-nas backendUUID=81261510-7632-4d27-b5bb-f106484ea0c8 error="GCNV pool gke-flex-np; error creating volume pvc-8e9fb8f0-3fc7-42c7-852d-6e6bd3c4cede: rpc error: code = InvalidArgument desc = Invalid value for "volume_id": "pvc-8e9fb8f0-3fc7-42c7-852d-6e6bd3c4cede". Must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or underscores, and cannot end with a underscore." logLayer=core pool=gcnv-tbc-flex-nas_pool requestID=2aee7466-27b0-4137-9473-c2f9dad37488 requestSource=CSI volume=pvc-8e9fb8f0-3fc7-42c7-852d-6e6bd3c4cede workflow="volume=create"
Environment
Provide accurate information about the environment to help us reproduce the issue.
- Trident version: 26.02
- Trident installation flags used: [e.g. -d -n trident --use-custom-yaml]
- Container runtime: [e.g. Docker 19.03.1-CE]
- Kubernetes version: GKE 1.35
- Kubernetes orchestrator: [e.g. OpenShift v3.11, Rancher v2.3.3]
- Kubernetes enabled feature gates: [e.g. CSINodeInfo]
- OS: [e.g. RHEL 7.6, Ubuntu 16.04]
- NetApp backend types: GCNV
- Other:
To Reproduce
Steps to reproduce the behavior: install Trident in GKE, point at a Flex unified storage pool, let 'er rip. Do the same against a "standard" storage pool and there is no issue
Expected behavior
Expecting a NAS volume to be provisioned
Additional context
This works fine with SAN. I see in storage_drivers/gcp/gcp_gcnv_san.go, line 1986 that there is a scrubber swapping - for _. I do not see a similar function storage_drivers/gcp/gcp_gcnv.go
Describe the bug
Whilst provisioning a NAS volume, it fails and with log on the trident-controller, indicating to me that it is trying to provision a volume with dashes in the name:
26-04-10T20:10:36Z" level=warning msg="Failed to create the volume on this pool." backend=gcnv-tbc-flex-nas backendUUID=81261510-7632-4d27-b5bb-f106484ea0c8 error="GCNV pool gke-flex-np; error creating volume pvc-8e9fb8f0-3fc7-42c7-852d-6e6bd3c4cede: rpc error: code = InvalidArgument desc = Invalid value for "volume_id": "pvc-8e9fb8f0-3fc7-42c7-852d-6e6bd3c4cede". Must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or underscores, and cannot end with a underscore." logLayer=core pool=gcnv-tbc-flex-nas_pool requestID=2aee7466-27b0-4137-9473-c2f9dad37488 requestSource=CSI volume=pvc-8e9fb8f0-3fc7-42c7-852d-6e6bd3c4cede workflow="volume=create"
Environment
Provide accurate information about the environment to help us reproduce the issue.
To Reproduce
Steps to reproduce the behavior: install Trident in GKE, point at a Flex unified storage pool, let 'er rip. Do the same against a "standard" storage pool and there is no issue
Expected behavior
Expecting a NAS volume to be provisioned
Additional context
This works fine with SAN. I see in storage_drivers/gcp/gcp_gcnv_san.go, line 1986 that there is a scrubber swapping - for _. I do not see a similar function storage_drivers/gcp/gcp_gcnv.go