Bug 1594027

Summary: reports do not generate with timeout errors in logs
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ReportingAssignee: Nick LaMuro <nlamuro>
Status: CLOSED ERRATA QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.8.0CC: cpelland, fdewaley, jocarter, jprause, jrafanie, nansari, nlamuro, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.3   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.9.3.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1592480 Environment:
Last Closed: 2018-07-12 13:17:05 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: 1592480    
Bug Blocks:    

Comment 4 CFME Bot 2018-06-26 12:51:31 UTC
New commits detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/ae523a73bfde0a62d455e407e3a32f9cf6bd420e
commit ae523a73bfde0a62d455e407e3a32f9cf6bd420e
Author:     Nick LaMuro <nicklamuro>
AuthorDate: Fri Jun 22 18:39:08 2018 -0400
Commit:     Nick LaMuro <nicklamuro>
CommitDate: Fri Jun 22 18:39:08 2018 -0400

    Backport rework of #17626 for gapindashvili

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

    This is a reworking of all of the commits in:

        https://github.com/ManageIQ/manageiq/pull/17626

    Previous commits include:

      0ad75c2117faa8ce3678932fc8d383429d55b4e5
      e7fd484acc9813462744046dd8b464a08b443527
      065405d49975c80b3b852ddb21d413719bec976e

    * * *

    Allows MiqReport generation to a form of SQL for the custom_attribute
    columns, but not use virtual_attributes as the mechanism for it since
    they are not supported in other places (like `MiqExpression`) in this
    version of the application.

    See https://github.com/ManageIQ/manageiq/pull/17626 for more details.

 app/models/miq_report.rb | 7 +
 app/models/miq_report/generator.rb | 17 +-
 app/models/mixins/custom_attribute_mixin.rb | 42 +-
 3 files changed, 59 insertions(+), 7 deletions(-)


https://github.com/ManageIQ/manageiq/commit/ae523a73bfde0a62d455e407e3a32f9cf6bd420e
commit ae523a73bfde0a62d455e407e3a32f9cf6bd420e
Author:     Nick LaMuro <nicklamuro>
AuthorDate: Fri Jun 22 18:39:08 2018 -0400
Commit:     Nick LaMuro <nicklamuro>
CommitDate: Fri Jun 22 18:39:08 2018 -0400

    Backport rework of #17626 for gapindashvili

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

    This is a reworking of all of the commits in:

        https://github.com/ManageIQ/manageiq/pull/17626

    Previous commits include:

      0ad75c2117faa8ce3678932fc8d383429d55b4e5
      e7fd484acc9813462744046dd8b464a08b443527
      065405d49975c80b3b852ddb21d413719bec976e

    * * *

    Allows MiqReport generation to a form of SQL for the custom_attribute
    columns, but not use virtual_attributes as the mechanism for it since
    they are not supported in other places (like `MiqExpression`) in this
    version of the application.

    See https://github.com/ManageIQ/manageiq/pull/17626 for more details.

 app/models/miq_report.rb | 7 +
 app/models/miq_report/generator.rb | 17 +-
 app/models/mixins/custom_attribute_mixin.rb | 42 +-
 3 files changed, 59 insertions(+), 7 deletions(-)

Comment 6 Nick LaMuro 2018-07-04 01:06:35 UTC
QA steps for this bug can be found in the original:

https://bugzilla.redhat.com/show_bug.cgi?id=1592480#c21

Comment 14 errata-xmlrpc 2018-07-12 13:17:05 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:2184