[ovirt-users] ovirtvm-console : Failed to execute login on behalf - for user

Nathanaël Blanchet blanchet at abes.fr
Thu Mar 30 10:29:06 UTC 2017



Le 29/03/2017 à 18:36, Ravi Nori a écrit :
> Did you restart ovirt-engine after editing ovirt-engine.xml.in 
> <http://engine.xml.in>? the logs you send me don't contain debug entries
sorry, I forgot indeed, here is the debug log.
Thank you.
>
> On Wed, Mar 29, 2017 at 12:21 PM, Nathanaël Blanchet <blanchet at abes.fr 
> <mailto:blanchet at abes.fr>> wrote:
>
>     thank you
>
>     [7a9694e5] Running command: LoginOnBehalfCommand internal: true.
>     2017-03-29 18:13:53,155+02 ERROR
>     [org.ovirt.engine.core.sso.utils.SsoUtils] (default task-53) []
>     OAuthException server_error: java.text.ParseException: Invalid
>     character ' ' encountered.
>     2017-03-29 18:13:53,156+02 ERROR
>     [org.ovirt.engine.core.bll.aaa.LoginOnBehalfCommand] (default
>     task-45) [7a9694e5] Unable to create engine session:
>     EngineException:  user sblanchet at levant.abes.fr
>     <mailto:sblanchet at levant.abes.fr> in domain 'abes.fr-authz (Failed
>     with error PRINCIPAL_NOT_FOUND and code 5200)
>     2017-03-29 18:13:53,168+02 ERROR
>     [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
>     (default task-45) [7a9694e5] EVENT_ID:
>     USER_LOGIN_ON_BEHALF_FAILED(1,402), Correlation ID: 7a9694e5, Call
>     Stack: null, Custom Event ID: -1, Message: Failed to execute login
>     on behalf - for user sblanchet at levant.abes.fr
>     <mailto:sblanchet at levant.abes.fr>.
>     2017-03-29 18:13:53,169+02 ERROR
>     [org.ovirt.engine.core.services.VMConsoleProxyServlet] (default
>     task-45) [7a9694e5] Error processing request: :
>     java.lang.RuntimeException: Unable to create session using
>     LoginOnBehalf
>
>         at
>     org.ovirt.engine.core.services.VMConsoleProxyServlet.availableConsoles(VMConsoleProxyServlet.java:102)
>     [services.jar:]
>         at
>     org.ovirt.engine.core.services.VMConsoleProxyServlet.produceContentFromParameters(VMConsoleProxyServlet.java:177)
>     [services.jar:]
>         at
>     org.ovirt.engine.core.services.VMConsoleProxyServlet.doPost(VMConsoleProxyServlet.java:213)
>     [services.jar:]
>         at
>     javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>     [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
>         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]
>         at org.ovirt.engine.core.utils.se
>     <http://org.ovirt.engine.core.utils.se>rvlet.LocaleFilter.doFilter(LocaleFilter.java:66)
>     [utils.jar:]
>         at
>     io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
>         at io.undertow.server.handlers.Pr
>     <http://io.undertow.server.handlers.Pr>edicateHandler.handleRequest(PredicateHandler.java:43)
>     [undertow-core-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at io.undertow.server.handlers.Pr
>     <http://io.undertow.server.handlers.Pr>edicateHandler.handleRequest(PredicateHandler.java:43)
>     [undertow-core-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
>     [undertow-core-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
>     [undertow-core-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
>     [undertow-core-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
>     [undertow-core-1.4.0.Final.jar:1.4.0.Final]
>         at io.undertow.server.handlers.Pr
>     <http://io.undertow.server.handlers.Pr>edicateHandler.handleRequest(PredicateHandler.java:43)
>     [undertow-core-1.4.0.Final.jar:1.4.0.Final]
>         at
>     org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
>         at io.undertow.server.handlers.Pr
>     <http://io.undertow.server.handlers.Pr>edicateHandler.handleRequest(PredicateHandler.java:43)
>     [undertow-core-1.4.0.Final.jar:1.4.0.Final]
>         at io.undertow.server.handlers.Pr
>     <http://io.undertow.server.handlers.Pr>edicateHandler.handleRequest(PredicateHandler.java:43)
>     [undertow-core-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
>     [undertow-servlet-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
>     [undertow-core-1.4.0.Final.jar:1.4.0.Final]
>         at
>     io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805)
>     [undertow-core-1.4.0.Final.jar:1.4.0.Final]
>         at
>     java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>     [rt.jar:1.8.0_121]
>         at
>     java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>     [rt.jar:1.8.0_121]
>         at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_121]
>
>
>     Le 29/03/2017 à 17:24, Ravi Nori a écrit :
>
>                <logger category="org.ovirt.engine.core.sso">
>                 <level name="DEBUG"/>
>               </logger>
>
>
>     -- 
>     Nathanaël Blanchet
>
>     Supervision réseau
>     Pôle Infrastrutures Informatiques
>     227 avenue Professeur-Jean-Louis-Viala
>     34193 MONTPELLIER CEDEX 5
>     Tél. 33 (0)4 67 54 84 55
>     Fax  33 (0)4 67 54 84 14
>     blanchet at abes.fr <mailto:blanchet at abes.fr>
>
>

-- 
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5 	
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanchet at abes.fr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170330/36f9774b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug_aaa.log
Type: text/x-log
Size: 23908 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170330/36f9774b/attachment-0001.bin>


More information about the Users mailing list