Bug 1219697

Summary: Unable to change VM OS type in a single screen/click
Product: Red Hat Enterprise Virtualization Manager Reporter: Dan Yasny <dyasny>
Component: ovirt-engineAssignee: Shmuel Melamud <smelamud>
Status: CLOSED CURRENTRELEASE QA Contact: Nisim Simsolo <nsimsolo>
Severity: low Docs Contact:
Priority: low    
Version: 3.5.0CC: gklein, istein, lsurette, michal.skrivanek, nsimsolo, rbalakri, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ovirt-3.6.0-rc   
Target Release: 3.6.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 01:39:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Yasny 2015-05-08 01:29:29 UTC
Description of problem:
When a VM has virtio-scsi enabled, changing the OS type to a version that has no support for virtio scsi fails. Disabling virtio-scsi is also not possible, because if the OS is changed in the first tab, virtio-scsi is greyed out in the resource allocation tab, and thus cannot be disabled

Version-Release number of selected component (if applicable):
3.5.0-0.32

How reproducible:
always

Steps to Reproduce:
1. create a VM as RHEL-7, with virtio-scsi enabled
2. edit VM, change to RHEL-5
3. switch to Resource allocation tab in VM edit window

Actual results:
virtio-scsi cannot be disabled even if it was enabled before, so changes cannot be saved

Expected results:
auto-disable virtio-scsi is OS version is incompatible 
or
do not grey out virtio-scsi if it is enabled, so the user can manually disable it

Additional info:

Comment 1 Max Kovgan 2015-06-28 14:13:22 UTC
ovirt-3.6.0-3 release

Comment 2 Nisim Simsolo 2015-09-22 05:35:28 UTC
Fixed. VirtIO-SCSI is disabled and grayed out when selecting incompatible VM OS and enabled/editable when selecting compatible VM OS.
Verified on:  3.6.0-0.13.master.el6