Bug 1312879
| Summary: | cannot refresh host devices of a host when device is assigned to multiple VMs | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Martin Polednik <mpoledni> | ||||||
| Component: | BLL.Virt | Assignee: | Martin Betak <mbetak> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Nisim Simsolo <nsimsolo> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 4.0.0 | CC: | bugs, mgoldboi, michal.skrivanek, nsimsolo, sbonazzo, tjelinek | ||||||
| Target Milestone: | ovirt-3.6.5 | Flags: | tjelinek:
ovirt-3.6.z?
rule-engine: planning_ack? tjelinek: devel_ack+ rule-engine: testing_ack+ |
||||||
| Target Release: | 3.6.5 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2016-04-21 14:38:25 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: |
|
||||||||
Removing the devices from VMs seems to act as a workaround. Also found occurence of #1306333. Created attachment 1131525 [details]
engine.log
Verified on: rhevm-3.6.5-0.1.el6 qemu-kvm-rhev-2.3.0-31.el7_2.10.x86_64 libvirt-client-1.2.17-13.el7_2.4.x86_64 vdsm-4.17.25-0.el7ev.noarch sanlock-3.2.4-2.el7_2.x86_64 Verification scenario: 1. Plug USB device, refresh host capabilities and verify USB device is listed in host --> host devices sub tab. 2. Attach same USB device to 2 VMs. 3. Move host to maintenance (maintenance because hotplug/unplug is not supported yet). 4. unplug the device and activate host. 5. Verify USB device detached from both VMs and is not listed in the host --> host devices sub tab. Note: in several cases, bug https://bugzilla.redhat.com/show_bug.cgi?id=1306333 can affect refresh host capabilities, and till this bug will be fixed, a restart of host libvirtd service can workaround this issue. |
Created attachment 1131523 [details] server.log Description of problem: The refresh host capabilities button should refresh host devices. If a single host device (tested with USB) is assigned to multiple VMs, host device capabilities are not refreshed. Version-Release number of selected component (if applicable): ovirt-engine-4.0.0-0.0.master.20160222171138.git904ab61.fc23.noarch How reproducible: Always Steps to Reproduce: 1. Assign a host device to >1 VM (USB mouse was used in this case), 2. remove the device from host, 3. refresh host capabilities. Actual results: The device list should be refreshed to reflect current host configuration. Expected results: The device list is *not* updated at all, including a device that was physically removed from the host.