Bug 1442006

Summary: Unable to create ansible playbook catalog item
Product: Red Hat CloudForms Management Engine Reporter: Dmitry Misharov <dmisharo>
Component: AutomateAssignee: Drew Bomhof <dbomhof>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: high    
Version: 5.8.0CC: dajohnso, gmccullo, hkataria, jhardy, mkanoor, mpovolny, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: All   
OS: All   
Whiteboard: ui:ansible:service
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1445894 (view as bug list) Environment:
Last Closed: 2018-03-06 15:18:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1445894    
Attachments:
Description Flags
Screenshot of the bug none

Description Dmitry Misharov 2017-04-13 09:55:06 UTC
Created attachment 1271392 [details]
Screenshot of the bug

Description of problem:
Unable to create "ansible playbook" catalog item if previously "ansible playbook" catalog item with the same existed and was deleted.

Version-Release number of selected component (if applicable):
5.8.0.10-beta1.20170411212748_e47d319 

How reproducible:
Always

Steps to Reproduce:
1. Enable Embedded Ansbile role.
2. Wait until it will be enabled.
3. Navigate to Automation/Ansible.
4. Add some repository and credential.
5. Navigate Services/Catalogs/Catalog Item.
6. Add an "ansible playbook" catalog item.
7. Delete that catalog item.
8. Create a new "ansible catalog item" with the same name.

Actual results:
"Job template already exist" appeared

Expected results:
Catalog item should be successfully created.

Comment 2 Drew Bomhof 2017-04-25 20:19:49 UTC
PR: https://github.com/ManageIQ/manageiq/pull/14830

Comment 4 Dmitry Misharov 2017-10-12 08:05:59 UTC
Verified in 5.9.0.2.20171010190026_0413a06. Ansible playbook catalog item can be created with the same name.