Le 28/09/2016 à 20:47, Yaniv Kaul a écrit :

Apart that, by connecting into the engine VM, I saw that the engine process was running, so I tried to access the web GUI, by running an SSH connection to the bare-metal host :
ssh -L 8443:192.168.200.4:443 root@serv-hv-dev01.sdis.isere.fr


Accessing https://localhost:8443/ is working, but when trying to access the login screen, I'm left with :
"The client is not authorized to request an authorization. It's required to access the system using FQDN."

Add to your /etc/hosts
192.168.200.4 engine

And connect to https://engine

Yaniv,

root@serv-hv-dev01:/etc# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.200.4    engine lago-basic-suite-4-0-engine.lago.local

And of course, I adapted the "ssh -L" connection according to it :
ssh -L 8443:engine:443 root@serv-hv-dev01
or
ssh -L 8443:lago-basic-suite-4-0-engine.lago.local:443 root@serv-hv-dev01

In the engine's /var/log/ovirt-engine/engine.log, I clearly see the exception raised with the same error message :

2016-09-28 16:00:58,922 DEBUG [org.ovirt.engine.core.sso.utils.SsoUtils] (default task-29) [] Parameter app_url not found request, using default value
2016-09-28 16:00:58,923 ERROR [org.ovirt.engine.core.sso.utils.SsoUtils] (default task-29) [] The client is not authorized to request an authorization. It's required to access the system using FQDN.
2016-09-28 16:00:58,923 DEBUG [org.ovirt.engine.core.sso.utils.SsoUtils] (default task-29) [] Exception: org.ovirt.engine.core.sso.utils.OAuthException: The client is not authorized to request an authorization. It's required to access the system using FQDN.
        at org.ovirt.engine.core.sso.utils.SsoUtils.validateClientRequest(SsoUtils.java:460) [enginesso.jar:]
        at org.ovirt.engine.core.sso.servlets.OAuthAuthorizeServlet.service(OAuthAuthorizeServlet.java:51) [enginesso.jar:]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
        at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
and so on...

--
Nicolas ECARNOT