You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rke2 version v1.28.14+rke2r1 (05928c524ec436f7d854c68dea34f3e3bf4d5287)
go version go1.22.6 X:boringcrypto
Node(s) CPU architecture, OS, and Version:
CPU: x86_64
OS: Rocky Linux 9.4
Version: Linux server-01 5.14.0-427.13.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 1 19:11:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
A simple 1 server, and 1 agent test deployment.
Describe the bug:
Deploying the VMWare CPI/CSI (appears to not) install the CRDs needed to run.
Steps To Reproduce:
Install RKE2 via ansible
Set the cloud-provider-name in /etc/rancher/rke2/config.yaml
Example server config:
Logs from vsphere-csi-controller-8578cc867c-ctwdn:
[root@server-01 jhanafin]# kubectl logs vsphere-csi-controller-8578cc867c-ctwdn -n kube-system
Defaulted container "csi-attacher" out of: csi-attacher, vsphere-csi-controller, liveness-probe, vsphere-syncer, csi-provisioner
I1218 01:49:35.776326 1 main.go:97] Version: v4.5.1
W1218 01:49:45.780505 1 connection.go:234] Still connecting to unix:///csi/csi.sock
W1218 01:49:55.780974 1 connection.go:234] Still connecting to unix:///csi/csi.sock
W1218 01:50:05.780611 1 connection.go:234] Still connecting to unix:///csi/csi.sock
E1218 01:50:05.782949 1 main.go:136] context deadline exceeded
Logs from vsphere-csi-node-m8svk:
[root@server-01 jhanafin]# kubectl logs vsphere-csi-node-m8svk -n kube-system
Defaulted container "node-driver-registrar" out of: node-driver-registrar, vsphere-csi-node, liveness-probe
I1218 01:50:56.850288 1 main.go:135] Version: v2.10.1
I1218 01:50:56.850462 1 main.go:136] Running node-driver-registrar in mode=
I1218 01:50:56.850494 1 main.go:157] Attempting to open a gRPC connection with: "/csi/csi.sock"
I1218 01:50:56.850571 1 connection.go:215] Connecting to unix:///csi/csi.sock
I1218 01:50:56.852921 1 main.go:164] Calling CSI driver to discover driver name
I1218 01:50:56.852986 1 connection.go:244] GRPC call: /csi.v1.Identity/GetPluginInfo
I1218 01:50:56.852999 1 connection.go:245] GRPC request: {}
I1218 01:50:56.858682 1 connection.go:251] GRPC response: {"name":"csi.vsphere.vmware.com","vendor_version":"v3.3.0"}
I1218 01:50:56.858738 1 connection.go:252] GRPC error: <nil>
I1218 01:50:56.858768 1 main.go:173] CSI driver name: "csi.vsphere.vmware.com"
I1218 01:50:56.858968 1 node_register.go:55] Starting Registration Server at: /registration/csi.vsphere.vmware.com-reg.sock
I1218 01:50:56.859543 1 node_register.go:64] Registration Server started at: /registration/csi.vsphere.vmware.com-reg.sock
I1218 01:50:56.859740 1 node_register.go:88] Skipping HTTP server because endpoint is set to: ""
I1218 01:50:58.834058 1 main.go:90] Received GetInfo call: &InfoRequest{}
I1218 01:50:58.855380 1 main.go:101] Received NotifyRegistrationStatus call: &RegistrationStatus{PluginRegistered:false,Error:RegisterPlugin error -- plugin registration failed with err: rpc error: code = Internal desc = failed to get CsiNodeTopology for the node: "agent-01". Error: failed to get API group resources: unable to retrieve the complete list of server APIs: cns.vmware.com/v1alpha1: the server could not find the requested resource,}
E1218 01:50:58.855520 1 main.go:103] Registration process failed with error: RegisterPlugin error -- plugin registration failed with err: rpc error: code = Internal desc = failed to get CsiNodeTopology for the node: "agent-01". Error: failed to get API group resources: unable to retrieve the complete list of server APIs: cns.vmware.com/v1alpha1: the server could not find the requested resource, restarting registration container.
The text was updated successfully, but these errors were encountered:
I'm going to close this, as 1.28 is technically end of life.
That said, the version of the vsphere charts you're using was validated in #6338 and worked fine.
The error you're seeing suggests that an aggregated API resources is not available because the service that provides it is not available. It does not appear to be related to missing CRDs.
I'm not sure exactly where that comes from, but you might take a look at this issue and check for other errors with your configuration:
Environmental Info:
RKE2 Version:
Node(s) CPU architecture, OS, and Version:
CPU: x86_64
OS: Rocky Linux 9.4
Version: Linux server-01 5.14.0-427.13.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 1 19:11:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
A simple 1 server, and 1 agent test deployment.
Describe the bug:
Deploying the VMWare CPI/CSI (appears to not) install the CRDs needed to run.
Steps To Reproduce:
cloud-provider-name
in/etc/rancher/rke2/config.yaml
Example server config:
vsphere.yaml
file to/var/lib/rancher/rke2/server/manifests/vsphere.yaml
Example config:
Expected behavior:
The VMware CPI/CSI both install correctly and make PV/Cs available to the cluster.
Actual behavior:
The CPI installation appears to go fine however the CSI node throws an error implying a CRD has not been installed.
Additional context / logs:.
A list of all pods:
Logs from
vsphere-csi-controller-8578cc867c-ctwdn
:Logs from
vsphere-csi-node-m8svk
:The text was updated successfully, but these errors were encountered: