Hi,

this is a different issue, here's the fix for that: https://gerrit.ovirt.org/81763

Martin


On Thu, Sep 14, 2017 at 5:09 PM, Maor Lipchuk <mlipchuk@redhat.com> wrote:
Thanks Martin,

I tried to apply the patch but now get a different error [1], I will
try to rebuild my env again and update if that still happens

[1]
2017-09-14 18:07:53,175+03 ERROR [org.jboss.msc.service.fail]
(ServerService Thread Pool -- 53) MSC000001: Failed to start service
jboss.deployment.subunit."engine.ear"."bll.jar".component.B
ackend.START: org.jboss.msc.service.StartException in service
jboss.deployment.subunit."engine.ear"."bll.jar".component.Backend.START:
java.lang.IllegalStateException: WFLYEE0042: Failed to
construct component instance
        at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:57)
[wildfly-ee-10.1.0.Final.jar:10.1.0.Final]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[rt.jar:1.8.0_121]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[rt.jar:1.8.0_121]
        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]
        at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to
construct component instance
        at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:163)
[wildfly-ee-10.1.0.Final.jar:10.1.0.Final]
        at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:134)
[wildfly-ee-10.1.0.Final.jar:10.1.0.Final]
        at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:88)
[wildfly-ee-10.1.0.Final.jar:10.1.0.Final]
        at org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:124)
        at org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:138)
        at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54)
[wildfly-ee-10.1.0.Final.jar:10.1.0.Final]
        ... 6 more
Caused by: javax.ejb.EJBException:
org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke
private void org.ovirt.engine.core.bll.tasks.AsyncTaskManager.init()
on org.ovirt.en
gine.core.bll.tasks.AsyncTaskManager@793a888f
        at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInNoTx(CMTTxInterceptor.java:213)



On Thu, Sep 14, 2017 at 5:55 PM, Martin Perina <mperina@redhat.com> wrote:
> Hi,
>
> we are aware of the issue and currently testing the fix [1]. This was not
> revealed in our local systems nor OST, because the issue is raised only when
> rows in vdc_options table are in specific order, you are now the 2nd system
> which was affected by this issue.
>
> Martin
>
> [1] https://gerrit.ovirt.org/81762
>
>
> On Thu, Sep 14, 2017 at 4:46 PM, Maor Lipchuk <mlipchuk@redhat.com> wrote:
>>
>> Hi all,
>>
>> I've fetched rebased my env and updated my DB and now I've encountered
>> an issue that I can't start my engine, I get the following error, see
>> [1].
>>
>> It seems that as part of the Backend startup we call DBConfigUtils.
>> and once the config value of DBI18NPrefix is being added, it is
>> dependent on DBEngine, and when trying to get the value of DBEngine it
>> looks like that this value was not initialized yet in the
>> _vdcOptionCache at DBConfigUtils and throws the error.
>> Is there something I'm missing?
>>
>> Regards,
>> Maor
>>
>>
>> [1]
>> 2017-09-14 16:30:49,024+03 ERROR [org.jboss.msc.service.fail]
>> (ServerService Thread Pool -- 53) MSC000001: Failed to start service
>> jboss.deployment.subunit."engine.ear"."bll.jar".component.B
>> ackend.START: org.jboss.msc.service.StartException in service
>> jboss.deployment.subunit."engine.ear"."bll.jar".component.Backend.START:
>> java.lang.IllegalStateException: WFLYEE0042: Failed to
>> construct component instance
>>         at
>> org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:57)
>> [wildfly-ee-10.1.0.Final.jar:10.1.0.Final]
>>         at
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>> [rt.jar:1.8.0_121]
>>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>> [rt.jar:1.8.0_121]
>>         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]
>>         at org.jboss.threads.JBossThread.run(JBossThread.java:320)
>> Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to
>> construct component instance
>>         at
>> org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:163)
>> [wildfly-ee-10.1.0.Final.jar:10.1.0.Final]
>>         at
>> org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:134)
>> [wildfly-ee-10.1.0.Final.jar:10.1.0.Final]
>>         at
>> org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:88)
>> [wildfly-ee-10.1.0.Final.jar:10.1.0.Final]
>>         at
>> org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:124)
>>         at
>> org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:138)
>>         at
>> org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54)
>> [wildfly-ee-10.1.0.Final.jar:10.1.0.Final]
>>         ... 6 more
>> Caused by: javax.ejb.EJBException: java.lang.IllegalArgumentException:
>> DBEngine has no value for version: general
>>         at
>> org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInNoTx(CMTTxInterceptor.java:213)
>>         at
>> org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:265)
>>         at
>> org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:374)
>>         at
>> org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(LifecycleCMTTxInterceptor.java:70)
>>         at
>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
>> [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
>>         at
>> org.jboss.as.weld.injection.WeldInjectionContextInterceptor.processInvocation(WeldInjectionContextInterceptor.java:43)
>>         at
>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
>> [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
>>         at
>> org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
>>         at
>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
>> [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
>>         at
>> org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
>> [wildfly-ee-10.1.0.Final.jar:10.1.0.Final]
>>         at
>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
>> [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
>>         at
>> org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
>> [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
>>         at
>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
>> [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
>>         at
>> org.jboss.as.ejb3.component.singleton.StartupCountDownInterceptor.processInvocation(StartupCountDownInterceptor.java:25)
>> _______________________________________________
>> Devel mailing list
>> Devel@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/devel
>
>