migtools / mig-controller

OpenShift Migration Controller
Apache License 2.0
22 stars 42 forks source link

[MIG-284] Convert ROX volumes to RWO on destination then revert to ROX #782

Open dymurray opened 3 years ago

dymurray commented 3 years ago

In order for direct migration to work with ROX volumes, we will need to create the PVCs as RWO on destination, perform the copy, and then revert the PVC back to ROX before bringing the application over.

sseago commented 3 years ago

As part of implementing this, we will need to make sure that any shared PVCs (PVCs mounted by multiple pods/deployments/etc) get bound to exactly one stage pod. This may have some complicated overlap with the other task of reusing application pods as stage pods on src (needed for certain storage plugins for RWO).