Bug 1864351 - [RFE][v2v][UI][RHV to CNV VM import] Allow volume mode Block
Summary: [RFE][v2v][UI][RHV to CNV VM import] Allow volume mode Block
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.5
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: 4.6.0
Assignee: Yaacov Zamir
QA Contact: Maayan Hadasi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-03 19:18 UTC by Ilanit Stein
Modified: 2020-10-27 16:23 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 16:23:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6423 0 None closed Bug 1864351: Add support for block volumes 2020-11-09 10:08:34 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:23:27 UTC

Description Ilanit Stein 2020-08-03 19:18:17 UTC
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

Comment 1 Yaacov Zamir 2020-08-04 06:07:05 UTC
The Jira issue, for book keeping: https://issues.redhat.com/browse/CNV-5823

Comment 2 Filip Krepinsky 2020-08-10 17:06:27 UTC
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?

Comment 3 Yaacov Zamir 2020-08-10 17:24:28 UTC
I am planned to reinstall our server today, got stuck on some BZs :-) will upgrade soon.

Comment 4 Yaacov Zamir 2020-08-10 17:27:17 UTC
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

Comment 5 Filip Krepinsky 2020-08-10 17:34:51 UTC
cool, if there would be a version mismatch, then any import would fail on unknown fields

Comment 8 Maayan Hadasi 2020-09-30 10:20:16 UTC
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?

Comment 9 Alexander Wels 2020-09-30 11:16:55 UTC
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.

Comment 10 Maayan Hadasi 2020-09-30 11:42:35 UTC
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

Comment 12 errata-xmlrpc 2020-10-27 16:23:11 UTC
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


Note You need to log in before you can comment on or make changes to this bug.