Bug 1678135

Summary: [RFE] As an Automate Designer, I should be able to pass variables between Successive Playbook Method in a State Machine
Product: Red Hat CloudForms Management Engine Reporter: Loic Avenel <lavenel>
Component: AutomateAssignee: Lucy Fu <lufu>
Status: CLOSED ERRATA QA Contact: Ganesh Hubale <ghubale>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: unspecifiedCC: cbolz, ghubale, mfeifer, mkanoor, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: RFE
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.0.14 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-12 13:35:44 UTC Type: Bug
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: 1677548    
Bug Blocks:    

Description Loic Avenel 2019-02-18 08:01:26 UTC
As an Automate Designer, I should be able to pass variables between Successive Playbook Method in a State Machine

Comment 6 CFME Bot 2019-07-08 21:55:35 UTC
New commits detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/1eaaa52fbf48a3ca3c9545c566e3e4e3568e26eb
commit 1eaaa52fbf48a3ca3c9545c566e3e4e3568e26eb
Author:     Lucy Fu <lufu>
AuthorDate: Mon Jun 17 16:08:53 2019 -0400
Commit:     Lucy Fu <lufu>
CommitDate: Mon Jun 17 16:08:53 2019 -0400

    Save playbook set_stats data for successive playbook method in a state machine.

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

 app/models/manageiq/providers/embedded_ansible/automation_manager/playbook_runner.rb | 8 +
 1 file changed, 8 insertions(+)


https://github.com/ManageIQ/manageiq/commit/ca38a0c6b91f4cbd26590d33687d2dbeb145dcf3
commit ca38a0c6b91f4cbd26590d33687d2dbeb145dcf3
Author:     Lucy Fu <lufu>
AuthorDate: Mon Jun 17 16:12:23 2019 -0400
Commit:     Lucy Fu <lufu>
CommitDate: Mon Jun 17 16:12:23 2019 -0400

    Add name for temporary Ansible template

    which will be used as the name for ManageIQ::Providers::EmbeddedAnsible::AutomationManager::Job.

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

 app/models/manageiq/providers/embedded_ansible/automation_manager/playbook_runner.rb | 1 +
 spec/models/manageiq/providers/embedded_ansible/automation_manager/playbook_runner_spec.rb | 3 +
 2 files changed, 4 insertions(+)

Comment 7 CFME Bot 2019-07-08 22:17:28 UTC
New commit detected on ManageIQ/manageiq-automation_engine/master:

https://github.com/ManageIQ/manageiq-automation_engine/commit/f179578e73093070d4735386524e5787e2811ce0
commit f179578e73093070d4735386524e5787e2811ce0
Author:     Lucy Fu <lufu>
AuthorDate: Tue Jun 18 11:38:23 2019 -0400
Commit:     Lucy Fu <lufu>
CommitDate: Tue Jun 18 11:38:23 2019 -0400

    Save playbook set_stats data for successive playbook methods.

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

 lib/miq_automation_engine/engine/miq_ae_engine/miq_ae_ansible_method_base.rb | 28 +-
 spec/miq_ae_playbook_method_spec.rb | 9 +-
 2 files changed, 32 insertions(+), 5 deletions(-)

Comment 8 Tina Fitzgerald 2019-07-12 13:16:54 UTC
Hi Ganesh,

We have an Automate domain and service dialog that you can use in your testing.
Can we setup a brief meeting to discuss?

Thanks,
Tina

Comment 9 Ganesh Hubale 2019-07-12 13:26:41 UTC
Yes Tina.

Comment 10 Tina Fitzgerald 2019-07-17 14:52:46 UTC
Hi Ganesh,

Per our meeting the other day, we have an Automate domain and service dialog that you can use to test the new functionality.

One concern was that you wouldn't be able to test right away since the 5.11 environment would not allow you enable the embedded ansible role.
My understanding is that that should work, and shouldn't require a hack. 

Billy is going to send you an email with the materials and directions(along with the BlueJeans recording) to start testing.

Please let me know if you have any questions.

Thanks,
Tina

Comment 15 errata-xmlrpc 2019-12-12 13:35:44 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/RHBA-2019:4199