--
You received this message because you are subscribed to the Google Groups "container-storage-interface-community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to container-storage-interf...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/container-storage-interface-community/42a0e251-6a27-45a4-8c59-411d75860603%40googlegroups.com.
> It was not clear how the storage class will be translated/migrated to CSI. I did not see explanation around it. Does the migration shim hide the requirement of migrating storage class to CSI? It looked like that but some details on how it would work end to end will be helpful (see my next question)
The idea of CSI migration is to keep all the user facing API objects (PVC, PV, Storageclass) as it is and delegate all the APIs call to the new storage backend (CSI driver). Given that, the in-tree storage class will be kept the same, and user will be able to use the same storage class with CSI driver once migration is enabled. The actual translation logic depends on the differences between in-tree storage class and CSI storage class. For example, EBS CSI storageclass supports all the in-tree storageclass parameters (not including zone,zones since they are deprecated), so that the storageclass translation is not implemented. On the other side, GCE PD translation implemented translation for zone/zones and fstype.
>Is there a doc that captures the details of the migration end to end and what every cloud provider need to do in this workflow? I saw high level explanation of the workflow, translation library/interface etc in the spec and I was wondering if this is explained in detail somewhere.
David has a CSI migration Developer Guide that covers more details about many aspects of this. But I’m not sure if this is made public yet?
> Has any vendor implemented migration as per the spec? If so, could you please send github links to the code?
Both GCE PD, AWS EBS, Azure Disk/File and Openstack have implemented their own shims. See here for you reference
For your 4th question, I think CSI migration focus on the migration of the storage driver assuming the storage backend is the same. Your problem feels include both migration of the driver as well as migration of the storage backend. Then I would say there are two different drivers, why bother migrate?
Thanks,
--
Cheng
It appears like the translation library will be invoked only from external-provisioner and external-attacher
it was not clear how the library will be invoked in case of rollback (user wants to go back from CSI to in tree).
Also, please share if you have any thoughts on how and where we could potentially upgrade/downgrade the vSphere storage objects.