Bug 2033333
| Summary: | MTV must not set volume or access mode when creating a DataVolume | ||
|---|---|---|---|
| Product: | Migration Toolkit for Virtualization | Reporter: | Ilanit Stein <istein> |
| Component: | General | Assignee: | Sam Lucidi <slucidi> |
| Status: | CLOSED ERRATA | QA Contact: | Igor Braginsky <ibragins> |
| Severity: | medium | Docs Contact: | Avital Pinnick <apinnick> |
| Priority: | high | ||
| Version: | 2.2.0 | CC: | alitke, apinnick, fbladilo, fdewaley, fdupont, istein, jayoung, mguetta |
| Target Milestone: | --- | ||
| Target Release: | 2.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-04-04 18:03:42 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Fabien, see above comment please. The request for this was previously raised here: Bug 1898254 - Add the ability to override default access and volume modes in storage mapping *** Bug 2032646 has been marked as a duplicate of this bug. *** Validated this bug in MTV 2.3.0-24, access mode is set to RWX as it should. 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 (MTV 2.3.0 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/RHEA-2022:1183 |
Description of problem: When using a StorageClass like Ceph RBD, we expect to set RWX access mode to enable the live migration feature. MTV is already using the StorageProfile feature introduced in CNV 4.9, but it is also setting the volume mode to FileSystem and the access mode to RWO, which goes against the design. It is possible to work around this problem by setting the volume and access modes in the StorageMap CR generated when creating the Plan. Below is an example. --- apiVersion: forklift.konveyor.io/v1beta1 kind: StorageMap metadata: name: storage-map namespace: konveyor-forklift spec: map: - destination: storageClass: openshift-storage.cephfs.csi.ceph.com accessMode: ReadWriteMany volumeMode: Block source: name: iSCSI_Datastore Version-Release number of selected component (if applicable): 2.2.0