Bug 1482033 - vGPU: custom properties mdev_type hook is not applied on VMs.
Summary: vGPU: custom properties mdev_type hook is not applied on VMs.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ovirt-4.2.0
: ---
Assignee: Arik
QA Contact: Nisim Simsolo
URL:
Whiteboard:
Depends On:
Blocks: 1486524
TreeView+ depends on / blocked
 
Reported: 2017-08-16 10:10 UTC by Nisim Simsolo
Modified: 2017-12-20 11:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:10:01 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.2+
ahadas: devel_ack+


Attachments (Terms of Use)
vdsm.log (222.02 KB, application/x-xz)
2017-08-16 10:14 UTC, Nisim Simsolo
no flags Details
engine.log (190.63 KB, application/x-xz)
2017-08-16 10:14 UTC, Nisim Simsolo
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 80681 0 master MERGED core: write vm custom properties to engine xml 2017-08-16 12:51:58 UTC

Description Nisim Simsolo 2017-08-16 10:10:49 UTC
Description of problem:
VM vGPU hook (custom propeties: mdev_type) is not applied on the VM, the VM will run but without Nvidia instance of vGPU.

Version-Release number of selected component (if applicable):
vdsm-4.20.2-74.git2be4775.el7.centos.x86_64
vdsm-hook-vfio-mdev-4.20.2-74.git2be4775.el7.centos
libvirt-client-3.2.0-14.el7_4.2.x86_64
qemu-kvm-rhev-2.9.0-14.el7.x86_64
sanlock-3.5.0-1.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Browse Webadmin -> VMs tab -> select VM -> edit -> custom properties: add mdev_type to VM with valid Nvidia instance. 
2. Run VM
3. Observe VM qemu-kvm process.

Actual results:
VM should run with Nvidia GPU instance attached.

Expected results:
VM is running without Nvidia GPU.

Additional info:
engine and vdsm logs attached (vdsm.log VM start 2017-08-16 13:07:19,786+0300)

Comment 1 Nisim Simsolo 2017-08-16 10:13:54 UTC
ovirt-engine build: 
ovirt-engine-4.2.0-0.0.master.20170811144920.gita423008.el7.centos

Comment 2 Nisim Simsolo 2017-08-16 10:14:21 UTC
Created attachment 1314051 [details]
vdsm.log

Comment 3 Nisim Simsolo 2017-08-16 10:14:44 UTC
Created attachment 1314052 [details]
engine.log

Comment 4 Nisim Simsolo 2017-08-21 08:55:50 UTC
Verification builds:
ovirt-engine-4.2.0-0.0.master.20170820180837.git59243e9.el7.centos
libvirt-client-3.2.0-14.el7_4.2.x86_64
vdsm-4.20.2-90.git6511af5.el7.centos.x86_64
qemu-kvm-rhev-2.9.0-14.el7.x86_64
sanlock-3.5.0-1.el7.x86_64
Nvidia GRIDSW_5.0 Beta Release KVM Drivers (R384)

Comment 5 Sandro Bonazzola 2017-12-20 11:10:01 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.