Bug 1303902

Summary: [Text] - Improve the error message when failing to run VM with network-used host device
Product: [oVirt] ovirt-engine Reporter: Michael Burman <mburman>
Component: BLL.VirtAssignee: Nobody <nobody>
Status: CLOSED WONTFIX QA Contact: meital avital <mavital>
Severity: low Docs Contact:
Priority: low    
Version: 3.6.2.6CC: bugs, mgoldboi, michal.skrivanek, tjelinek
Target Milestone: ---Keywords: UserExperience
Target Release: ---Flags: mgoldboi: planning_ack+
mburman: devel_ack?
mburman: testing_ack?
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-14 11:25:30 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:
Attachments:
Description Flags
screenshot none

Description Michael Burman 2016-02-02 11:35:13 UTC
Description of problem:
[Text] - Improve the error message when failing to run VM with network-used host device.

When failing to run VM with network-used host device, the next error message is displayed:

"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.."

This error message should be improved, because it is really not clear why it's 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.

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

How reproducible:
100

Steps to Reproduce:
1. Add device to VM via Host Devices sub tab that has a network attached to him
2. Try to run VM

Actual results:
Failed with error:
"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.."

Expected results:
Error message should be improved.

Additional info:
See also - BZ 1230775

Comment 1 Michael Burman 2016-02-02 11:35:53 UTC
Created attachment 1120379 [details]
screenshot

Comment 2 Sandro Bonazzola 2016-05-02 09:56:41 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 3 Yaniv Lavi 2016-05-23 13:17:55 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

Comment 4 Yaniv Lavi 2016-05-23 13:24:33 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

Comment 5 Tomas Jelinek 2016-11-23 15:23:41 UTC
it is dependant on a bigger changes in the hostdev infrastructure, will not make 4.1

Comment 6 Ryan Barry 2018-11-14 11:25:30 UTC
This will not make it in a reasonable time. Please re-open if you still feel this should be fixed