Hide Forgot
Created attachment 571697 [details] logs Description of problem: I tried adding an expiration date to the engine user in db. first, unless jboss is restarted after the expiration date has passed we do not enforce the expiration. second, once jboss is restarted after the expiration date we get a general error in engine log: Error retreiving database metadata and when we try to log in we get jboss exception in webadmin (see below) Version-Release number of selected component (if applicable): ovirt-engine-backend-3.0.0_0001-3.git4364f1b.fc16.x86_64 How reproducible: 100% Steps to Reproduce: 1. add expiration date to engine user in db 2. try to add vm after expiration date 3. restart jboss Actual results: we get an unclear error in backend and webadmin shows exception Expected results: we should have a proper error message Additional info: full logs and guiwebadmin dump type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception java.lang.IllegalStateException: JBAS011048: Failed to construct component instance org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:157) org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:79) org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:138) org.jboss.as.ejb3.component.singleton.SingletonComponentInstanceAssociationInterceptor.processInvocation(SingletonComponentInstanceAssociationInterceptor.java:48) org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:221) org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:367) org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:205) org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:44) org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:55) org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173) org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72) org.ovirt.engine.core.common.interfaces.BackendLocal$$$view11.RunQuery(Unknown Source) org.ovirt.engine.ui.frontend.server.gwt.GwtDynamicHostPageServlet.getLoggedInUser(GwtDynamicHostPageServlet.java:94) org.ovirt.engine.ui.frontend.server.gwt.GwtDynamicHostPageServlet.writeAdditionalJsData(GwtDynamicHostPageServlet.java:68) org.ovirt.engine.ui.frontend.server.gwt.GwtDynamicHostPageServlet.doGet(GwtDynamicHostPageServlet.java:53) javax.servlet.http.HttpServlet.service(HttpServlet.java:734) javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
we also have the same issue when changing the usre's password through the db.
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.