Bug 1177231

Summary: Better resolution of graphics conflicts between template and vm
Product: Red Hat Enterprise Virtualization Manager Reporter: Arik <ahadas>
Component: ovirt-engineAssignee: Michal Skrivanek <michal.skrivanek>
Status: CLOSED CURRENTRELEASE QA Contact: sefi litmanovich <slitmano>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: gklein, istein, lpeer, lsurette, michal.skrivanek, rbalakri, Rhev-m-bugs, srevivo, tjelinek, ykaul
Target Milestone: ovirt-3.6.0-rc   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 01:36:44 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 Arik 2014-12-25 09:23:49 UTC
Description of problem:
Conflicts between the graphics of the template and the graphics we set for the pool/VM might produce a can-do-action failure in the add-action.
Say we're about to create a pool from a template which is set with QXL/SPICE and we change the graphics to CIRRUS/VNC and operating system 'Other OS' 

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

How reproducible:
100%

Steps to Reproduce:
1. create a template with QXL/SPICE
2. create pool based on that template with CIRRUS/VNC and operating system 'Other OS'

Actual results:
Failure:
2014-12-25 11:08:04,155 WARN  [org.ovirt.engine.core.bll.AddVmAndAttachToPoolCommand] (org.ovirt.thread.pool-8-thread-43) [3bdfe2d2] CanDoAction of action 'AddVmAndAttachToPool' failed. Reasons: VAR__ACTION__ADD,VAR__TYPE__VM,ACTION_TYPE_FAILED_ILLEGAL_VM_DISPLAY_TYPE_IS_NOT_SUPPORTED_BY_OS


Expected results:
The pool should be created (with CIRRUS/VNC?)

Additional info:

Comment 2 sefi litmanovich 2015-06-29 10:55:27 UTC
Verified on ovirt-engine-3.6.0-0.0.master.20150519172219.git9a2e2b3.el6.noarch.

created pool with VNC from a template with SPICE, also played with OS param.
Did the same the other way around as well, also did it with create vm instead of pool.
No problems occurred.