Bug 1437108

Summary: Playbooks are not deleted if ansible inventory deleted
Product: Red Hat CloudForms Management Engine Reporter: Dmitry Misharov <dmisharo>
Component: ProvidersAssignee: James Wong <jwong>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: high    
Version: 5.8.0CC: gblomqui, hkataria, jfrey, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: All   
OS: All   
Whiteboard: ansible:automate
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1438594 (view as bug list) Environment:
Last Closed: 2018-03-06 15:41:06 UTC Type: Bug
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:    
Bug Blocks: 1438594    

Description Dmitry Misharov 2017-03-29 13:57:17 UTC
Description of problem:
Playbooks from deleted repositories still can be found in the playbooks list.

Version-Release number of selected component (if applicable):
5.8.0.7-nightly.20170328151956_0fcdb72

How reproducible:
Always

Steps to Reproduce:
1. Navigate to Automation/Ansible/Repositories.
2. Add some repositories with ansible playbooks.
3. Delete that repositories.
4. Navigate to Automation/Ansible/Credentials.

Actual results:
There are playbooks from deleted repositories.

Expected results:
Playbooks should be removed after repository deleting.

Comment 2 James Wong 2017-04-03 19:03:01 UTC
https://github.com/ManageIQ/manageiq/pull/14567 is the fix and is merged.

Comment 4 Dmitry Misharov 2017-10-11 07:41:25 UTC
Fixed and verified in 5.9.0.1.20171004215954_13427ce. Appropriate playbooks are successfully deleted if a repository is deleted.