Bug 1558030

Summary: internal server error when accessing the "policy_events" attribute of the "vms" resource
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: APIAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED ERRATA QA Contact: Martin Kourim <mkourim>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: izapolsk, obarenbo, simaishi, smallamp
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: api:rest
Fixed In Version: 5.9.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1546995 Environment:
Last Closed: 2018-05-07 20:46:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1546995    
Bug Blocks:    

Comment 2 CFME Bot 2018-03-19 13:21:23 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/835b24bbe0fb63407390aae1ba52097bb851a07c
commit 835b24bbe0fb63407390aae1ba52097bb851a07c
Author:     Keenan Brock <keenan>
AuthorDate: Fri Mar 16 09:52:16 2018 -0400
Commit:     Keenan Brock <keenan>
CommitDate: Fri Mar 16 09:52:16 2018 -0400

    Merge pull request #17036 from jntullo/bz_1546995

    Fix policy_events relationship on VmOrTemplate
    (cherry picked from commit 94721027a9e8ed44bb6905d99bb86e66a78a11cf)

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

 app/models/vm_or_template.rb | 2 +-
 spec/models/vm_or_template_spec.rb | 8 +
 2 files changed, 9 insertions(+), 1 deletion(-)

Comment 4 Martin Kourim 2018-03-28 08:46:57 UTC
Verified on 5.9.2.0 using our test automation.

Comment 7 errata-xmlrpc 2018-05-07 20:46:21 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