[lago-devel] Lago - Installation help needed

Yedidyah Bar David didi at redhat.com
Thu Sep 29 06:36:13 UTC 2016


On Wed, Sep 28, 2016 at 11:07 PM, Nicolas Ecarnot <nicolas at ecarnot.net> wrote:
> 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 at 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,
>
>  If you mean : "Change the /etc/hosts of the bare-metal server which is
> running Lago", I already tried that :
>
> root at 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 at serv-hv-dev01
> or
> ssh -L 8443:lago-basic-suite-4-0-engine.lago.local:443 root at serv-hv-dev01
>
> If you mean to change the /etc/hosts of the computer I'm initiating the ssh
> connection from, it does not seem relevant as it can not reach the internal
> 192.168.200/24 virtual subnet.

You can do something like this:

Add to your client's /etc/hosts:

127.0.3.1 engine

And then:

ssh -L engine:8443:lago-basic-suite-4-0-engine.lago.local:443 root at serv-hv-dev01

See also:

https://bugzilla.redhat.com/show_bug.cgi?id=1325746

I am not aware of lago support for this, patches are likely welcome :-)

Best,

>
> That's enough HTML email formating for me this year
>
> 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



-- 
Didi



More information about the lago-devel mailing list