Re: [Users] cann't login User-Portal with ipa added users

2012-05-30 Thread Oved Ourfalli
I think that there was such an error, but it was fixed.
How updated are you?
Is the working and not working scenarios happened with the same source code?

Oved


- Original Message -
> From: "T-Sinjon" 
> To: users@ovirt.org
> Sent: Wednesday, May 30, 2012 1:06:23 PM
> Subject: [Users] cann't login User-Portal with ipa added users
> 
> I use IPA, and i can do ipa user-show tsinjon etc(ipa service is
> good)
> few days ago , i could login User-Portal normally, but this time when
> i'm logging ,
> i failed and the error occurred,   engine.log and
> /var/log/jboss-as/console.log has the same logs as below:
> 
> What can i do to deal with it?
> 
> 2012-05-30 17:38:10,066 ERROR
> [org.ovirt.engine.core.bll.adbroker.GetRootDSE]
> (http--0.0.0.0-8443-5) [50355357] Failed to query rootDSE for LDAP
> server ldap://local:389 due to local:389
> 2012-05-30 17:38:15,072 ERROR
> [org.ovirt.engine.core.bll.adbroker.GSSAPIDirContextAuthenticationStrategy]
> (http--0.0.0.0-8443-5) [50355357] Error from Kerberos:
> ovirt-engine.local.
> 2012-05-30 17:38:15,073 ERROR
> [org.ovirt.engine.core.bll.adbroker.DirectorySearcher]
> (http--0.0.0.0-8443-5) [50355357] Failed ldap search server
> ldap://local:389 due to
> org.ovirt.engine.core.bll.adbroker.EngineDirectoryServiceException.
> We should not try the next server:
> org.ovirt.engine.core.bll.adbroker.EngineDirectoryServiceException
>   at
>   
> org.ovirt.engine.core.bll.adbroker.GSSAPIDirContextAuthenticationStrategy.authenticateToKDC(GSSAPIDirContextAuthenticationStrategy.java:150)
>   [engine-bll.jar:]
>   at
>   
> org.ovirt.engine.core.bll.adbroker.GSSAPIDirContextAuthenticationStrategy.explicitAuth(GSSAPIDirContextAuthenticationStrategy.java:119)
>   [engine-bll.jar:]
>   at
>   
> org.ovirt.engine.core.bll.adbroker.GSSAPIDirContextAuthenticationStrategy.authenticate(GSSAPIDirContextAuthenticationStrategy.java:111)
>   [engine-bll.jar:]
>   at
>   
> org.ovirt.engine.core.bll.adbroker.GSSAPILdapTemplateWrapper.useAuthenticationStrategy(GSSAPILdapTemplateWrapper.java:85)
>   [engine-bll.jar:]
>   at
>   
> org.ovirt.engine.core.bll.adbroker.PrepareLdapConnectionTask.call(PrepareLdapConnectionTask.java:56)
>   [engine-bll.jar:]
>   at
>   
> org.ovirt.engine.core.bll.adbroker.DirectorySearcher.find(DirectorySearcher.java:98)
>   [engine-bll.jar:]
>   at
>   
> org.ovirt.engine.core.bll.adbroker.DirectorySearcher.FindOne(DirectorySearcher.java:39)
>   [engine-bll.jar:]
>   at
>   
> org.ovirt.engine.core.bll.adbroker.LdapAuthenticateUserCommand.executeQuery(LdapAuthenticateUserCommand.java:44)
>   [engine-bll.jar:]
>   at
>   
> org.ovirt.engine.core.bll.adbroker.LdapBrokerCommandBase.Execute(LdapBrokerCommandBase.java:68)
>   [engine-bll.jar:]
>   at
>   
> org.ovirt.engine.core.bll.adbroker.LdapBrokerBase.RunAdAction(LdapBrokerBase.java:18)
>   [engine-bll.jar:]
>   at
>   
> org.ovirt.engine.core.bll.LoginUserCommand.authenticateUser(LoginUserCommand.java:30)
>   [engine-bll.jar:]
>   at
>   
> org.ovirt.engine.core.bll.LoginBaseCommand.isUserCanBeAuthenticated(LoginBaseCommand.java:174)
>   [engine-bll.jar:]
>   at
>   
> org.ovirt.engine.core.bll.LoginBaseCommand.canDoAction(LoginBaseCommand.java:143)
>   [engine-bll.jar:]
>   at
>   
> org.ovirt.engine.core.bll.CommandBase.InternalCanDoAction(CommandBase.java:486)
>   [engine-bll.jar:]
>   at
>   
> org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:261)
>   [engine-bll.jar:]
>   at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:330)
>   [engine-bll.jar:]
>   at org.ovirt.engine.core.bll.Backend.RunAction(Backend.java:288)
>   [engine-bll.jar:]
>   at sun.reflect.GeneratedMethodAccessor181.invoke(Unknown Source)
>   [:1.6.0_24]
>   at
>   
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   [:1.6.0_24]
>   at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_24]
>   at
>   
> org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)
>   [jboss-as-ee-7.1.0.Beta1b.jar:]
>   at
>   
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
>   [jboss-invocation-1.1.1.Final.jar:]
>   at
>   
> org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorCo

