Bug 1590761

Summary: active ansible services are not displaying details on selection
Product: Red Hat CloudForms Management Engine Reporter: Felix Dewaleyne <fdewaley>
Component: UI - OPSAssignee: Hilda Stastna <hstastna>
Status: CLOSED ERRATA QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: low Docs Contact:
Priority: high    
Version: 5.8.0CC: cpelland, dmetzger, fdewaley, hkataria, lavenel, mpovolny, nansari, obarenbo, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.5   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.8.5.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-26 18:36:30 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: 1572700    

Description Felix Dewaleyne 2018-06-13 11:13:05 UTC
Description of problem:
active ansible services are not displaying details on selection

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

How reproducible:
all the time

Steps to Reproduce:
1. go to services > my services
2. select a puppet service
3.

Actual results:
no data is loaded

Expected results:
able to see the details of the service 

Additional info:
reproducer from customer database available

Comment 8 CFME Bot 2018-08-14 14:23:04 UTC
New commit detected on ManageIQ/manageiq-ui-classic/fine:

https://github.com/ManageIQ/manageiq-ui-classic/commit/e7b41e9474633571ad6dd757617f4fbcd565f0e7
commit e7b41e9474633571ad6dd757617f4fbcd565f0e7
Author:     Hilda Stastna <hstastna>
AuthorDate: Fri Jun 15 08:46:30 2018 -0400
Commit:     Hilda Stastna <hstastna>
CommitDate: Fri Jun 15 08:46:30 2018 -0400

    Call new raw_stdout in haml to fix displaying Child Services

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1590761

    Call the new raw_stdout method in haml to fix displaying Child Services
    especially if Embedded Ansible role is not active.
    Define provision_job and retirement_job to make the code more readable.

 app/views/service/_svcs_show.html.haml | 13 +-
 1 file changed, 7 insertions(+), 6 deletions(-)

Comment 9 Niyaz Akhtar Ansari 2018-09-11 14:08:51 UTC
Hi @Felix, I tried this with,
 
1. creating parent service with VMware type
2. creating child service with Ansible Playbook type
3. assigning child service to parent via rail console
but it is not getting added, do you mean to create services from rail console? 

I also had discussion with @Hilda but I am not so clear on usecase you have mentioned here. Can you provide us proper steps to reproduction?

Thanks in advanced!

Comment 10 Niyaz Akhtar Ansari 2018-09-11 15:35:59 UTC
Fixed in  Version 5.8.5.0.20180821175127_9cfc0ea.
I tried with restoring db from reproducer env, it works well! 

Thank you!

Comment 12 errata-xmlrpc 2018-09-26 18:36:30 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-2018:2745