Description of problem: Using MTV 2.3 - the user should update the spec of the StorageProfile resource of a non-provisioner OCP storage class like NFS in order to run a migration using this storageClass For example: $ oc get storageprofile nfs -oyaml ... spec: claimPropertySets: - accessModes: - ReadWriteOnce volumeMode: Filesystem According to Fabien: "It is a valid choice, and also the safest mode, as all provisioners support it. It won't allow you to live migrate the VM in CNV, but it's fine for MTV." Additional info: Please see: https://bugzilla.redhat.com/show_bug.cgi?id=2036479#c4 Version-Release number of selected component (if applicable): MTV 2.3 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results:
Ilanit, can you please weigh in on this?
Please disregard my previous comment.
User story: I'm using static provisioning, such as NFS, for MTV migration. In order to enable MTV migration using static provisioning (static storage class), I need to do the following: Edit the storage profile corresponding to the storage class. .Procedure 1. Edit the storageprofile corresponding to the the storage class: $ oc edit storageprofile <name_of_storageclass> 2. Edit the section beginning with `spec:{}` like this: ---- spec: claimPropertySets: - accessModes: - ReadWriteOnce volumeMode: Filesystem ---- Open questions: - Where does the user get this spec from? - Here I refer to non-dynamic provisioning as "static provisioning". Is that the correct term? In the NOTE at the top of 2.2. Storage support and default modes[1], change the "MTV applies the default settings" to "you need to apply the following settings in the storageprofile for your storage class. [1] https://access.redhat.com/documentation/en-us/migration_toolkit_for_virtualization/2.2/html-single/installing_and_using_the_migration_toolkit_for_virtualization#about-storage_mtv
I see that the procedure is already documented in the OpenShift Virtualization documentation under _Customizing the storage profile_[1], so I'll just add a link to that. [1] https://access.redhat.com/documentation/en-us/openshift_container_platform/4.9/html-single/virtualization/index#virt-customizing-storage-profile_virt-creating-data-volumes
Waiting until 2.3 GA to merge.