Description of problem: On OCP-4.5/CNV-2.4, the VM import from RHV target storage volume mode choice box is static and contain the default "Filesystem" option. With this RFE added in CNV-2.5: Bug 1857926 - [RFE][v2v][RHV to CNV VM import] Add support for block volumes Please add the "block" option Version-Release number of selected component (if applicable): OCP-4.5
The Jira issue, for book keeping: https://issues.redhat.com/browse/CNV-5823
it seems the support for this should be in master of vm-import-operator already. @Yaacov It seems the target release of the vm-import-operator fix is CNV 2.5? What version of CNV is going to be released with openshift 4.6? Could we implement this RFE now?
I am planned to reinstall our server today, got stuck on some BZs :-) will upgrade soon.
cnv 2.5 will be released with openshift 4.6, so if back end will have the feature in 2.5 we can support it in 4.6 UI
cool, if there would be a version mismatch, then any import would fail on unknown fields
I managed to import RHV to CNV fedora32 VM using ceph-RBD storage class, VolumeMode: Block CNV 2.5.0 / OCP 4.6.0-fc.8 I tested it with same source VM configured as follow: 1. placement_policy is set to <affinity>migratable</affinity> --> Disk Access Mode in CNV side: RWX 2. placement_policy is set to <affinity>user_migratable</affinity> --> RWO 3. placement_policy is set to <affinity>pinned</affinity> (non_migratable) --> RWO In all cases import was ended successfully. @Alex Based on what you mentioned here: https://bugzilla.redhat.com/show_bug.cgi?id=1864577#c4 I expected that VM import using block/RWO will fail Was it changed and we can import using ceph-rbd block, either RWO/RWX?
Hi, So for ceph-rbd the following 3 combinations will work: 1. RWO FileSystem 2. RWO Block 3. RWX Block The 4th combination doesn't work. So your outcome is expected.
Verified as fixed. Versions: OCP 4.6.0-fc.8 CNV 2.5.0 I Was able to import RHV VM using ceph-rbd, Block, RWO/RWX
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4196