Created attachment 1145831 [details] engine logs Description of problem: [oVirt UI] - IP to FQDN redirection isn't working properly and UI isn't accessible when trying to enter first with IP. If trying to access the oVirt UI 4.0 using IP, it's redirecting to the FQDN, but after that it is just not possible to enter the UI. Only when i will enter the full FQDN in the browser i will able to log in the UI. Version-Release number of selected component (if applicable): 4.0.0-0.0.master.20160404161620.git4ffd5a4.el7.centos How reproducible: 100 Steps to Reproduce: 1. Try to enter the oVirt UI 4.0 using IP Actual results: Redirection to the FQDN just not working and we need to enter the FQDN in the browser if we want to log in the UI. Expected results: IP to FQDN should work properly. If i'm entering an IP in the browser it should redirect me to the FQDN and i should be able to log in to the UI.
Not sure it is an interesting use-case. However, might be annoying to some. Ravi - thoughts?
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.
Well, everyone should be using only FQDN to access the engine and of course redirect URL validation is part of OAUTH spec. That's why we made this error message more understandable in https://gerrit.ovirt.org/54741 and only FQDN can be used to access engine.
But isn't the redirection of the IP to the FQDN should work as well?
Here's current flow after SSO introduction (Ravi please correct me if I miss anything): 1. You are accessing engine using IP address 2. You request is not authenticated, so you are redirected to SSO module using engine FQDN and login dialog is displayed 3. After you enter username and password, user authentication is executed 4. After user is authenticated successfully, client redirect URL is validated and here validation fails, because SSO module allows as a client service only FQDN of engine and not its IP address
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.
oVirt 4.0 beta has been released, moving to RC milestone.
Retargeting not for 4.1, as we won't be able to finish that befor oVirt 4.0.0 GA. When merged to master, we can reconsider backporting to 4.0.z
Verified in rhevm-4.0.4.1-0.1.el7ev.noarch
*** Bug 1431262 has been marked as a duplicate of this bug. ***