Created attachment 938616 [details] Authentication popup Description of problem: Plugin prompt admin for password Version-Release number of selected component (if applicable): 3.5 How reproducible: Steps to Reproduce: 1. Install plugin following instructions on http://www.ovirt.org/Features/Nagios_Integration#HOW_TO 2. Refresh webadmin 3. Click on trends tab Actual results: User is prompted for authentication Expected results: User should be automatically authenticated Additional info:
SSO to be setup between ovirt-engine and nagios to address this.
"Auth required" screenshot mentions "ENGINE" so I assume this is related to UI plugin attempting to request Engine REST API. I've discussed a similar issue with Ramesh (Gluster monitoring via Nagios UI plugin). Very likely, the problem is that UI plugin requests: /api/xxx instead of: /ovirt-engine/api/xxx Upon WebAdmin login, UI plugin infra acquires REST API session (represented by JSESSIONID cookie) for /ovirt-engine/api, so UI plugins must make sure to use /ovirt-engine/api in order for that cookie to be sent along request. Long story short, maintainer of this UI plugin should ensure that requests are using /ovirt-engine/api prefix. If the problem persists, please post browser network monitor logs for given request (auth popup is consequence of HTTP 401 request).
This issue is because of using wrong api as in previous comment by vszocs. We should change the url to /ovirt-engine/api.
As discussed with Ramesh, please also ensure that any request to REST backend includes "Prefer: persistent-auth" header, so that the shared REST session isn't closed and therefore other plugins/infra won't break.
moving old bug fixed before ovirt alpha release as fixed in current beta2, 3.6.0-9.
closing this bug as it is fixed. Please reopen if you see this issue