Bug 1565259

Summary: Requests originating from the API contain no 'userid' attribute in $evm.root
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: APIAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED ERRATA QA Contact: Ievgen Zapolskyi <izapolsk>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: fdewaley, gmccullo, izapolsk, jprause, obarenbo, simaishi, smallamp
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.4.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1546375 Environment:
Last Closed: 2018-09-04 18:00:27 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: 1546375    
Bug Blocks:    

Comment 5 CFME Bot 2018-07-26 11:53:47 UTC
New commit detected on ManageIQ/manageiq-api/gaprindashvili:

https://github.com/ManageIQ/manageiq-api/commit/6b3e36c48702c48158b1aec8e86534c001bead26
commit 6b3e36c48702c48158b1aec8e86534c001bead26
Author:     Alberto Bellotti <abellotti.github.com>
AuthorDate: Wed Feb 21 11:13:56 2018 -0500
Commit:     Alberto Bellotti <abellotti.github.com>
CommitDate: Wed Feb 21 11:13:56 2018 -0500

    Merge pull request #326 from jntullo/bz_1546375

    Set user when queueing VM actions
    (cherry picked from commit c6e8b4f9507292bf98032a107d67a55613b50243)

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

 app/controllers/api/base_controller/action.rb | 12 +
 app/controllers/api/instances_controller.rb | 18 +-
 app/controllers/api/vms_controller.rb | 15 +-
 spec/requests/instances_spec.rb | 32 +
 spec/requests/vms_spec.rb | 32 +-
 5 files changed, 93 insertions(+), 16 deletions(-)

Comment 6 Ievgen Zapolskyi 2018-08-14 15:22:20 UTC
Verified in 5.9.4.3

Comment 8 errata-xmlrpc 2018-09-04 18:00:27 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:2561