Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vSphere CSI storage policy in wallaby #3626

Closed
vxav opened this issue Aug 7, 2024 · 1 comment
Closed

vSphere CSI storage policy in wallaby #3626

vxav opened this issue Aug 7, 2024 · 1 comment
Assignees
Labels
team/rocket Team Rocket

Comments

@vxav
Copy link

vxav commented Aug 7, 2024

The CSI fails to provision storage because the csi chart defaults to a vsan storage policy. This fails if the available datastore has no storage policy applied (e.g. traditional storage array).

No vSAN datastores found for vCenter \"160.100.1.65\

failed to retrieve tags for category \"cns.vmware.topology-preferred-datastores\" in vCenter \"160.100.1.65\

No compatible datastore found for storagePolicy

One fix is to remove the storagePolicy section of the storage class. Meaning it will pick whatever datastore is available. This is fine as long as there's only one.
https://docs.vmware.com/en/VMware-vSphere-Container-Storage-Plug-in/3.0/vmware-vsphere-csp-getting-started/GUID-4E5F8F65-8845-44EE-9485-426186A5E546.html

When a storage policy is not specified in the StorageClass, the vSphere Container Storage Plug-in looks for a shared, accessible datastore that can be accessed by all nodes in the Kubernetes cluster.

tl,dr: We need to be able to not specify a storage policy in the storage class.
https://github.com/giantswarm/cloud-provider-vsphere-app/blob/main/config/vsphere-csi-driver/overwrites/values.yaml#L11

@vxav
Copy link
Author

vxav commented Aug 12, 2024

Done in giantswarm/cluster-vsphere#264

@vxav vxav closed this as completed Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team/rocket Team Rocket
Projects
Archived in project
Development

No branches or pull requests

2 participants