Bug 1728706

Summary: Different User is Being Shown as the Requester for a Lifecycle Provision in Automation Log
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: drew uhlmann <duhlmann>
Status: CLOSED ERRATA QA Contact: Ganesh Hubale <ghubale>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.9.6CC: dmetzger, duhlmann, ghubale, gmccullo, jocarter, mkanoor, mshriver, myoder, obarenbo, prutledg, rspagnol, simaishi, tfitzger
Target Milestone: GAKeywords: Reopened, ZStream
Target Release: 5.10.8   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.8.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1671563 Environment:
Last Closed: 2019-08-13 08:35: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: 1671563    
Bug Blocks:    

Comment 2 CFME Bot 2019-07-22 20:27:59 UTC
New commit detected on ManageIQ/manageiq-automation_engine/hammer:

https://github.com/ManageIQ/manageiq-automation_engine/commit/c028be0f1f1d6eaf344d45df2aed62f8ea1a6dc0
commit c028be0f1f1d6eaf344d45df2aed62f8ea1a6dc0
Author:     Greg McCullough <gmccullo>
AuthorDate: Tue Feb 12 08:10:52 2019 -0500
Commit:     Greg McCullough <gmccullo>
CommitDate: Tue Feb 12 08:10:52 2019 -0500

    Merge pull request #293 from d-m-u/no_setting_user_current_user

    Don't set User.current_user

    (cherry picked from commit d50d002b73e424acee8ba281f5e4d03c7b91548c)

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

 lib/miq_automation_engine/engine/miq_ae_engine/miq_ae_workspace_runtime.rb | 5 +-
 lib/miq_automation_engine/engine/miq_ae_method_service/miq_ae_service.rb | 10 +-
 spec/engine/miq_ae_workspace_runtime_spec.rb | 9 +-
 3 files changed, 16 insertions(+), 8 deletions(-)

Comment 3 CFME Bot 2019-07-22 21:48:54 UTC
New commit detected on ManageIQ/manageiq-automation_engine/hammer:

https://github.com/ManageIQ/manageiq-automation_engine/commit/f81ad32d6743e10616094821b16e2770ce93a4dd
commit f81ad32d6743e10616094821b16e2770ce93a4dd
Author:     Greg McCullough <gmccullo>
AuthorDate: Mon Mar 18 17:34:31 2019 -0400
Commit:     Greg McCullough <gmccullo>
CommitDate: Mon Mar 18 17:34:31 2019 -0400

    Merge pull request #302 from lfu/current_user

    Set current user for exposed methods in automate.

    (cherry picked from commit 5ccdf7db5d5e73f27b7385e02594818073a70efe)

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

 lib/miq_automation_engine/engine/miq_ae_method_service/miq_ae_service_model_base.rb | 6 +-
 spec/service_models/miq_ae_service_service_template_provision_request_spec.rb | 29 +-
 2 files changed, 25 insertions(+), 10 deletions(-)

Comment 7 errata-xmlrpc 2019-08-13 08:35:35 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-2019:2466