Bug 1565678

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: Dave Johnson <dajohnso>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: cpelland, epacific, ktenzer, lavenel, nlamuro, obarenbo, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.8.4.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1552049 Environment:
Last Closed: 2018-06-25 14:19:47 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: 1551709    

Comment 2 CFME Bot 2018-04-10 21:41:07 UTC
New commits detected on ManageIQ/manageiq/fine:

https://github.com/ManageIQ/manageiq/commit/6d24a5d1e87dfa27efc7c653c64d5b62031b2b6a
commit 6d24a5d1e87dfa27efc7c653c64d5b62031b2b6a
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=1565678

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


https://github.com/ManageIQ/manageiq/commit/eae68eacf8482c100bf51caf971669ea856b0c9a
commit eae68eacf8482c100bf51caf971669ea856b0c9a
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=1565678

 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 8 errata-xmlrpc 2018-06-25 14:19:47 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:1972