Bug 1260499

Summary: System Errata query is invoked repeatedly and unnecessarily
Product: [oVirt] ovirt-engine Reporter: Moti Asayag <masayag>
Component: Frontend.WebAdminAssignee: Alexander Wels <awels>
Status: CLOSED CURRENTRELEASE QA Contact: movciari
Severity: high Docs Contact:
Priority: high    
Version: ---CC: awels, bugs, gklein, jentrena, lsurette, lsvaty, mgoldboi, ngavrilo, nsoffer, oourfali, rbalakri, ybronhei, yeylon, ykaul
Target Milestone: ovirt-3.6.1Flags: oourfali: ovirt-3.6.z?
ylavi: planning_ack?
oourfali: devel_ack+
rule-engine: testing_ack+
Target Release: 3.6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-11 07:19:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Moti Asayag 2015-09-07 06:17:41 UTC
Description of problem:
The system errata query is invoked repeatedly by the webadmin. When the engine server is registered to Katello/Satellite server, it lead to great slowness of the system.

Invoking the System Errata query should be limited only to a selection of 'Errata' on the system-tree.

Version-Release number of selected component (if applicable):
commit 6b86f301d5eaba7ffa10b829bbcdc8d1acac3740

How reproducible:
always

Steps to Reproduce:
1. Start the engine
2. Open webadmin
3. Check the engine.log for messages with "org.ovirt.engine.core.bll.host.provider.foreman.ForemanHostProviderProxy"

Actual results:
There are a lot of calls to engine's system errata query

Expected results:
Invoking the system query should be limited to selecting the 'Errata' on the system-tree.

Additional info:

Comment 1 Moti Asayag 2015-09-17 05:32:14 UTC
*** Bug 1263763 has been marked as a duplicate of this bug. ***

Comment 2 Moti Asayag 2015-10-26 17:47:05 UTC
*** Bug 1275375 has been marked as a duplicate of this bug. ***

Comment 3 Yaniv Lavi 2015-10-29 12:32:39 UTC
In oVirt testing is done on single release by default. Therefore I'm removing the 4.0 flag. If you think this bug must be tested in 4.0 as well, please re-add the flag. Please note we might not have testing resources to handle the 4.0 clone.

Comment 4 Oved Ourfali 2015-11-24 06:38:13 UTC
*** Bug 1284595 has been marked as a duplicate of this bug. ***

Comment 5 Sandro Bonazzola 2015-11-24 17:15:43 UTC
Target milestone and target release are not coherent. Please align them either to 3.6.1 or to 3.6.0.

Comment 6 Moti Asayag 2015-11-25 05:17:40 UTC
*** Bug 1284910 has been marked as a duplicate of this bug. ***

Comment 7 Moti Asayag 2015-12-07 09:08:50 UTC
*** Bug 1286390 has been marked as a duplicate of this bug. ***