Bug 1466656 - Ordered ansible playbook service is not added to active services
Summary: Ordered ansible playbook service is not added to active services
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.8.0
Hardware: All
OS: All
unspecified
high
Target Milestone: GA
: cfme-future
Assignee: Greg McCullough
QA Contact: Dmitry Misharov
URL:
Whiteboard: ansible:service
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-30 07:36 UTC by Dmitry Misharov
Modified: 2017-07-27 14:14 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-30 14:32:34 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dmitry Misharov 2017-06-30 07:36:36 UTC
Description of problem:
There is no any active services when Ansible Playbook catalog item was ordered via custom button despite of it finished successfully.

Version-Release number of selected component (if applicable):
5.8.1.0.20170623170756_3ed4411

How reproducible:
Always

Steps to Reproduce:
1. Enable Embedded Ansible role.
2. Wait until it will be enabled.
3. Add some repository with ansible playbook.
4. Add some ansible credentials.
5. Navigate to Services/Catalogs/Catalog Items.
6. Create ansible catalog item.
7. Navigate to Automation/Automate/Customization/Buttons.
8. Create a "VM and Instance" Custom Button pointing to an Ansible Playbook Service Dialog.
9. In the Object Details Section set the System/Process/Request set request to "Order_Ansible_Playbook".
10. In the Attribute/Value Pairs section for the button set the "service_template_name" to Catalog Item name which was created in step 6. For the "hosts" set "vmdb_object".
11. Navigate to some VM and press the button.
12. In the service dialog pick credential for that VM.
13. Wait until request status will be finished successfully.
14. Navigate to Services/My services

Actual results:
Active services screen is empty. There is no the ordered service.

Expected results:
The ordered service should appear in active services.

Comment 3 Greg McCullough 2017-06-30 13:16:46 UTC
The display value is tied to the "Display in Catalog" option of the Catalog Item.  For this service the "Display in Catalog" setting is off so the display property for the service will also be false.

Please retest with the flag to true on the catalog item.


Note You need to log in before you can comment on or make changes to this bug.