Bug 1317438

Summary: [RFE] Ability to change disk interface for a VM disk
Product: [oVirt] ovirt-engine Reporter: Yaniv Lavi <ylavi>
Component: RFEsAssignee: Tal Nisan <tnisan>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.6.0CC: acanan, amureini, bugs, dev-unix-virtualization, ebenahar, gklein, iheim, lpeer, lsurette, rbalakri, scohen, sdegaonkar, srevivo, tnisan, ykaul, ylavi
Target Milestone: ovirt-4.0.0-rcKeywords: FutureFeature
Target Release: 4.0.0Flags: rule-engine: ovirt-4.0.0+
acanan: testing_plan_complete+
ylavi: planning_ack+
amureini: devel_ack+
acanan: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1139879 Environment:
Last Closed: 2016-08-01 12:25:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1142762    
Bug Blocks: 1139879, 1378700    

Description Yaniv Lavi 2016-03-14 09:27:50 UTC
Description of problem:
Currently, there seems to be no way of changing a disk's interface type.
For example, a disk of 'virtio' interface cannot be added to another VM via the 'virtio-SCSI' interface. This is needed in some cases for DR and backup.

Comment 1 Sandro Bonazzola 2016-05-02 09:48:23 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 2 Allon Mureinik 2016-06-09 13:12:21 UTC
Doctext tracked on bug 1139879, setting requires-doctext- for this one.

Comment 3 Elad 2016-07-13 14:16:54 UTC
Executed the feature basic flows after setup upgrade (3.6 -> 4.0):

https://polarion.engineering.redhat.com/polarion/#/project/RHEVM3/testrun?id=4_0_Storage_Ability_to_change_disk_interface_for_a_VM_disk_run_31_06_2016

Tested using Webadmin, All passed. 

Note that for REST API, we're still block due to:
Bug 1352657 - GET of diskattachment returns a list of objects without the href property


Tested using:
rhevm-4.0.0.6-0.1.el7ev.noarch
vdsm-4.18.4-2.el7ev.x86_64
libvirt-daemon-1.2.17-13.el7_2.5.x86_64
qemu-kvm-rhev-2.3.0-31.el7_2.18.x86_64