Description of problem: It is currently possible to run a VM with passed-through device that is used by a VLAN or logical network which can result in loss of connectivity to the host. The engine should detect such situations and prevent run of VM where any required host device is occupied for networking purpose.
Hi Martin, Please explain how to test this report with exact steps, thank you.
Hi Michael, the simplest scenario to verify this would be to: 1) have a vm pinned to a host 2) attach to VM host device representing host's NIC that is used with the ovirtmgmt network. 3) Try to run this VM 4) VM Run should fail becouse its device is not available (since it is used for ovirtmgmt and dettaching it from host for passthrough purposes would make the host non-responsive) Hope that helps. Best regards, Martin
Hi Martin) This report was tested with success on 3.6.3-0.1.el6 and can be verified - engine blocking run of VM with host device that has a network attached to him, but the error message is not clear and should be improved --> "Error while executing action: sr-vm3: Cannot run VM. There is no host that satisfies current scheduling constraints. See below for details: The host puma22.scl.lab.tlv.redhat.com did not satisfy internal filter HostDevice because some of the required host devices are unavailable.." The error message should explain that the host devices are unavailable because they are in use by some network/s or something like that. Agree?
Created attachment 1120345 [details] screenshot
Hi Michael, You are right the error message deserves much improvement and we are want to improve the error reporting capabilities for the HostDev 2.0 phase scheduled to land in 4.0 - as a part of bigger extension/redesign of the current host dev feature. Best regards, Martin
Verified on - 3.6.3-0.1.el6