Description of problem: After login as admin user, when accessing the Log Viewer tab on webadmin and selecting "RHEV Manager" from the dropdown menu "Please Select the Machine" no logs are displayed and instead the following message is displayed: "Invalid credentials to view log files. Must be superuser." ==> /var/log/ovirt-engine/redhat-support-plugin-rhev.log <== INFO Tue Sep 01 09:53:22.892 CEST 2015 [7.0.0.1:8702-12] [ApiInterraction ] Querying https://gr1.rhev.lab.eng.brq.redhat.com/ovirt-engine/api/users/00000018-0018-0018-0018-0000000002fd/roles with JSESSIONID=X7THDEV1EZ+aVN+MYgRa1orj INFO Tue Sep 01 09:53:22.893 CEST 2015 [7.0.0.1:8702-12] [SessionFilter ] Adding cookies and headers JSESSIONID=X7THDEV1EZ+aVN+MYgRa1orj ERROR Tue Sep 01 09:53:22.945 CEST 2015 [7.0.0.1:8702-12] [ApiInterraction ] javax.ws.rs.ProcessingException: Unable to invoke request ERROR Tue Sep 01 09:53:22.945 CEST 2015 [7.0.0.1:8702-12] [Logs ] Invalid credentials to view log files. Must be superuser. ==> /var/log/ovirt-engine/server.log <== 2015-09-01 09:53:22,892 INFO [com.redhat.gss.redhat_access_plugin.server.api_interraction.ApiInterraction] (ajp-/127.0.0.1:8702-12) Querying https://gr1.rhev.lab.eng.brq.redhat.com/ovirt-engine/api/users/00000018-0018-0018-0018-0000000002fd/roles with JSESSIONID=X7THDEV1EZ+aVN+MYgRa1orj 2015-09-01 09:53:22,893 INFO [com.redhat.gss.redhat_access_plugin.server.filters.SessionFilter] (ajp-/127.0.0.1:8702-12) Adding cookies and headers JSESSIONID=X7THDEV1EZ+aVN+MYgRa1orj 2015-09-01 09:53:22,945 ERROR [com.redhat.gss.redhat_access_plugin.server.api_interraction.ApiInterraction] (ajp-/127.0.0.1:8702-12) javax.ws.rs.ProcessingException: Unable to invoke request 2015-09-01 09:53:22,945 ERROR [com.redhat.gss.redhat_access_plugin.server.Logs] (ajp-/127.0.0.1:8702-12) Invalid credentials to view log files. Must be superuser. Version-Release number of selected component (if applicable): rhevm-3.6.0-0.12.master.el6.noarch How reproducible: 100% Steps to Reproduce: 1. Login as admin 2. Navigate to Log Viewer tab 3. Select "RHEV Manager" from the "Please Select the Machine" dropdown Actual results: Error message is displayed and no logs are shown: "Invalid credentials to view log files. Must be superuser." Expected results: Log files are displayed correctly
Could you check if the root cause is the same as in BZ 1097762?
Working as designed. We do not allow users that are not part of the admin group to see logs.
How do you know that this is a case due? Gonza, did you use a user with admin role?
Always using admin@internal. Just realized the reverse DNS server was broken when I installed the engine and the certificate was created with a wrong CN.