[Users] cann't login User-Portal with ipa added users

2012-05-30 Thread T-Sinjon
I use IPA, and i can do ipa user-show tsinjon etc(ipa service is good)
few days ago , i could login User-Portal normally, but this time when i'm 
logging ,
i failed and the error occurred,   engine.log and /var/log/jboss-as/console.log 
has the same logs as below:

What can i do to deal with it?

2012-05-30 17:38:10,066 ERROR [org.ovirt.engine.core.bll.adbroker.GetRootDSE] 
(http--0.0.0.0-8443-5) [50355357] Failed to query rootDSE for LDAP server 
ldap://local:389 due to local:389
2012-05-30 17:38:15,072 ERROR 
[org.ovirt.engine.core.bll.adbroker.GSSAPIDirContextAuthenticationStrategy] 
(http--0.0.0.0-8443-5) [50355357] Error from Kerberos: ovirt-engine.local.
2012-05-30 17:38:15,073 ERROR 
[org.ovirt.engine.core.bll.adbroker.DirectorySearcher] (http--0.0.0.0-8443-5) 
[50355357] Failed ldap search server ldap://local:389 due to 
org.ovirt.engine.core.bll.adbroker.EngineDirectoryServiceException. We should 
not try the next server: 
org.ovirt.engine.core.bll.adbroker.EngineDirectoryServiceException
at 
org.ovirt.engine.core.bll.adbroker.GSSAPIDirContextAuthenticationStrategy.authenticateToKDC(GSSAPIDirContextAuthenticationStrategy.java:150)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.adbroker.GSSAPIDirContextAuthenticationStrategy.explicitAuth(GSSAPIDirContextAuthenticationStrategy.java:119)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.adbroker.GSSAPIDirContextAuthenticationStrategy.authenticate(GSSAPIDirContextAuthenticationStrategy.java:111)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.adbroker.GSSAPILdapTemplateWrapper.useAuthenticationStrategy(GSSAPILdapTemplateWrapper.java:85)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.adbroker.PrepareLdapConnectionTask.call(PrepareLdapConnectionTask.java:56)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.adbroker.DirectorySearcher.find(DirectorySearcher.java:98)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.adbroker.DirectorySearcher.FindOne(DirectorySearcher.java:39)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.adbroker.LdapAuthenticateUserCommand.executeQuery(LdapAuthenticateUserCommand.java:44)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.adbroker.LdapBrokerCommandBase.Execute(LdapBrokerCommandBase.java:68)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.adbroker.LdapBrokerBase.RunAdAction(LdapBrokerBase.java:18)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.LoginUserCommand.authenticateUser(LoginUserCommand.java:30)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.LoginBaseCommand.isUserCanBeAuthenticated(LoginBaseCommand.java:174)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.LoginBaseCommand.canDoAction(LoginBaseCommand.java:143)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.InternalCanDoAction(CommandBase.java:486) 
[engine-bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:261) 
[engine-bll.jar:]
at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:330) 
[engine-bll.jar:]
at org.ovirt.engine.core.bll.Backend.RunAction(Backend.java:288) 
[engine-bll.jar:]
at sun.reflect.GeneratedMethodAccessor181.invoke(Unknown Source) 
[:1.6.0_24]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [:1.6.0_24]
at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_24]
at 
org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)
 [jboss-as-ee-7.1.0.Beta1b.jar:]
at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) 
[jboss-invocation-1.1.1.Final.jar:]
at 
org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)
 [jboss-invocation-1.1.1.Final.jar:]
at 
org.ovirt.engine.core.utils.ThreadLocalSessionCleanerInterceptor.injectWebContextToThreadLocal(ThreadLocalSessionCleanerInterceptor.java:11)
 [engine-utils.jar:]
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) 
[:1.6.0_24]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [:1.6.0_24]
at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_24]
at 
org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123)
 [jboss-as-ee-7.1.0.Beta1b.jar:]
at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) 
[jboss-invocation-1.1.1.Final.jar:]
at 
org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
 [jboss-invocation-1.1.1.Final.jar:]
at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) 
[jboss-invocation-1.1.1.Final.jar