Bug 1437496

Summary: Extra vars is not shown in Retirement tab of "Ansible Playbook" catalog item
Product: Red Hat CloudForms Management Engine Reporter: Dmitry Misharov <dmisharo>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: high    
Version: 5.8.0CC: hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: All   
OS: All   
Whiteboard: ansible:service:ui
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1438825 (view as bug list) Environment:
Last Closed: 2018-03-06 15:36:18 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: 1438825    

Description Dmitry Misharov 2017-03-30 12:10:03 UTC
Description of problem:
Extra vars is not shown in Retirement tab of "Ansible Playbook" catalog item, but they are shown in editing screen.

Version-Release number of selected component (if applicable):
5.8.0.8-alpha1.20170328221054_e6ca7a2 

How reproducible:
Always

Steps to Reproduce:
1. Enable Embedded Ansible role.
2. Wait until it will be enabled.
3. Add some ansible repository in Automation/Ansible/Repositories with a playbook which will dump extra vars on the host.
4. Add some ansible credential in Automation/Ansible/Credentials.
5. Navigate to Services/Catalogs/Catalog Items.
6. Create "Ansible Playbook" catalog item with "Provision" and "Retirement" tabs filled, add some extra vars.
7. Open the catalog item detail screen, click on Retirement tab.

Actual results:
Extra vars field is empty.

Expected results:
Retirement tab should contain extra vars.

Comment 3 CFME Bot 2017-04-03 22:03:18 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/0ac57916caba47f8d2d1be89a94db63099f60ae5

commit 0ac57916caba47f8d2d1be89a94db63099f60ae5
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Mar 31 16:52:26 2017 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Mon Apr 3 17:01:13 2017 -0400

    Fixed variable name to display value of extra_vars on Retirement tab
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1437496

 app/views/catalog/_sandt_tree_show.html.haml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 5 Dmitry Misharov 2017-10-12 07:44:50 UTC
Verified in 5.9.0.2.20171010190026_0413a06. "Variables & Default Values" field in the retirement tab shows the correct values.