Bug 1444853
Summary: | Standard output is missing in provisioned ansible playbook service | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Dmitry Misharov <dmisharo> | |
Component: | UI - OPS | Assignee: | Harpreet Kataria <hkataria> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Dmitry Misharov <dmisharo> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 5.8.0 | CC: | bilwei, cpelland, dclarizi, dmisharo, hkataria, jhardy, mpovolny, obarenbo, pakotvan, sshveta | |
Target Milestone: | GA | Keywords: | TestOnly | |
Target Release: | 5.9.0 | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ansible:service:playbook | |||
Fixed In Version: | 5.9.0.1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1446245 (view as bug list) | Environment: | ||
Last Closed: | 2018-03-06 15:15:36 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | Bug | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | CFME Core | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1446245 |
Description
Dmitry Misharov
2017-04-24 12:28:19 UTC
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. 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. |