Bug 1339305

Summary: Video device is not imported from OVF store
Product: [oVirt] ovirt-hosted-engine-ha Reporter: Roman Mohr <rmohr>
Component: AgentAssignee: Roman Mohr <rmohr>
Status: CLOSED CURRENTRELEASE QA Contact: sefi litmanovich <slitmano>
Severity: high Docs Contact:
Priority: high    
Version: 1.3.5.5CC: bugs, dfediuck, mavital, mgoldboi, sbonazzo, zbrown
Target Milestone: ovirt-3.6.7Keywords: ZStream
Target Release: 1.3.5.5Flags: rule-engine: ovirt-3.6.z+
mgoldboi: planning_ack+
dfediuck: devel_ack+
mavital: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: To problems. First the video device was not imported from the OVF store. Second the display type mapping was wrong. It eiter always mapped to QXL the value was not set at all. Consequence: In case of VNC, if the correct display type was in the OVF store the VM did not get any video or graphics devices. In case the display type was set the video device was not extracted from the OVF store and VDSM only partially reported it. Fix: Now the display type is imported from the store correctly and the video device is also explicitly requested when asking VDSM for the VM. Result: VM is created with the right video and graphics devices and the explictly requested video device is reported by VDSM.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-04 12:30:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1328921, 1339213    

Description Roman Mohr 2016-05-24 16:01:30 UTC
Description of problem:
CIrrus, QXL and VGA devices are not exported from the OVF store. As a consequence the agent does not tell VDSM that it is needed. Libvirt still creates it under the hood for the SPICE and VNC graphics devices but VDSM does not report them.

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


How reproducible:
Always

Steps to Reproduce:
1. Do a full hosted-engine --deploy run
2. Import the Hosted engine VM into ovirt-engine
3. Wait until the first OVF write
4. Check /var/run/ovirt-hosted-engine-ha/vm.conf

Actual results:
Video device is not in vm.conf

Expected results:
Video device should be there.

Additional info:

Comment 1 sefi litmanovich 2016-06-09 15:17:48 UTC
Verified with:
HOST:
vdsm-4.17.31-0.el7ev.noarch
ovirt-hosted-engine-ha-1.3.5.7-1.el7ev.noarch
ovirt-hosted-engine-setup-1.3.7.2-1.el7ev.noarch
ENGINE:
rhevm-3.6.7.3-0.1.el6

Verified once with VNC and once with SPICE according to steps in description.
change ovf update interval to 1.

At vm's creation vdsm reports the correct display type and includes the video device with correct value (qxl for spice, cirrus for vnc).
After vm is imported to the engine and after the ovf update interval, agent.log and vm.conf show the correct values as well