Bug 1440323

Summary: Failed Ansible Playbook provision doesn't update status, started and completed fields.
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: Bill Wei <bilwei>
Status: CLOSED ERRATA QA Contact: Dmitry Misharov <dmisharo>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: jhardy, mkanoor, obarenbo, tfitzger
Target Milestone: GA   
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.8.0.10 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1439667 Environment:
Last Closed: 2017-05-31 14:50:37 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: 1439667    
Bug Blocks:    

Comment 2 CFME Bot 2017-04-07 22:21:26 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/24448046b13741f0200c89a3c80c25eb40c6a230

commit 24448046b13741f0200c89a3c80c25eb40c6a230
Author:     Brandon Dunne <brandondunne>
AuthorDate: Fri Apr 7 12:01:12 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri Apr 7 18:20:07 2017 -0400

    Merge pull request #14684 from bzwei/ensure_refresh
    
    Ensure job is refreshed in the condition of state machine exits on error
    (cherry picked from commit 3579c5110319dfeada4c4604e962b806ad31ae79)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1440323

 app/models/service_ansible_playbook.rb       | 10 +++++-----
 spec/models/service_ansible_playbook_spec.rb | 29 ++++++++++++++++++++++++----
 2 files changed, 30 insertions(+), 9 deletions(-)

Comment 3 Dmitry Misharov 2017-04-19 07:05:09 UTC
Verified in 5.8.0.10-beta1-nightly.20170414034628_b979a0b. Status, started and finished fields are updated.

Comment 5 errata-xmlrpc 2017-05-31 14:50:37 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:1367