Bug 1753997

Summary: volumeMode is not passed when cloning a DataVolume
Product: OpenShift Container Platform Reporter: Radim Hrazdil <rhrazdil>
Component: Console Kubevirt PluginAssignee: Filip Krepinsky <fkrepins>
Status: CLOSED ERRATA QA Contact: Radim Hrazdil <rhrazdil>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: aos-bugs, fkrepins, gouyang, tjelinek
Target Milestone: ---   
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.2.0-0.nightly-2019-09-20-225712 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-16 06:41:39 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:

Description Radim Hrazdil 2019-09-20 13:39:45 UTC
Description of problem:
When cloning a VM, the cloned DataVolume doesn't get the volumeMode value from the original (source) DataVolume

Version-Release number of selected component (if applicable):
4.2.0-0.nightly-2019-09-17-232025

How reproducible:
100%

Steps to Reproduce:
1. Create a VM from URL source using wizard
2. Clone the VM
3.

Actual results:
Error in VM Events:
Error creating DataVolume asdasdasdasd-clone-asdasdasdasd-rootdisk-clone: admission webhook "datavolume-validate.cdi.kubevirt.io" denied the request: Source and target volume modes do not match

Expected results:


Additional info:

Comment 2 errata-xmlrpc 2019-10-16 06:41:39 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, 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-2019:2922