Passing from
ovirt-engine-3.2.0-1.20121217.git1e01c00.fc18.noarch

to
ovirt-engine-3.2.0-1.20121227.git00a873e.fc18.noarch

The engine doesn't start any more
I see this in server.log
2012-12-29 01:23:21,496 ERROR [org.jboss.msc.service.fail] (MSC service
thread 1-2) MSC000001: Failed to sta
rt service
jboss.deployment.subunit."engine.ear"."engine-bll.jar".component.InitBackendServicesOnStartupBean
.START: org.jboss.msc.service.StartException in service
jboss.deployment.subunit."engine.ear"."engine-bll.ja
r".component.InitBackendServicesOnStartupBean.START: Failed to start service
        at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767)
[jboss
-msc.jar:1.0.2.GA]
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.7.0_09-
icedtea]
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0_09-
icedtea]
        at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
Caused by: java.lang.IllegalStateException: JBAS011048: Failed to construct
component instance
        at
org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:163)
        at
org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:85)
        at
org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:116)
        at
org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:130)
        at
org.jboss.as.ee.component.ComponentStartService.start(ComponentStartService.java:44)
        at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:181
1) [jboss-msc.jar:1.0.2.GA]
        at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc.jar:1.0.2.GA]
        ... 3 more
Caused by: javax.ejb.EJBException:
org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback;
bad SQL grammar [select * from  getallfromvds(?, ?)]; nested exception is
org.postgresql.util.PSQLException: The column name cpu_threads was not
found in this ResultSet.

I presume it is this change about cpu_threads column addition in DB:
http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commitdiff;h=9a2e7bc6f6dc454d8a049ff22b0f86820b7d4da0

or something around it...

How can I update my db after updating my ovirt-engine rpm?
I see upgrade.sh in /usr/share/ovirt-engine/dbscripts, provided by the
ovirt-engine-dbscripts rpm but I don't know how to correctly use it...

Thanks.
Gianluca
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to