https://rancher.com/ logo
Title
b

brash-jewelry-40212

02/16/2023, 7:32 AM
Hello , I am trying setup the storage class in vsphere cluster created by rancher. I have installed CPI chart with vpshere credentials and CSI already installed. Created storage class with vmwareVpsherevolume provisioner. When i am trying to create pvc , its failing and showing error that f*ailed to provision the volume with storageclass "vspehre-test": cloud provider not initiated properly.* How to troubleshoot this issues ? Please help.
a

agreeable-oil-87482

02/16/2023, 10:59 AM
CPI pod logs is where I'd start first. Did you install. If you installed the CPI and CSI drivers after cluster creation you would have needed to select
external
as the cloud provider.
Unless you selected
vSphere
as the cloud provider in Rancher at time of provisioning
b

brash-jewelry-40212

02/16/2023, 1:10 PM
@agreeable-oil-87482 Thanks for your response and time. I am creating vsphere cluster from UI. While creating the cluster , under Kubernetes Options i have selected as External(out-of-tree) I am using rancher 2.7.1 and created vsphere cluster k8s with v1.24.9 . When i am trying to install CSI as per offical document from Apps--> charts , i could not find that chart(vSphere CSI). How to get the vSphere CSI chart ?
a

agreeable-oil-87482

02/16/2023, 3:01 PM
b

brash-jewelry-40212

02/16/2023, 4:00 PM
@agreeable-oil-87482 Thanks for your response and time. All my clusters getting created by rancher RKE only. I didn't see any option as RKE2 in my current UI(v 2..7.1) Do i need to add cluster driver RKE2 to enable and to see options mentioned in documentation? Create cluster -> RKE2 -> Select
vSphere
as the cloud provider. Please guide me
a

agreeable-oil-87482

02/16/2023, 4:11 PM
Oh if it's RKE1 then you can specify
external
and then install the charts. Are you finding that only the CSI chart is shown?
b

brash-jewelry-40212

02/16/2023, 5:14 PM
@agreeable-oil-87482 Yes, For RKE1 its showing only CPI charts. Cant find CSI charts. How to change rancher UI to show RKE2 related options? Does that need any separate installations? Kindly provide any documents you have for the same. Thanks in Advance.
r

rapid-family-65209

02/17/2023, 2:03 AM
@agreeable-oil-87482 I am experiencing the same issue. Rancher v2.6.10 and RKE1 clusters. Kube V1.24 and only CPI charts are available. CSI charts do not show up
b

brash-jewelry-40212

02/17/2023, 9:10 AM
@agreeable-oil-87482 Is there anyway to get the CSI charts for v1.24.9 k8s ?
b

brash-jewelry-40212

02/17/2023, 9:17 AM
@agreeable-oil-87482 Thanks, I will check.