https://rancher.com/ logo
Title
g

gray-sunset-69744

11/07/2022, 3:10 PM
Is there an up to date guide for Rancher 2.6.9 to configure vSphere CSI in out of tree? The Guide for 2.5 mentions a plugin for the storage class but the plugin is no longer available. When creating the cluster I set the Cloud Provider to vSphere and add the Add-on Config for vSphere CPI Configuration I can see a storage class with the csi.vsphere.vmware.com Provisioner has been created. But when using it to make PVC it never becomes ready, did I miss something?
s

square-orange-60123

11/07/2022, 8:26 PM
I set the Cloud Provider to vSphere and add the Add-on Config for vSphere CPI Configuration
did you also give credentials and a datastore URL for the csi chart (which should be in the addon field for rke2 clusters when creating) what k8s version are you using? and lastly, if you’re manually creating a pvc (through the persistent volume claim page in rancher, and not through say the workload page), then you might be hitting this bug: https://github.com/rancher/dashboard/issues/7332
👀 1
g

gray-sunset-69744

11/07/2022, 9:55 PM
I did specify the credentials on the Add on page. But I don't have a datastore URL there. I only have the attached options
I'm using the following k8 version
s

square-orange-60123

11/07/2022, 10:26 PM
was there a CPI and CSI field? You must enter those creds 2x on the add-ons page
g

gray-sunset-69744

11/08/2022, 9:16 AM
I only get CPI configuration, the CSI is not shown when making the cluster
It looks like this is related to https://github.com/rancher/rancher/issues/39348
I was able to get it working by manually adding the CSI options in the Yml config
🎉 3