Bug 1438594

Summary: Playbooks are not deleted if ansible inventory deleted
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: James Wong <jwong>
Status: CLOSED ERRATA QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: high    
Version: 5.8.0CC: akarol, gblomqui, hkataria, jfrey, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.8.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.8.0.10 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1437108 Environment:
Last Closed: 2017-05-31 14:46:04 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: 1437108    
Bug Blocks:    

Comment 2 CFME Bot 2017-04-03 21:41:08 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/6b6fc31328020bf0182ece02a5708dbf7b6b9a6c

commit 6b6fc31328020bf0182ece02a5708dbf7b6b9a6c
Author:     Brandon Dunne <brandondunne>
AuthorDate: Mon Apr 3 14:45:44 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Mon Apr 3 17:33:32 2017 -0400

    Merge pull request #14567 from jameswnl/nullify-dependents
    
    Nullify dependents when destroying configuration_script_sources/configuration_scripts
    (cherry picked from commit 2875c6caf47fae1fce9467e5191862ebc59188b3)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1438594

 app/models/configuration_script_base.rb   | 5 ++++-
 app/models/configuration_script_source.rb | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

Comment 3 James Wong 2017-04-07 22:48:55 UTC
https://github.com/ManageIQ/manageiq/pull/14567 is merged

Comment 4 Dmitry Misharov 2017-05-02 09:08:46 UTC
Verified in 5.8.0.12-rc1.20170425180304_4f35996. Playbooks are deleted when a repository is deleted.

Comment 6 errata-xmlrpc 2017-05-31 14:46:04 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