Creating a PVC from a Trident PVC Snapshot cannot be created in an alternate backend
Applies to
- Astra Trident
- CSI-Snapshot supporting backend driver
Issue
Using a PVC, creating a
CSI-Snapshot
, and a StorageClass
to create a PV from that snapshot, it doesn't matter which storagePools
definition exists in the StorageClass, the clone PVC will always be created in the same Trident backend (e.g. SVM, driver) used by the original PVC, which also holds the Snapshot information.For example, for ONTAP that means that the volume (and containing LUN) will appears in the same aggregate and SVM.
It cannot be created for a different backend with the same (and definetely not a different) driver, within the set of trident supported storage, e.g. by manipulating the StorageClass'
storagePools
setting. However, even when trying to retarget the backend, it will not fail the process, instead it will just not apply the requested storagePools or backend change.