Bug 1474840

Summary: Embedded ansible services do not stop when role is removed
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ApplianceAssignee: Joe Rafaniello <jrafanie>
Status: CLOSED CURRENTRELEASE QA Contact: luke couzens <lcouzens>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.8.0CC: abellott, cpelland, dmisharo, jhardy, jrafanie, lcouzens, obarenbo
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ansible_embed:black
Fixed In Version: 5.8.1.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1474508 Environment:
Last Closed: 2017-08-24 16:51: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: 1474508    
Bug Blocks:    

Comment 2 CFME Bot 2017-07-25 13:51:08 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/3ccb6e48fef2c53d6934111b39c0ddd21333e019

commit 3ccb6e48fef2c53d6934111b39c0ddd21333e019
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Mon Jul 24 17:46:29 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Jul 25 09:40:36 2017 -0400

    Merge pull request #15643 from jrafanie/allow_ansible_to_gracefully_stop
    
    Let ansible worker gracefully stop
    (cherry picked from commit 3eeabd587904fce3cbb3f4fbcb5ac08b4584d36d)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1474840

 app/models/embedded_ansible_worker.rb       |  6 ++---
 spec/models/embedded_ansible_worker_spec.rb | 40 ++++++++++++++---------------
 2 files changed, 22 insertions(+), 24 deletions(-)

Comment 5 luke couzens 2017-07-25 21:53:15 UTC
Verified in 5.8.1.5