Bug 1565677

Summary: Container reports take too much time to generate
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: PerformanceAssignee: Nick LaMuro <nlamuro>
Status: CLOSED ERRATA QA Contact: Gilad Shefer <gshefer>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: akarol, cpelland, jprause, ktenzer, nlamuro, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.2.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1552049 Environment:
Last Closed: 2018-05-07 20:48:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1552049    
Bug Blocks:    

Comment 2 CFME Bot 2018-04-10 14:25:53 UTC
New commits detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/051eb05e939bf56460003e86e4c0378b80a54772
commit 051eb05e939bf56460003e86e4c0378b80a54772
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Mon Apr  2 14:57:13 2018 -0400
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Mon Apr  2 14:57:13 2018 -0400

    Merge pull request #17195 from NickLaMuro/cache_miq_report_format_column_type_lookup

    Cache MiqExpression.get_col_type in MiqReport::Formatting
    (cherry picked from commit 1b18fb151cd6cadd51f9efc67ed817e69610e7cd)

    https://bugzilla.redhat.com/show_bug.cgi?id=1565677

 app/models/miq_report/formatting.rb | 21 +-
 1 file changed, 16 insertions(+), 5 deletions(-)


https://github.com/ManageIQ/manageiq/commit/6961422f206ed0d413896c74d74f369e0bccb8cd
commit 6961422f206ed0d413896c74d74f369e0bccb8cd
Author:     Joe Rafaniello <jrafanie.github.com>
AuthorDate: Mon Apr  9 16:23:21 2018 -0400
Commit:     Joe Rafaniello <jrafanie.github.com>
CommitDate: Mon Apr  9 16:23:21 2018 -0400

    Merge pull request #17141 from NickLaMuro/optional_report_references

    Skip query references in Rbac when not needed
    (cherry picked from commit 05ab3d0c7be3206541d52a2b950b0623b48f1939)

    https://bugzilla.redhat.com/show_bug.cgi?id=1565677

 app/models/cloud_tenant.rb | 3 +-
 app/models/flavor.rb | 3 +-
 app/models/mixins/cloud_tenancy_mixin.rb | 8 +-
 lib/rbac/filterer.rb | 46 +-
 spec/lib/rbac/filterer_spec.rb | 239 +-
 spec/models/mixins/cloud_tenancy_mixin_spec.rb | 25 +
 6 files changed, 313 insertions(+), 11 deletions(-)

Comment 7 errata-xmlrpc 2018-05-07 20:48:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:1328