Bug 1836125
| Summary: | User not able to view Ansible Service task output after upgrade to 5.0 | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | mheppler |
| Component: | Automate | Assignee: | Yuri Rudman <yrudman> |
| Status: | CLOSED ERRATA | QA Contact: | Devidas Gaikwad <dgaikwad> |
| Severity: | high | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> |
| Priority: | high | ||
| Version: | 5.11.0 | CC: | dmetzger, mshriver, obarenbo, sigbjorn.lie, simaishi, tfitzger, wfitzger |
| Target Milestone: | GA | Keywords: | ZStream |
| Target Release: | 5.11.7 | Flags: | simaishi:
cfme-5.11.z+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 5.11.7.0 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-08-06 14:32:54 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: | |||
|
Description
mheppler
2020-05-15 08:46:01 UTC
Hi Michal, Customer states in comment 5 that the problem persists after the roles were updated. Can you ask them to supply the logs showing the failure? Thanks, Tina New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/a79a0ee1b015944152d340bb24bd886c7eb78ba2 commit a79a0ee1b015944152d340bb24bd886c7eb78ba2 Author: Yuri Rudman <yrudman> AuthorDate: Mon Jun 1 14:45:25 2020 +0000 Commit: Yuri Rudman <yrudman> CommitDate: Mon Jun 1 14:45:25 2020 +0000 MiqTask to get stdout for Ansible should be owned by user who is requesting view. otherwise task created under 'syste' accout and not avalable for not admin user Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1836125 app/views/service/_svcs_show.html.haml | 6 +- 1 file changed, 3 insertions(+), 3 deletions(-) It is bug: owner of MiqTask created to grab stdout from Ansible playbook should be current user and not system account; above PR should fix it. New commit detected on ManageIQ/manageiq-ui-classic/ivanchuk: https://github.com/ManageIQ/manageiq-ui-classic/commit/3caf2323f7cd76b88fbc5815dfb88962127804c9 commit 3caf2323f7cd76b88fbc5815dfb88962127804c9 Author: Milan Zázrivec <mzazrivec> AuthorDate: Tue Jun 2 09:43:33 2020 +0000 Commit: Satoe Imaishi <simaishi> CommitDate: Thu Jun 18 20:03:48 2020 +0000 Merge pull request #7093 from yrudman/pass-user-when-strting-task-to-get-ansible-stdout MiqTask to get stdout for Ansible should be owned by user who requested view (cherry picked from commit 498f55f4e88f8f6dec1cc61a39236ad36c3ddbd9) https://bugzilla.redhat.com/show_bug.cgi?id=1836125 app/views/service/_svcs_show.html.haml | 6 +- 1 file changed, 3 insertions(+), 3 deletions(-) Verified BZ with Build: 5.11.7.0.20200714215453_0da8a4a Able to see standard output without any issue. I have done below steps to verify BZ: - login appliance to main UI user admin - create one ansible playbook - create role from self_service with restriction="Only User or Group Owned" - create group using recently created role - create user - create ansible playbook service catalog item - set ownership - create service catalog - log in SSUI using newly created user - add service to shopping card - order service - log in main UI using newly created user - navigate Services->My Servcies>Service> - Under "Active catalog" click on ordered service - click on Provisoning tab - able to see standard output without any error 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 (Critical: CloudForms 5.0.7 bug fix and enhancement update), 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-2020:3358 |