Description of problem: There is no standard output box for provisioned service with a certain playbook. Version-Release number of selected component (if applicable): 5.8.0.11-beta2.20170418170914_a53d2a7 How reproducible: Always Steps to Reproduce: 1. Enable Embedded Ansible Role. 2. Add Ansible repository with this playbook https://github.com/patchkez/ansible_playbooks/blob/master/dump_all_variables.yml 3. Create a Catalog Item with that playbook. 4. Provision a Service from the Catalog Item 5. Navigate to Service/My services. Open provision tab for just provisioned service. Actual results: There is no standard output. Expected results: Standard output of the provision process should be presented. Additional info: /var/lib/awx/job_status directory contains ansible job status which should be shown in the UI, but it's not.
Shveta, are you seeing the same thing here? There was some notion that this is or was working, just want to get a second pair of eyes to confirm. Thx
When I used https://github.com/patchkez/ansible_playbooks/blob/master/copy_file_example.yml the std output was printed . So the issue is not std output . The playbooks differ in someway .
Harpreet, back to you.
https://github.com/ManageIQ/manageiq-ui-classic/pull/1167
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/9e0cffad1f5a4215e2cb971a064baf188e8dcd8d commit 9e0cffad1f5a4215e2cb971a064baf188e8dcd8d Author: Harpreet Kataria <hkataria> AuthorDate: Wed Apr 26 13:01:47 2017 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Wed Apr 26 13:01:47 2017 -0400 Removed decodeURI call. decodeURI was causing an issue rendering html on screen when '%' character is present in html output. Removed decodeURI call as html is getting rendered correctly. https://bugzilla.redhat.com/show_bug.cgi?id=1444853 app/assets/javascripts/controllers/sanitize_and_render_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/c2766036f3f8ebd6ae227fbe9e9fb564ebf9532d commit c2766036f3f8ebd6ae227fbe9e9fb564ebf9532d Author: Harpreet Kataria <hkataria> AuthorDate: Wed May 17 09:17:52 2017 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Wed May 17 16:13:48 2017 -0400 Need to gsub occurrences of {{ }} in the output Moved gsub logic into a helper method. Having ", ', {{, }} characters in the output was causing an issue while rendering html using ngSanitize directive, needed to escape these characters to get the output to be displayed correctly on screen. Have to gsub " on the first line and then gsub for rest of the characters in a one liner works fine. https://bugzilla.redhat.com/show_bug.cgi?id=1451352 https://bugzilla.redhat.com/show_bug.cgi?id=1444853 app/controllers/service_controller.rb | 13 +++++++++++++ app/views/service/_svcs_show.html.haml | 6 ++---- spec/controllers/service_controller_spec.rb | 7 +++++++ 3 files changed, 22 insertions(+), 4 deletions(-)
Verification blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1506796
In 5.9.0.5.20171102023815_209f732 standard output is still missing.
Verified in 5.9.0.9.20171115202245_7429f75. Standard output is shown correctly.