Bug 1281428
Summary: | Hostdev_passthrough: Template creation should not include attached VM devices. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Nisim Simsolo <nsimsolo> | ||||||
Component: | BLL.Virt | Assignee: | Martin Betak <mbetak> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Nisim Simsolo <nsimsolo> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 3.6.0.2 | CC: | bugs, michal.skrivanek, mlibra, nsimsolo, sbonazzo, tjelinek | ||||||
Target Milestone: | ovirt-3.6.3 | Flags: | rule-engine:
ovirt-3.6.z+
rule-engine: planning_ack+ michal.skrivanek: devel_ack+ rule-engine: testing_ack+ |
||||||
Target Release: | 3.6.3 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-02-18 11:06:20 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: | |||||||||
Attachments: |
|
Description
Nisim Simsolo
2015-11-12 13:59:39 UTC
Created attachment 1093279 [details]
engine log
Created attachment 1093280 [details]
vdsm log
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone. By adding hostdev to a VM, the VM is pinned to the particular host. Subsequently created template stays pinned to the host and so do the VMs created from the template. If the user explicitly repin the VM to a different host, the new host has to have same devices. Avoiding copy of hostdevices when making a template is loosing functionality from my perspective. The 'Start Running On' radioboxes in Add/Edit VM dialog can be enhanced for information that the VM has hostdevices and so the user should check devices on the new host. Verified using build: rhevm-3.6.3-0.1.el6 libvirt-client-1.2.17-13.el7_2.2.x86_64 qemu-kvm-rhev-2.3.0-31.el7_2.4.x86_64 vdsm-4.17.19-0.el7ev.noarch sanlock-3.2.4-1.el7.x86_64 Verification scenario: 1. Attach host PCI and USB devices to VM1. 2. Make template from VM1. 3. Create VM (VM2) from template on a different host. 4. verify no devices attached to VM2 by querying engine DB for vm_device. 5. Run VM2. 6. Verify VM2 is running properly. verify no USB and PCI host devices attached to this VM. 7. Power off VM2 and attach host PCI and USB devices to it. 8. Run VM and verify host devices attached. |