Bug 1565262

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: Brandon Dunne <bdunne>
Status: CLOSED CANTFIX QA Contact: Ievgen Zapolskyi <izapolsk>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: cpelland, dmetzger, fdewaley, gmccullo, izapolsk, obarenbo, simaishi, smallamp, yrudman
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1546375 Environment:
Last Closed: 2018-08-07 15:36:35 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: 1546375    
Bug Blocks: 1572700    

Comment 2 CFME Bot 2018-04-09 19:10:45 UTC
New commit detected on ManageIQ/manageiq/fine:

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

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

Comment 3 CFME Bot 2018-04-11 16:11:22 UTC
New commit detected on ManageIQ/manageiq/fine:

https://github.com/ManageIQ/manageiq/commit/cb5816dfaa5d52288da60fc638e87d3cfd188514
commit cb5816dfaa5d52288da60fc638e87d3cfd188514
Author:     Satoe Imaishi <simaishi>
AuthorDate: Wed Apr 11 12:07:49 2018 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Wed Apr 11 12:07:49 2018 -0400

    Revert "Merge pull request #326 from jntullo/bz_1546375"

    This reverts commit c8aec62ba354b218bc75e0f6a88ba54dc19420f5.

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

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

Comment 6 Brandon Dunne 2018-08-07 15:36:35 UTC
This change can not be backported to the fine (5.8) branch because it depends on database schema changes that are not in that branch.