Bug 1481445

Summary: Ansible Automation: missing group id in manageiq payload
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: Lucy Fu <lufu>
Status: CLOSED ERRATA QA Contact: Dmitry Misharov <dmisharo>
Severity: high Docs Contact:
Priority: medium    
Version: 5.8.0CC: dmisharo, gmccullo, jhardy, jmarc, kmorey, ldomb, mkanoor, nstephan, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.2   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.8.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1480019 Environment:
Last Closed: 2017-10-24 00:39:41 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: 1480019    
Bug Blocks:    

Comment 2 CFME Bot 2017-08-14 21:51:19 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/a6b6f14d4fdd6a4e7ca322f7022bd06a9a3c162a

commit a6b6f14d4fdd6a4e7ca322f7022bd06a9a3c162a
Author:     Greg McCullough <gmccullo>
AuthorDate: Thu Aug 10 22:29:55 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Mon Aug 14 17:45:10 2017 -0400

    Merge pull request #15787 from lfu/ansible_manageiq_payload_group_1480019
    
    Add group in manageiq payload for ansible automation.
    (cherry picked from commit 61474a76d7561f78d686a27a78f89ade1c9bfe23)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1481445

 app/models/service_ansible_playbook.rb       | 1 +
 spec/models/service_ansible_playbook_spec.rb | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

Comment 3 Dmitry Misharov 2017-08-28 07:58:12 UTC
Fixed and verified in 5.8.2.0.20170824192913_b09a5f8. Group id is presented in manage iq payload. Example of payload:
{"manageiq": {
    "group": "groups/21",
    "api_url": "https://192.168.100.122",
    "service": "services/1",
    "user": "users/2",
    "api_token": "some_token",
    "action": "Provision"
}}

Comment 5 errata-xmlrpc 2017-10-24 00:39:41 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-2017:3005