-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
supportSomething ain't right in a particular environment.Something ain't right in a particular environment.
Description
I Have a Single K3S Cluster that i'd like to use with TrueNAS-SCALE-24.10.2.3 .
I was installed truenas-csp use by helm chart and i can provision pvc and pv through truenas-csp.
But this pvc cannot attached to the pod with error, Please take a look at the error below.
journalctl -f :
Aug 27 10:06:14 k3s k3s[1128]: E0827 10:06:14.219893 1128 csi_attacher.go:645] kubernetes.io/csi: attachment for test1_rpcloud_pvc-9e2705b3-3d1f-452f-92a0-b84171d41da6 failed: rpc error: code = Aborted desc = There is already an operation pending for the specified id ControllerPublishVolume:test1_rpcloud_pvc-9e2705b3-3d1f-452f-92a0-b84171d41da6:2bb057cd-0a35-5755-a471-231c1cc3ac38
Aug 27 10:06:14 k3s k3s[1128]: E0827 10:06:14.220064 1128 nestedpendingoperations.go:348] Operation for "{volumeName:kubernetes.io/csi/csi.hpe.com^test1_rpcloud_pvc-9e2705b3-3d1f-452f-92a0-b84171d41da6 podName: nodeName:k3s}" failed. No retries permitted until 2025-08-27 10:06:14.720034899 +0000 UTC m=+188395.604237537 (durationBeforeRetry 500ms). Error: AttachVolume.Attach failed for volume "pvc-9e2705b3-3d1f-452f-92a0-b84171d41da6" (UniqueName: "kubernetes.io/csi/csi.hpe.com^test1_rpcloud_pvc-9e2705b3-3d1f-452f-92a0-b84171d41da6") from node "k3s" : rpc error: code = Aborted desc = There is already an operation pending for the specified id ControllerPublishVolume:test1_rpcloud_pvc-9e2705b3-3d1f-452f-92a0-b84171d41da6:2bb057cd-0a35-5755-a471-231c1cc3ac38
Aug 27 10:06:14 k3s k3s[1128]: I0827 10:06:14.805492 1128 reconciler.go:360] "attacherDetacher.AttachVolume started" volumeName="kubernetes.io/csi/csi.hpe.com^test1_rpcloud_pvc-9e2705b3-3d1f-452f-92a0-b84171d41da6" nodeName="k3s" scheduledPods=["default/task-pv-pod"]
Below is my cluster information. :
[root@k3s ~]# kubectl get nodes -o wide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
k3s Ready control-plane,master,worker 30d v1.32.6+k3s1 10.12.40.251 <none> Rocky Linux 8.10 (Green Obsidian) 4.18.0-553.el8_10.x86_64 containerd://2.0.5-k3s1.32
[root@k3s ~]#
[root@k3s ~]#
[root@k3s ~]# kubectl get all -A
NAMESPACE NAME READY STATUS RESTARTS AGE
hpe-storage pod/hpe-csi-controller-755b597ffb-jdq8s 9/9 Running 0 24h
hpe-storage pod/hpe-csi-node-wxb6s 2/2 Running 0 24h
hpe-storage pod/truenas-csp-77845994f7-mhgxg 1/1 Running 0 24h
kube-system pod/coredns-5688667fd4-hvpxc 1/1 Running 1 (2d4h ago) 30d
kube-system pod/helm-install-traefik-b2z2k 0/1 Completed 1 30d
kube-system pod/helm-install-traefik-crd-w5rs5 0/1 Completed 0 30d
kube-system pod/local-path-provisioner-774c6665dc-npzkv 1/1 Running 1 (2d4h ago) 30d
kube-system pod/metrics-server-6f4c6675d5-rd2wb 1/1 Running 1 (2d4h ago) 30d
kube-system pod/svclb-traefik-4f398a6f-d29zt 2/2 Running 2 (2d4h ago) 30d
kube-system pod/traefik-c98fdf6fb-xhsrw 1/1 Running 1 (2d4h ago) 30d
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default service/kubernetes ClusterIP 10.43.0.1 <none> 443/TCP 30d
hpe-storage service/truenas-csp-svc ClusterIP 10.43.167.168 <none> 8080/TCP 24h
kube-system service/kube-dns ClusterIP 10.43.0.10 <none> 53/UDP,53/TCP,9153/TCP 30d
kube-system service/metrics-server ClusterIP 10.43.85.150 <none> 443/TCP 30d
kube-system service/traefik LoadBalancer 10.43.24.109 10.12.40.251 80:30916/TCP,443:31637/TCP 30d
NAMESPACE NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
hpe-storage daemonset.apps/hpe-csi-node 1 1 1 1 1 <none> 24h
kube-system daemonset.apps/svclb-traefik-4f398a6f 1 1 1 1 1 <none> 30d
NAMESPACE NAME READY UP-TO-DATE AVAILABLE AGE
hpe-storage deployment.apps/hpe-csi-controller 1/1 1 1 24h
hpe-storage deployment.apps/truenas-csp 1/1 1 1 24h
kube-system deployment.apps/coredns 1/1 1 1 30d
kube-system deployment.apps/local-path-provisioner 1/1 1 1 30d
kube-system deployment.apps/metrics-server 1/1 1 1 30d
kube-system deployment.apps/traefik 1/1 1 1 30d
NAMESPACE NAME DESIRED CURRENT READY AGE
hpe-storage replicaset.apps/hpe-csi-controller-755b597ffb 1 1 1 24h
hpe-storage replicaset.apps/truenas-csp-77845994f7 1 1 1 24h
kube-system replicaset.apps/coredns-5688667fd4 1 1 1 30d
kube-system replicaset.apps/local-path-provisioner-774c6665dc 1 1 1 30d
kube-system replicaset.apps/metrics-server-6f4c6675d5 1 1 1 30d
kube-system replicaset.apps/traefik-c98fdf6fb 1 1 1 30d
NAMESPACE NAME STATUS COMPLETIONS DURATION AGE
kube-system job.batch/helm-install-traefik Complete 1/1 21s 30d
kube-system job.batch/helm-install-traefik-crd Complete 1/1 19s 30d
[root@k3s ~]# kubectl get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS VOLUMEATTRIBUTESCLASS AGE
rwx-truenas Bound pvc-9e2705b3-3d1f-452f-92a0-b84171d41da6 1Gi RWX hpe-storageclass <unset> 74m
describe pod :
`Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 27s default-scheduler Successfully assigned default/task-pv-pod to k3s
Warning FailedAttachVolume 2s (x5 over 12s) attachdetach-controller AttachVolume.Attach failed for volume "pvc-9e2705b3-3d1f-452f-92a0-b84171d41da6" : rpc error: code = Aborted desc = There is already an operation pending for the specified id ControllerPublishVolume:test1_rpcloud_pvc-9e2705b3-3d1f-452f-92a0-b84171d41da6:2bb057cd-0a35-5755-a471-231c1cc3ac38
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
supportSomething ain't right in a particular environment.Something ain't right in a particular environment.