Bug 1660382

Summary: Wrong Event log message when failing to run VM due to failed validation about host not satisfy internal filter swap: same message returns 3 times with same host name instead of different host names
Product: [oVirt] ovirt-engine Reporter: Avihai <aefrat>
Component: Frontend.WebAdminAssignee: Steven Rosenberg <srosenbe>
Status: CLOSED DEFERRED QA Contact: Lukas Svaty <lsvaty>
Severity: low Docs Contact:
Priority: low    
Version: 4.3.0CC: bugs, rbarry, srosenbe
Target Milestone: ---Flags: rbarry: ovirt-4.5?
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-01 14:48:16 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:
Bug Depends On: 1659054    
Bug Blocks:    
Attachments:
Description Flags
print screen of the issue none

Description Avihai 2018-12-18 09:03:46 UTC
Created attachment 1515256 [details]
print screen of the issue

Description of problem:
Wrong Event log message when failing to run VM due to failed validation: the same message returns 3 times with the same host name instead with different host names:

message content(see print screen attached):
"
The host host_miexed_3 did not satisfy internal filter Swap because it is swapping too much.,
The host host_miexed_3 did not satisfy internal filter Swap because it is swapping too much.,
The host host_miexed_3 did not satisfy internal filter Swap because it is swapping too much.,
"

Version-Release number of selected component (if applicable):
Software Version:4.3.0-0.2.master.20181128141347.git38908dd.el7

How reproducible:
Hard to reproduce as you need all 3 hosts to be with insufficient swap memory at the time you start the VM.

Steps to Reproduce:
1. Start VM while all 3 hosts swap memory is below the defined threshold(1024MB)


Actual results:
VM failed as expected but the EVENT log message is wrong:
"
The host host_mixed_3 did not satisfy internal filter Swap because it is swapping too much.,
The host host_mixed_3 did not satisfy internal filter Swap because it is swapping too much.,
The host host_mixed_3 did not satisfy internal filter Swap because it is swapping too much.,
"

Expected results:
VM failed as expected but the EVENT log message should be:
"
The host host_miexed_1 did not satisfy internal filter Swap because it is swapping too much.,
The host host_miexed_2 did not satisfy internal filter Swap because it is swapping too much.,
The host host_miexed_3 did not satisfy internal filter Swap because it is swapping too much.,
"

Additional info:
Event log was deleted as the machine was upgraded, ping me if its necessary.

Comment 1 Michal Skrivanek 2020-03-18 15:44:58 UTC
This bug didn't get any attention for a while, we didn't have the capacity to make any progress. If you deeply care about it or want to work on it please assign/target accordingly

Comment 2 Michal Skrivanek 2020-03-18 15:50:00 UTC
This bug didn't get any attention for a while, we didn't have the capacity to make any progress. If you deeply care about it or want to work on it please assign/target accordingly

Comment 3 Michal Skrivanek 2020-04-01 14:48:16 UTC
Closing old bug. Please reopen if still relevant/you want to work on it.